|
MAIA bb96820c
Multiphysics at AIA
|
#include <cpptoml.h>
Public Member Functions | |
| virtual | ~base ()=default |
| virtual std::shared_ptr< base > | clone () const =0 |
| virtual MBool | is_value () const |
| virtual MBool | is_table () const |
| std::shared_ptr< table > | as_table () |
| virtual MBool | is_array () const |
| std::shared_ptr< array > | as_array () |
| virtual MBool | is_table_array () const |
| std::shared_ptr< table_array > | as_table_array () |
| template<class T > | |
| std::shared_ptr< value< T > > | as () |
| template<class T > | |
| std::shared_ptr< const value< T > > | as () const |
| template<class Visitor , class... Args> | |
| void | accept (Visitor &&visitor, Args &&... args) const |
| base_type | type () const |
| template<> | |
| std::shared_ptr< value< double > > | as () |
| template<> | |
| std::shared_ptr< const value< double > > | as () const |
Protected Member Functions | |
| base (const base_type t) | |
| base () | |
Private Attributes | |
| const base_type | type_ = base_type::NONE |
|
virtualdefault |
|
inlineexplicitprotected |
|
inlineprotected |
| void cpptoml::base::accept | ( | Visitor && | visitor, |
| Args &&... | args | ||
| ) | const |
base implementation of accept() that calls visitor.visit() on the concrete class.
Definition at line 2543 of file cpptoml.h.
|
inline |
Attempts to coerce the TOML element into a concrete TOML value of type T.
Definition at line 595 of file cpptoml.h.
|
inline |
Definition at line 609 of file cpptoml.h.
|
inline |
|
inline |
Definition at line 642 of file cpptoml.h.
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in cpptoml::value< T >, cpptoml::array, cpptoml::table_array, and cpptoml::table.
|
inlinevirtual |
Determines if the TOML element is an array of "leaf" elements.
Reimplemented in cpptoml::array.
Definition at line 479 of file cpptoml.h.
|
inlinevirtual |
Determines if the given TOML element is a table.
Reimplemented in cpptoml::table.
Definition at line 467 of file cpptoml.h.
|
inlinevirtual |
Determines if the given TOML element is an array of tables.
Reimplemented in cpptoml::table_array.
Definition at line 492 of file cpptoml.h.
|
inlinevirtual |
Determines if the given TOML element is a value.
Reimplemented in cpptoml::value< T >.
Definition at line 462 of file cpptoml.h.
|
inline |
|
private |