MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
cpptoml::make_shared_enabler Class Reference

#include <cpptoml.h>

Inheritance diagram for cpptoml::make_shared_enabler:
[legend]
Collaboration diagram for cpptoml::make_shared_enabler:
[legend]

Public Member Functions

 make_shared_enabler ()=default
 
- Public Member Functions inherited from cpptoml::table
std::shared_ptr< baseclone () const override
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
MBool is_table () const override
 
MBool empty () const
 
MBool contains (const std::string &key) const
 
MBool contains_qualified (const std::string &key) const
 
std::shared_ptr< baseget (const std::string &key) const
 
std::shared_ptr< baseget_qualified (const std::string &key) const
 
std::shared_ptr< tableget_table (const std::string &key) const
 
std::shared_ptr< tableget_table_qualified (const std::string &key) const
 
std::shared_ptr< arrayget_array (const std::string &key) const
 
std::shared_ptr< arrayget_array_qualified (const std::string &key) const
 
std::shared_ptr< table_arrayget_table_array (const std::string &key) const
 
std::shared_ptr< table_arrayget_table_array_qualified (const std::string &key) const
 
template<class T >
option< T > get_as (const std::string &key) const
 
template<class T >
option< T > get_qualified_as (const std::string &key) const
 
template<class T >
array_of_trait< T >::return_type get_array_of (const std::string &key) const
 
template<class T >
array_of_trait< T >::return_type get_qualified_array_of (const std::string &key) const
 
void insert (const std::string &key, const std::shared_ptr< base > &value)
 
template<class T >
void insert (const std::string &key, T &&val, typename value_traits< T >::type *=0)
 
void erase (const std::string &key)
 
 table (const table &obj)=delete
 
tableoperator= (const table &rhs)=delete
 
template<>
array_of_trait< array >::return_type get_array_of (const std::string &key) const
 
template<>
array_of_trait< array >::return_type get_qualified_array_of (const std::string &key) const
 
- Public Member Functions inherited from cpptoml::base
virtual ~base ()=default
 
virtual std::shared_ptr< baseclone () const =0
 
virtual MBool is_value () const
 
virtual MBool is_table () const
 
std::shared_ptr< tableas_table ()
 
virtual MBool is_array () const
 
std::shared_ptr< arrayas_array ()
 
virtual MBool is_table_array () const
 
std::shared_ptr< table_arrayas_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
 

Additional Inherited Members

- Public Types inherited from cpptoml::table
using iterator = string_to_base_map::iterator
 
using const_iterator = string_to_base_map::const_iterator
 
- Protected Member Functions inherited from cpptoml::base
 base (const base_type t)
 
 base ()
 

Detailed Description

Definition at line 1411 of file cpptoml.h.

Constructor & Destructor Documentation

◆ make_shared_enabler()

cpptoml::make_shared_enabler::make_shared_enabler ( )
default

The documentation for this class was generated from the following file: