MAIA bb96820c
Multiphysics at AIA
|
#include <cpptoml.h>
Classes | |
struct | make_shared_enabler |
Public Member Functions | |
std::shared_ptr< base > | clone () const override |
value (const make_shared_enabler &, const T &val) | |
MBool | is_value () const override |
T & | get () |
const T & | get () const |
value (const value &val)=delete | |
value & | operator= (const value &val)=delete |
Public Member Functions inherited from cpptoml::base | |
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 |
Private Member Functions | |
value (const T &val) | |
value (const T &val) | |
Private Attributes | |
T | data_ |
Friends | |
template<class U > | |
std::shared_ptr< typename value_traits< U >::type > | cpptoml::make_value (U &&val) |
Additional Inherited Members | |
Protected Member Functions inherited from cpptoml::base | |
base (const base_type t) | |
base () | |
A concrete TOML value representing the "leaves" of the "tree".
|
inline |
|
inlineexplicitprivate |
|
inlineexplicitprivate |
|
delete |
|
overridevirtual |
Implements cpptoml::base.
Definition at line 1433 of file cpptoml.h.
|
inline |
|
inline |
|
inlineoverridevirtual |
Determines if the given TOML element is a value.
Reimplemented from cpptoml::base.
Definition at line 558 of file cpptoml.h.
|
delete |
|
friend |
|
private |