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

Public Member Functions

 BoolUserConfigParam (bool default_value, const char *param_name, const char *comment=NULL)
 
 BoolUserConfigParam (bool 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 revertToDefaults ()
 
void setDefaultValue (bool v)
 
 operator bool () const
 
bool & operator= (const bool &v)
 
bool & operator= (const BoolUserConfigParam &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

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

Protected Attributes

bool m_value
 
bool 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 BoolUserConfigParam::findYourDataInAChildOf ( const XMLNode node)
virtual

Implements UserConfigParam.

◆ findYourDataInAnAttributeOf()

void BoolUserConfigParam::findYourDataInAnAttributeOf ( const XMLNode node)
virtual

Implements UserConfigParam.

◆ toString()

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

Implements UserConfigParam.

◆ write()

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

Implements UserConfigParam.


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