jade-engine  0.0
JadeEngine::SettingEntry Class Reference

Public Member Functions

SettingID GetID () const
 
template<auto ScopedEnumValue>
void SetValueTyped (const TypedSetting_t< ScopedEnumValue > &value)
 
template<auto ScopedEnumValue>
TypedSetting_t< ScopedEnumValue > GetValueTyped () const
 
template<typename T >
GetValue () const
 
template<typename T >
void SetValue (const T &value)
 
void SetValue (const json &value)
 
const std::string & GetName () const
 
const std::string & GetObjectName () const
 
bool HasObject () const
 
void Write (json &settingsRoot) const
 

Static Public Member Functions

template<auto ScopedEnumValue>
static SettingEntry CreateTyped (const TypedSetting_t< ScopedEnumValue > &defaultValue, const std::string &entryName, const std::string &entryObjectName="")
 
template<typename T >
static SettingEntry Create (const SettingID &id, const T &defaultValue, const std::string &entryName, const std::string &entryObjectName="")
 

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