|
ReXGlue SDK
|
#include <rex/setting.h>
Public Member Functions | |
| SettingOwner (std::string_view scope) | |
| virtual | ~SettingOwner () |
| const std::string & | GetScope () const |
| std::span< SettingBase *const > | GetOwnedSettings () const |
Friends | |
| class | SettingBase |
| class | ConsoleCommand |
| class | SettingsRegistry |
Additional Inherited Members | |
| Protected Member Functions inherited from rex::NonCopyable | |
| NonCopyable (const NonCopyable &)=delete | |
| NonCopyable & | operator= (const NonCopyable &)=delete |
A class whose members include settings. Its scope prefixes every member name.
|
explicit |
| scope | The scope, such as "apu" or "gpu.xenos". |
|
virtual |
Removes the owner and its settings from the registry.
| std::span< SettingBase *const > rex::SettingOwner::GetOwnedSettings | ( | ) | const |
Returns the settings declared in this owner, in declaration order.