|
Tramway SDK v0.1.1
|
Application setting management and CLI command parser. More...
Classes | |
| struct | Property |
| struct | RawSetting |
| struct | SettingInfo |
Enumerations | |
| enum | : uint32_t { USER = 1 , APPLICATION = 2 , MENU = 4 , NONE = 0 } |
Functions | |
| void | SetFromRaw (SettingInfo &info) |
| void | SetAndStore (SettingInfo info) |
| void | Register (bool &value, const char *name, uint32_t flags) |
| void | Register (float &value, const char *name, uint32_t flags) |
| void | Register (int32_t &value, const char *name, uint32_t flags) |
| void | Register (uint32_t &value, const char *name, uint32_t flags) |
| Value | Get (name_t name) |
| void | Set (name_t name, Value value) |
| void | Parse (const char **argv, int argc) |
| uint32_t | Flags (name_t name) |
| std::vector< name_t > | GetSettings (uint32_t filter) |
| void | Save (const char *file) |
| void | Load (const char *file) |
Variables | |
| const int | SETTING_LIMIT = 200 |
Application setting management and CLI command parser.
| uint32_t tram::Settings::Flags | ( | name_t | name | ) |
| std::vector< name_t > tram::Settings::GetSettings | ( | uint32_t | filter | ) |
| void tram::Settings::Load | ( | const char * | file | ) |
| void tram::Settings::Parse | ( | const char ** | argv, |
| int | argc | ||
| ) |
| void tram::Settings::Register | ( | bool & | value, |
| const char * | name, | ||
| uint32_t | flags | ||
| ) |
| void tram::Settings::Register | ( | float & | value, |
| const char * | name, | ||
| uint32_t | flags | ||
| ) |
| void tram::Settings::Register | ( | int32_t & | value, |
| const char * | name, | ||
| uint32_t | flags | ||
| ) |
| void tram::Settings::Register | ( | uint32_t & | value, |
| const char * | name, | ||
| uint32_t | flags | ||
| ) |
| void tram::Settings::Save | ( | const char * | file | ) |
| void tram::Settings::SetAndStore | ( | SettingInfo | info | ) |
| void tram::Settings::SetFromRaw | ( | SettingInfo & | info | ) |
| const int tram::Settings::SETTING_LIMIT = 200 |