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

Public Member Functions

 TimeUserConfigParam (StkTime::TimeType default_value, const char *param_name, const char *comment=NULL)
 
 TimeUserConfigParam (StkTime::TimeType 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 ()
 
 operator StkTime::TimeType () const
 
StkTime::TimeType & operator= (const StkTime::TimeType &v)
 
StkTime::TimeType & operator= (const TimeUserConfigParam &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
 

Private Attributes

StkTime::TimeType m_value
 
StkTime::TimeType m_default_value
 

Additional Inherited Members

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

Implements UserConfigParam.

◆ findYourDataInAnAttributeOf()

void TimeUserConfigParam::findYourDataInAnAttributeOf ( const XMLNode node)
virtual

Implements UserConfigParam.

◆ toString()

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

Implements UserConfigParam.

◆ write()

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

Implements UserConfigParam.


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