|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <toml.hpp>
Public Types | |
| using | iterator = toml::table_iterator |
| using | const_iterator = toml::const_table_iterator |
| using | raw_value_type = impl::remove_cvref<ValueType> |
| using | value_type |
| using | unwrapped_type = impl::remove_cvref<impl::unwrap_node<value_type>> |
Public Member Functions | |
| TOML_NODISCARD_CTOR TOML_EXPORTED_MEMBER_FUNCTION | table () noexcept |
| TOML_EXPORTED_MEMBER_FUNCTION | ~table () noexcept |
| TOML_NODISCARD_CTOR TOML_EXPORTED_MEMBER_FUNCTION | table (const table &) |
| TOML_NODISCARD_CTOR TOML_EXPORTED_MEMBER_FUNCTION | table (table &&other) noexcept |
| TOML_NODISCARD_CTOR TOML_EXPORTED_MEMBER_FUNCTION | table (std::initializer_list< impl::table_init_pair > kvps) |
| TOML_EXPORTED_MEMBER_FUNCTION table & | operator= (const table &) |
| TOML_EXPORTED_MEMBER_FUNCTION table & | operator= (table &&rhs) noexcept |
| TOML_CONST_INLINE_GETTER node_type | type () const noexcept final |
| TOML_PURE_GETTER TOML_EXPORTED_MEMBER_FUNCTION bool | is_homogeneous (node_type ntype) const noexcept final |
| TOML_PURE_GETTER TOML_EXPORTED_MEMBER_FUNCTION bool | is_homogeneous (node_type ntype, node *&first_nonmatch) noexcept final |
| TOML_PURE_GETTER TOML_EXPORTED_MEMBER_FUNCTION bool | is_homogeneous (node_type ntype, const node *&first_nonmatch) const noexcept final |
| template<typename ElemType = void> | |
| TOML_PURE_GETTER bool | is_homogeneous () const noexcept |
| TOML_CONST_INLINE_GETTER bool | is_table () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_array () const noexcept final |
| TOML_PURE_GETTER bool | is_array_of_tables () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_value () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_string () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_integer () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_floating_point () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_number () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_boolean () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_date () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_time () const noexcept final |
| TOML_CONST_INLINE_GETTER bool | is_date_time () const noexcept final |
| TOML_CONST_INLINE_GETTER table * | as_table () noexcept final |
| TOML_CONST_INLINE_GETTER array * | as_array () noexcept final |
| TOML_CONST_INLINE_GETTER toml::value< std::string > * | as_string () noexcept final |
| TOML_CONST_INLINE_GETTER toml::value< int64_t > * | as_integer () noexcept final |
| TOML_CONST_INLINE_GETTER toml::value< double > * | as_floating_point () noexcept final |
| TOML_CONST_INLINE_GETTER toml::value< bool > * | as_boolean () noexcept final |
| TOML_CONST_INLINE_GETTER toml::value< date > * | as_date () noexcept final |
| TOML_CONST_INLINE_GETTER toml::value< time > * | as_time () noexcept final |
| TOML_CONST_INLINE_GETTER toml::value< date_time > * | as_date_time () noexcept final |
| TOML_CONST_INLINE_GETTER const table * | as_table () const noexcept final |
| TOML_CONST_INLINE_GETTER const array * | as_array () const noexcept final |
| TOML_CONST_INLINE_GETTER const toml::value< std::string > * | as_string () const noexcept final |
| TOML_CONST_INLINE_GETTER const toml::value< int64_t > * | as_integer () const noexcept final |
| TOML_CONST_INLINE_GETTER const toml::value< double > * | as_floating_point () const noexcept final |
| TOML_CONST_INLINE_GETTER const toml::value< bool > * | as_boolean () const noexcept final |
| TOML_CONST_INLINE_GETTER const toml::value< date > * | as_date () const noexcept final |
| TOML_CONST_INLINE_GETTER const toml::value< time > * | as_time () const noexcept final |
| TOML_CONST_INLINE_GETTER const toml::value< date_time > * | as_date_time () const noexcept final |
| TOML_PURE_INLINE_GETTER bool | is_inline () const noexcept |
| void | is_inline (bool val) noexcept |
| TOML_PURE_GETTER TOML_EXPORTED_MEMBER_FUNCTION node * | get (std::string_view key) noexcept |
| TOML_PURE_INLINE_GETTER const node * | get (std::string_view key) const noexcept |
| template<typename T> | |
| TOML_PURE_GETTER impl::wrap_node< T > * | get_as (std::string_view key) noexcept |
| template<typename T> | |
| TOML_PURE_GETTER const impl::wrap_node< T > * | get_as (std::string_view key) const noexcept |
| TOML_NODISCARD TOML_EXPORTED_MEMBER_FUNCTION node & | at (std::string_view key) |
| TOML_NODISCARD const node & | at (std::string_view key) const |
| TOML_PURE_INLINE_GETTER iterator | begin () noexcept |
| TOML_PURE_INLINE_GETTER const_iterator | begin () const noexcept |
| TOML_PURE_INLINE_GETTER const_iterator | cbegin () const noexcept |
| TOML_PURE_INLINE_GETTER iterator | end () noexcept |
| TOML_PURE_INLINE_GETTER const_iterator | end () const noexcept |
| TOML_PURE_INLINE_GETTER const_iterator | cend () const noexcept |
| template<typename Func> | |
| table & | for_each (Func &&visitor) &noexcept(for_each_is_nothrow< Func &&, table & >::value) |
| template<typename Func> | |
| table && | for_each (Func &&visitor) &&noexcept(for_each_is_nothrow< Func &&, table && >::value) |
| template<typename Func> | |
| const table & | for_each (Func &&visitor) const &noexcept(for_each_is_nothrow< Func &&, const table & >::value) |
| template<typename Func> | |
| const table && | for_each (Func &&visitor) const &&noexcept(for_each_is_nothrow< Func &&, const table && >::value) |
| TOML_PURE_INLINE_GETTER bool | empty () const noexcept |
| TOML_PURE_INLINE_GETTER size_t | size () const noexcept |
| TOML_PURE_GETTER iterator | lower_bound (std::string_view key) noexcept |
| TOML_PURE_GETTER const_iterator | lower_bound (std::string_view key) const noexcept |
| TOML_PURE_GETTER TOML_EXPORTED_MEMBER_FUNCTION iterator | find (std::string_view key) noexcept |
| TOML_PURE_GETTER TOML_EXPORTED_MEMBER_FUNCTION const_iterator | find (std::string_view key) const noexcept |
| TOML_PURE_GETTER bool | contains (std::string_view key) const noexcept |
| iterator | erase (iterator pos) noexcept |
| iterator | erase (const_iterator pos) noexcept |
| iterator | erase (const_iterator begin, const_iterator end) noexcept |
| TOML_EXPORTED_MEMBER_FUNCTION size_t | erase (std::string_view key) noexcept |
| TOML_EXPORTED_MEMBER_FUNCTION table & | prune (bool recursive=true) &noexcept |
| table && | prune (bool recursive=true) &&noexcept |
| TOML_EXPORTED_MEMBER_FUNCTION void | clear () noexcept |
| TOML_CONSTRAINED_TEMPLATE ((is_key_or_convertible< KeyType && >||impl::is_wide_string< KeyType >), typename ValueType=void, typename KeyType, typename... ValueArgs) iterator emplace_hint(const_iterator hint | |
| if | constexpr (impl::is_wide_string< KeyType >) |
| if (!ipos->second) | |
| TOML_CONSTRAINED_TEMPLATE ((is_key_or_convertible< KeyType && >||impl::is_wide_string< KeyType >), typename KeyType, typename ValueType) std | |
| void | insert (Iter begin, Iter end, value_flags flags=preserve_source_value_flags) |
| TOML_CONSTRAINED_TEMPLATE ((is_key_or_convertible< KeyType && >||impl::is_wide_string< KeyType >), typename KeyType, typename ValueType) std | |
| TOML_CONSTRAINED_TEMPLATE ((is_key_or_convertible< KeyType && >||impl::is_wide_string< KeyType >), typename ValueType=void, typename KeyType, typename... ValueArgs) std | |
| TOML_NODISCARD node_view< node > | operator[] (std::string_view key) noexcept |
| TOML_NODISCARD node_view< const node > | operator[] (std::string_view key) const noexcept |
Public Attributes | |
| KeyType && | key |
| KeyType ValueArgs && | args |
| else | |
| map_iterator | ipos = insert_with_hint(hint, toml::key{ static_cast<KeyType&&>(key) }, nullptr) |
| return | iterator { ipos } |
Private Types | |
| using | map_type = std::map<toml::key, impl::node_ptr, std::less<>> |
| using | map_pair = std::pair<const toml::key, impl::node_ptr> |
| using | map_iterator = typename map_type::iterator |
| using | const_map_iterator = typename map_type::const_iterator |
| template<typename T, typename Table> | |
| using | for_each_value_ref = impl::copy_cvref<impl::wrap_node<impl::remove_cvref<impl::unwrap_node<T>>>, Table> |
| template<typename Func, typename Table, typename T> | |
| using | can_for_each |
| template<typename Func, typename Table, typename T> | |
| using | can_for_each_nothrow |
| template<typename Func, typename Table> | |
| using | can_for_each_any |
| template<typename Func, typename Table, typename T> | |
| using | for_each_is_nothrow_one |
| template<typename Func, typename Table> | |
| using | for_each_is_nothrow |
Private Member Functions | |
| TOML_NODISCARD_CTOR TOML_EXPORTED_MEMBER_FUNCTION | table (const impl::table_init_pair *, const impl::table_init_pair *) |
| TOML_PURE_GETTER TOML_EXPORTED_MEMBER_FUNCTION map_iterator | get_lower_bound (std::string_view) noexcept |
| TOML_EXPORTED_MEMBER_FUNCTION map_iterator | erase (const_map_iterator) noexcept |
| TOML_EXPORTED_MEMBER_FUNCTION map_iterator | erase (const_map_iterator, const_map_iterator) noexcept |
| TOML_EXPORTED_MEMBER_FUNCTION map_iterator | insert_with_hint (const_iterator, key &&, impl::node_ptr &&) |
Static Private Member Functions | |
| template<typename Func, typename Table> | |
| static void | do_for_each (Func &&visitor, Table &&tbl) noexcept(for_each_is_nothrow< Func &&, Table && >::value) |
| TOML_PURE_GETTER static TOML_EXPORTED_STATIC_FUNCTION bool TOML_CALLCONV | equal (const table &, const table &) noexcept |
Private Attributes | |
| map_type | map_ |
| bool | inline_ = false |
Friends | |
| TOML_NODISCARD friend bool | operator== (const table &lhs, const table &rhs) noexcept |
| TOML_NODISCARD friend bool | operator!= (const table &lhs, const table &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &lhs, const table &rhs) |
|
private |
|
private |
|
private |
| using table::const_iterator = toml::const_table_iterator |
|
private |
|
private |
|
private |
|
private |
| using table::iterator = toml::table_iterator |
|
private |
|
private |
|
private |
| using table::raw_value_type = impl::remove_cvref<ValueType> |
| using table::unwrapped_type = impl::remove_cvref<impl::unwrap_node<value_type>> |
| using table::value_type |
|
private |
References TOML_EXPORTED_MEMBER_FUNCTION, and TOML_NODISCARD_CTOR.
Referenced by as_table(), as_table(), at(), equal(), for_each(), for_each(), for_each(), for_each(), get(), get_as(), lower_bound(), operator!=, operator<<, operator=(), operator=(), operator==, prune(), prune(), table(), table(), table(), and ~table().
|
noexcept |
References TOML_EXPORTED_MEMBER_FUNCTION.
|
noexcept |
References table(), TOML_EXPORTED_MEMBER_FUNCTION, and TOML_NODISCARD_CTOR.
| TOML_NODISCARD_CTOR TOML_EXPORTED_MEMBER_FUNCTION table::table | ( | const table & | ) |
References table(), TOML_EXPORTED_MEMBER_FUNCTION, and TOML_NODISCARD_CTOR.
|
noexcept |
References table(), TOML_EXPORTED_MEMBER_FUNCTION, and TOML_NODISCARD_CTOR.
|
inlineexplicit |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
| TOML_NODISCARD TOML_EXPORTED_MEMBER_FUNCTION node & table::at | ( | std::string_view | key | ) |
References key, and TOML_NODISCARD.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
References TOML_EXPORTED_MEMBER_FUNCTION.
|
inlineconstexpr |
|
inlinenoexcept |
Definition at line 8266 of file toml.hpp.
Referenced by test_engine::test_leaving_the_table_is_reported_not_absorbed().
|
inlinestaticprivatenoexcept |
Definition at line 8068 of file toml.hpp.
References key, TOML_SA_NODE_TYPE_LIST, and value().
Referenced by for_each(), for_each(), for_each(), and for_each().
|
inlinenoexcept |
Definition at line 8204 of file toml.hpp.
References map_.
Referenced by erase(), and fsw::script::anonymous_namespace{Validate.cpp}::suffixFor().
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 8004 of file toml.hpp.
References map_.
Referenced by fsw::script::anonymous_namespace{ScriptConfig.cpp}::addName(), erase(), insert(), parser::parse_document(), parser::parse_key_value_pair_and_insert(), and table().
|
staticprivatenoexcept |
References table(), TOML_CALLCONV, and TOML_NODISCARD.
Referenced by operator!=, and operator==.
|
inlinenoexcept |
|
inlinenoexcept |
|
privatenoexcept |
References TOML_EXPORTED_MEMBER_FUNCTION.
|
privatenoexcept |
|
noexcept |
|
noexcept |
References key, and TOML_PURE_GETTER.
|
noexcept |
References key, TOML_EXPORTED_MEMBER_FUNCTION, and TOML_PURE_GETTER.
Referenced by fsw::script::anonymous_namespace{ScriptConfig.cpp}::addName().
|
inlinenoexcept |
Definition at line 8180 of file toml.hpp.
References do_for_each(), and table().
|
inlinenoexcept |
Definition at line 8172 of file toml.hpp.
References do_for_each(), and table().
|
inlinenoexcept |
Definition at line 8196 of file toml.hpp.
References do_for_each(), and table().
|
inlinenoexcept |
Definition at line 8188 of file toml.hpp.
References do_for_each(), and table().
|
inlinenoexcept |
|
noexcept |
References key, and TOML_PURE_INLINE_GETTER.
Referenced by contains(), get_as(), operator[](), and operator[]().
|
inlinenoexcept |
|
inlinenoexcept |
|
privatenoexcept |
References TOML_PURE_GETTER.
Referenced by lower_bound(), TOML_CONSTRAINED_TEMPLATE(), and TOML_CONSTRAINED_TEMPLATE().
|
inline |
|
inline |
Definition at line 8462 of file toml.hpp.
References begin(), end(), insert(), insert(), preserve_source_value_flags, and value_flags::value_flags.
Referenced by insert().
|
private |
References insert_with_hint(), and key.
Referenced by insert_with_hint(), TOML_CONSTRAINED_TEMPLATE(), and TOML_CONSTRAINED_TEMPLATE().
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinenoexcept |
Definition at line 7690 of file toml.hpp.
References is_homogeneous(), TOML_SA_UNWRAPPED_NODE_TYPE_LIST, and type().
|
finalnoexcept |
References TOML_EXPORTED_MEMBER_FUNCTION, and TOML_PURE_GETTER.
Referenced by is_homogeneous().
|
finalnoexcept |
References TOML_PURE_GETTER.
|
finalnoexcept |
References TOML_EXPORTED_MEMBER_FUNCTION, and TOML_PURE_GETTER.
|
inlinenoexcept |
Definition at line 7880 of file toml.hpp.
References inline_.
Referenced by parser::parse_inline_table().
|
inlinenoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinefinalnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 8224 of file toml.hpp.
References get_lower_bound(), and key.
Referenced by parser::parse_key_value_pair_and_insert().
| TOML_EXPORTED_MEMBER_FUNCTION table & table::operator= | ( | const table & | ) |
References table(), and TOML_EXPORTED_MEMBER_FUNCTION.
|
noexcept |
References rhs, table(), and TOML_CONST_INLINE_GETTER.
|
inlinenoexcept |
Definition at line 8574 of file toml.hpp.
References get(), key, and node_view().
|
inlinenoexcept |
Definition at line 8568 of file toml.hpp.
References get(), key, and node_view().
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inline |
Definition at line 8475 of file toml.hpp.
References end(), get_lower_bound(), insert_with_hint(), ipos, is_key_or_convertible, is_node_view, key, map_, preserve_source_value_flags, TOML_ENABLE_WINDOWS_COMPAT, and value_flags::value_flags.
|
inline |
Definition at line 8421 of file toml.hpp.
References end(), get_lower_bound(), insert(), insert_with_hint(), ipos, is_key_or_convertible, is_node_view, key, map_, preserve_source_value_flags, TOML_ENABLE_WINDOWS_COMPAT, and value_flags::value_flags.
| table::TOML_CONSTRAINED_TEMPLATE | ( | (is_key_or_convertible< KeyType && >||impl::is_wide_string< KeyType >) | , |
| typename ValueType | = void, | ||
| typename KeyType | , | ||
| typename... | ValueArgs ) |
References is_key_or_convertible, is_wide_string, and TOML_CONSTRAINED_TEMPLATE().
Referenced by TOML_CONSTRAINED_TEMPLATE().
|
inline |
Definition at line 8521 of file toml.hpp.
References args, emplace(), get_lower_bound(), insert_with_hint(), ipos, is_key_or_convertible, key, map_, TOML_ENABLE_WINDOWS_COMPAT, and TOML_SA_UNWRAPPED_NODE_TYPE_LIST.
|
inlinefinalnoexcept |
Definition at line 7671 of file toml.hpp.
Referenced by feedtwin.pid.document.PidNode::is_annotation(), is_homogeneous(), feedtwin.pid.document.PidNode::is_inline(), feedtwin.pid.document.PidNode::is_instrument(), feedtwin.pid.document.PidNode::is_source(), and feedtwin.model.catalog.Part::to_dict().
|
friend |
|
friend |
|
friend |
| KeyType ValueArgs&& table::args |
Definition at line 8358 of file toml.hpp.
Referenced by constexpr(), if(), and TOML_CONSTRAINED_TEMPLATE().
| table::else |
|
private |
Definition at line 7635 of file toml.hpp.
Referenced by is_inline(), and is_inline().
| map_iterator table::ipos = insert_with_hint(hint, toml::key{ static_cast<KeyType&&>(key) }, nullptr) |
Definition at line 8391 of file toml.hpp.
Referenced by if(), TOML_CONSTRAINED_TEMPLATE(), and TOML_CONSTRAINED_TEMPLATE().
| return table::iterator { ipos } |
| KeyType&& table::key |
Definition at line 8358 of file toml.hpp.
Referenced by at(), at(), constexpr(), contains(), do_for_each(), erase(), find(), find(), get(), get(), get_as(), get_as(), insert_with_hint(), lower_bound(), lower_bound(), operator[](), operator[](), TOML_CONSTRAINED_TEMPLATE(), and TOML_CONSTRAINED_TEMPLATE().
|
private |