Class Key¶
Defined in File live_config.h
Class Documentation¶
-
class Key¶
Registration key for a configuration attribute. The key is essentially a tuple of identifiers.
Remark
Since MirAL 5.5
Public Functions
-
Key(std::initializer_list<std::string_view const> key)¶
To simplify mapping these identifiers to multiple configuration backends, each identifier within the key is non-empty, starts with [a..z], and contains only [a..z,0..9,_].
-
void with_key(std::function<void(std::vector<std::string> const &key)> const &f) const¶
Expose the key elements.
-
auto to_string() const -> std::string¶
The key represented as a “_” joined string.
-
Key(std::initializer_list<std::string_view const> key)¶