|
ORE Studio 0.0.4
|
Domain types for system variability. More...
Classes | |
| struct | system_setting |
| Represents a typed system setting in the domain layer. More... | |
| struct | system_setting_definition |
| Metadata for a well-known system setting. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &s, const system_setting &v) |
| Dumps a system_setting object to a stream in JSON format. | |
| std::string | convert_to_table (const std::vector< system_setting > &v) |
| Converts system settings to ASCII table format. | |
| std::ostream & | operator<< (std::ostream &s, const std::vector< system_setting > &v) |
| Dumps system settings to a stream in table format. | |
| const system_setting_definition & | get_setting_definition (std::string_view name) |
| Looks up a setting definition by name. | |
| std::string_view | get_setting_default (std::string_view name) |
| Returns the default value for a registered setting name. | |
| std::string | convert_to_json (const system_setting &v) |
| Converts a system_setting to a JSON string. | |
| std::string | convert_to_json (const std::vector< system_setting > &v) |
Variables | |
| constexpr std::array | system_setting_definitions |
| Compile-time registry of all well-known system settings. | |
Domain types for system variability.
Contains core system settings types with JSON I/O support.
| const system_setting_definition & get_setting_definition | ( | std::string_view | name | ) |
Looks up a setting definition by name.
| std::out_of_range | if name is not registered. |

| std::string_view get_setting_default | ( | std::string_view | name | ) |
Returns the default value for a registered setting name.
| std::out_of_range | if name is not registered. |

|
constexpr |
Compile-time registry of all well-known system settings.
Modules add their settings here. JWT-related settings are added in the JWT token refresh plan PR.