Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
IPreference Class Referenceabstract
Inheritance diagram for IPreference:
Inheritance graph
[legend]

Public Member Functions

 IPreference (const std::string &sName)
 
void ReadFrom (const XNode *pNode, bool bIsStatic)
 
void WriteTo (XNode *pNode) const
 
void ReadDefaultFrom (const XNode *pNode)
 
virtual void LoadDefault ()=0
 
virtual void SetDefaultFromString (const std::string &s)=0
 
virtual auto ToString () const -> std::string=0
 
virtual void FromString (const std::string &s)=0
 
virtual void SetFromStack (lua_State *L)
 
virtual void PushValue (lua_State *L) const
 
auto GetName () const -> const std::string &
 
auto GetName () -> std::string
 
void SetStatic (bool b)
 

Static Public Member Functions

static auto GetPreferenceByName (const std::string &sName) -> IPreference *
 
static void LoadAllDefaults ()
 
static void ReadAllPrefsFromNode (const XNode *pNode, bool bIsStatic)
 
static void SavePrefsToNode (XNode *pNode)
 
static void ReadAllDefaultsFromNode (const XNode *pNode)
 

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