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

#include <cpptoml.h>

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

Public Member Functions

 make_shared_enabler ()=default
 
- Public Member Functions inherited from cpptoml::array
std::shared_ptr< baseclone () const override
 
MBool is_array () const override
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
std::vector< std::shared_ptr< base > > & get ()
 
const std::vector< std::shared_ptr< base > > & get () const
 
std::shared_ptr< baseat (size_t idx) const
 
template<class T >
std::vector< std::shared_ptr< value< T > > > array_of () const
 
template<class T >
array_of_trait< T >::return_type get_array_of () const
 
std::vector< std::shared_ptr< array > > nested_array () const
 
template<class T >
void push_back (const std::shared_ptr< value< T > > &val)
 
void push_back (const std::shared_ptr< array > &val)
 
template<class T >
void push_back (T &&val, typename value_traits< T >::type *=0)
 
template<class T >
iterator insert (iterator position, const std::shared_ptr< value< T > > &value)
 
iterator insert (iterator position, const std::shared_ptr< array > &value)
 
template<class T >
iterator insert (iterator position, T &&val, typename value_traits< T >::type *=0)
 
iterator erase (iterator position)
 
void clear ()
 
void reserve (size_type n)
 
 array (const array &obj)=delete
 
arrayoperator= (const array &obj)=delete
 
template<>
array_of_trait< array >::return_type get_array_of () 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::array
using size_type = std::size_t
 
using iterator = std::vector< std::shared_ptr< base > >::iterator
 
using const_iterator = std::vector< std::shared_ptr< base > >::const_iterator
 
- Protected Member Functions inherited from cpptoml::base
 base (const base_type t)
 
 base ()
 

Detailed Description

Definition at line 866 of file cpptoml.h.

Constructor & Destructor Documentation

◆ make_shared_enabler()

cpptoml::ARRAY_::make_shared_enabler::make_shared_enabler ( )
default

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