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

Public Member Functions

 StringUserConfigParam (const char *default_value, const char *param_name, const char *comment)
 
 StringUserConfigParam (const char *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)
 
void revertToDefaults ()
 
std::string getDefaultValue () const
 
irr::core::stringc toString () const
 
 operator std::string () const
 
std::string & operator= (const std::string &v)
 
std::string & operator= (const StringUserConfigParam &v)
 
const char * c_str () const
 
- 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

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

Protected Attributes

std::string m_value
 
std::string 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 StringUserConfigParam::findYourDataInAChildOf ( const XMLNode node)
virtual

Implements UserConfigParam.

◆ findYourDataInAnAttributeOf()

void StringUserConfigParam::findYourDataInAnAttributeOf ( const XMLNode node)
virtual

Implements UserConfigParam.

◆ toString()

irr::core::stringc StringUserConfigParam::toString ( ) const
inlinevirtual

Implements UserConfigParam.

◆ write()

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

Implements UserConfigParam.


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