GRASP rci-qed
|
#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) | |
bool | is_value () const override |
T & | get () |
const T & | get () const |
![]() | |
virtual | ~base ()=default |
virtual bool | is_table () const |
std::shared_ptr< table > | as_table () |
virtual bool | is_array () const |
std::shared_ptr< array > | as_array () |
virtual bool | 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 |
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 value &val)=delete | |
value & | operator= (const value &val)=delete |
Private Attributes | |
T | data_ |
Friends | |
template<class U > | |
std::shared_ptr< typename value_traits< U >::type > | cpptoml::make_value (U &&val) |
Additional Inherited Members | |
![]() | |
base () | |
A concrete TOML value representing the "leaves" of the "tree".
|
inline |
|
inlineprivate |
Constructs a value from the given data.
|
privatedelete |
|
overridevirtual |
|
inline |
Gets the data associated with this value.
|
inline |
Gets the data associated with this value. Const version.
|
inlineoverridevirtual |
Determines if the given TOML element is a value.
Reimplemented from cpptoml::base.
|
privatedelete |
|
friend |
|
private |