SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
UserConfigParam Class Referenceabstract

The base of a set of small utilities to enable quickly adding/removing stuff to/from config painlessly. More...

#include <user_config.hpp>

Inheritance diagram for UserConfigParam:
Inheritance graph
[legend]

Public Member Functions

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 Attributes

bool m_can_be_deleted = true
 
std::string m_param_name
 
std::string m_comment
 

Friends

class GroupUserConfigParam
 

Detailed Description

The base of a set of small utilities to enable quickly adding/removing stuff to/from config painlessly.

Member Function Documentation

◆ writeInner()

void UserConfigParam::writeInner ( std::stringstream &  stream,
int  level = 0 
) const
virtual

Writes an inner node.

Parameters
streamthe xml writer.
leveldetermines indentation level.

Reimplemented in GroupUserConfigParam.


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