SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IntUserConfigParam Class Reference
Inheritance diagram for IntUserConfigParam:
Inheritance graph
[legend]

Public Member Functions

 IntUserConfigParam (int default_value, const char *param_name, const char *comment=NULL)
 
 IntUserConfigParam (int default_value, const char *param_name, GroupUserConfigParam *group, const char *comment=NULL)
 
void write (std::stringstream &stream) const
 
void findYourDataInAChildOf (const XMLNode *node)
 
void findYourDataInAnAttributeOf (const XMLNode *node)
 
irr::core::stringc toString () const
 
void setDefaultValue (int v)
 
void revertToDefaults ()
 
int getDefaultValue ()
 
 operator int () const
 
int & operator++ (int dummy)
 
int & operator= (const int &v)
 
int & operator= (const IntUserConfigParam &v)
 
- Public Member Functions inherited from UserConfigParam
virtual void write (std::stringstream &stream) const =0
 
virtual void writeInner (std::stringstream &stream, int level=0) const
 Writes an inner node.
 
virtual void findYourDataInAChildOf (const XMLNode *node)=0
 
virtual void findYourDataInAnAttributeOf (const XMLNode *node)=0
 
virtual irr::core::stringc toString () const =0
 

Protected Member Functions

 IntUserConfigParam (const char *param_name, const char *comment)
 

Protected Attributes

int m_value
 
int m_default_value
 
- Protected Attributes inherited from UserConfigParam
bool m_can_be_deleted = true
 
std::string m_param_name
 
std::string m_comment
 

Member Function Documentation

◆ findYourDataInAChildOf()

void IntUserConfigParam::findYourDataInAChildOf ( const XMLNode node)
virtual

Implements UserConfigParam.

◆ findYourDataInAnAttributeOf()

void IntUserConfigParam::findYourDataInAnAttributeOf ( const XMLNode node)
virtual

Implements UserConfigParam.

◆ toString()

irr::core::stringc IntUserConfigParam::toString ( ) const
virtual

Implements UserConfigParam.

◆ write()

void IntUserConfigParam::write ( std::stringstream &  stream) const
virtual

Implements UserConfigParam.


The documentation for this class was generated from the following files: