sandbox
Loading...
Searching...
No Matches
sbx::core::settings Class Reference

Classes

struct  group
 
struct  group_entry
 
struct  value_type
 

Public Types

using entry_type = std::variant< std::monostate, bool, std::uint32_t, std::int32_t, std::float_t, std::string >
 

Public Member Functions

template<setting_type Type>
auto set (const utility::hashed_string &key, const Type &value) -> void
 
template<setting_type Type>
auto set (const utility::hashed_string &key, const Type &value, const Type &min, const Type &max) -> void
 
template<setting_type Type>
auto get (const utility::hashed_string &key) const -> memory::observer_ptr< const Type >
 
template<typename Callable >
requires (std::is_invocable_v<Callable, const utility::hashed_string&, group&>)
auto for_each (Callable &&callable) -> void
 

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