|
ReXGlue SDK
|
Typed settings and the owners that declare them. More...
#include <atomic>#include <filesystem>#include <memory>#include <mutex>#include <optional>#include <span>#include <string>#include <string_view>#include <type_traits>#include <utility>#include <vector>#include <rex/module.h>#include <rex/platform.h>#include <rex/result.h>#include <rex/types.h>#include <rex/utility.h>Go to the source code of this file.
Classes | |
| struct | rex::SettingConstraints |
| struct | rex::Range |
| struct | rex::Allowed |
| struct | rex::NoSave |
| struct | rex::DebugOnly |
| struct | rex::KeyChordTrait |
| class | rex::SettingBase |
| class | rex::Setting< T > |
| class | rex::SettingOwner |
Namespaces | |
| namespace | rex |
Macros | |
| #define | REX_SETTING(Type, name, default_value, help, ...) |
Enumerations | |
| enum class | rex::SettingType : u8 { kBool , kI32 , kI64 , kU32 , kU64 , kF64 , kString , rex::kPath } |
| enum class | rex::SettingLayer : u8 { kDefault , rex::kTitle , rex::kFile , rex::kEnvironment , rex::kCommandLine , rex::kRuntime , rex::kLock } |
| enum class | rex::SettingLife : u8 { rex::kLive , rex::kRestart , rex::kStartupOnly , kUntilLaunch } |
Variables | |
| constexpr SettingLife | rex::kRestart = SettingLife::kRestart |
| constexpr SettingLife | rex::kStartupOnly = SettingLife::kStartupOnly |
| constexpr SettingLife | rex::kUntilLaunch = SettingLife::kUntilLaunch |
| constexpr struct rex::NoSave | rex::kNoSave |
| constexpr struct rex::DebugOnly | rex::kDebugOnly |
| constexpr struct rex::KeyChordTrait | rex::kKeyChord |
Typed settings and the owners that declare them.
| #define REX_SETTING | ( | Type, | |
| name, | |||
| default_value, | |||
| help, | |||
| ... ) |
Declares a setting inside a SettingOwner.
| name | The member name. The full name is the owner's scope plus this. |
| default_value | A path default may name other paths as {scope.name}. |
| ... | Optional traits such as Range, Allowed, kRestart, kStartupOnly and kUntilLaunch. |