Public Types | |
using | DictType = utils::impl::TransparentMap< std::string, ValueType > |
using | const_iterator = typename DictType::const_iterator |
using | iterator = const_iterator |
using | value_type = typename DictType::value_type |
using | key_type = std::string |
using | mapped_type = ValueType |
Public Member Functions | |
ValueDict (std::initializer_list< value_type > contents) | |
ValueDict (DictType dict) | |
ValueDict (std::string name, DictType dict) | |
ValueDict (std::string name, const DocsMap &docs_map) | |
bool | HasDefaultValue () const |
bool | HasValue (std::string_view key) const |
const ValueType & | GetDefaultValue () const |
const ValueType & | operator[] (std::string_view key) const |
template<typename StringType > | |
const ValueType & | operator[] (const std::optional< StringType > &key) const |
const ValueType & | Get (std::string_view key) const |
template<typename StringType > | |
const ValueType & | Get (const std::optional< StringType > &key) const |
std::optional< ValueType > | GetOptional (std::string_view key) const |
void | SetDefault (ValueType value) |
template<typename StringType > | |
void | Set (StringType &&key, ValueType value) |
auto | begin () const |
auto | end () const |
const std::string & | GetName () const |
bool | operator== (const ValueDict &r) const |
bool | operator!= (const ValueDict &r) const |
using dynamic_config::ValueDict< ValueType >::const_iterator = typename DictType::const_iterator |
using dynamic_config::ValueDict< ValueType >::DictType = utils::impl::TransparentMap<std::string, ValueType> |
using dynamic_config::ValueDict< ValueType >::iterator = const_iterator |
using dynamic_config::ValueDict< ValueType >::key_type = std::string |
using dynamic_config::ValueDict< ValueType >::mapped_type = ValueType |
using dynamic_config::ValueDict< ValueType >::value_type = typename DictType::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |