MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
cpptoml.h File Reference

Go to the source code of this file.

Classes

class  cpptoml::option< T >
 
struct  cpptoml::local_date
 
struct  cpptoml::local_time
 
struct  cpptoml::zone_offset
 
struct  cpptoml::local_datetime
 
struct  cpptoml::offset_datetime
 
class  cpptoml::fill_guard
 
struct  cpptoml::is_one_of< T, V >
 
struct  cpptoml::is_one_of< T, V, Ts... >
 
struct  cpptoml::valid_value< T >
 
struct  cpptoml::valid_value_or_string_convertible< T >
 
struct  cpptoml::value_traits< T, typename std::enable_if< valid_value_or_string_convertible< T >::value >::type >
 
struct  cpptoml::value_traits< T, typename std::enable_if<!valid_value_or_string_convertible< T >::value &&std::is_floating_point< typename std::decay< T >::type >::value >::type >
 
struct  cpptoml::value_traits< T, typename std::enable_if<!valid_value_or_string_convertible< T >::value &&std::is_signed< typename std::decay< T >::type >::value >::type >
 
struct  cpptoml::value_traits< T, typename std::enable_if<!valid_value_or_string_convertible< T >::value &&std::is_unsigned< typename std::decay< T >::type >::value >::type >
 
struct  cpptoml::array_of_trait< T >
 
struct  cpptoml::array_of_trait< array >
 
struct  cpptoml::base_type_traits< std::string >
 
struct  cpptoml::base_type_traits< local_time >
 
struct  cpptoml::base_type_traits< local_date >
 
struct  cpptoml::base_type_traits< local_datetime >
 
struct  cpptoml::base_type_traits< offset_datetime >
 
struct  cpptoml::base_type_traits< int >
 
struct  cpptoml::base_type_traits< int64_t >
 
struct  cpptoml::base_type_traits< double >
 
struct  cpptoml::base_type_traits< MBool >
 
struct  cpptoml::base_type_traits< table >
 
struct  cpptoml::base_type_traits< array >
 
struct  cpptoml::base_type_traits< table_array >
 
class  cpptoml::base
 
class  cpptoml::value< T >
 
struct  cpptoml::value< T >::make_shared_enabler
 
class  cpptoml::array_exception
 
class  cpptoml::array
 
class  cpptoml::ARRAY_::make_shared_enabler
 
class  cpptoml::table_array
 
class  cpptoml::TABLE_ARRAY_::make_shared_enabler
 
class  cpptoml::table
 
class  cpptoml::make_shared_enabler
 
class  cpptoml::parse_exception
 
class  cpptoml::consumer< OnError >
 
class  cpptoml::parser
 
struct  cpptoml::value_accept<>
 
struct  cpptoml::value_accept< T, Ts... >
 
class  cpptoml::toml_writer
 

Namespaces

namespace  cpptoml
 
namespace  cpptoml::ARRAY_
 
namespace  cpptoml::TABLE_ARRAY_
 
namespace  cpptoml::detail
 

Typedefs

using cpptoml::string_to_base_map = std::map< std::string, std::shared_ptr< base > >
 

Enumerations

enum class  cpptoml::base_type {
  cpptoml::NONE , cpptoml::STRING , cpptoml::LOCAL_TIME , cpptoml::LOCAL_DATE ,
  cpptoml::LOCAL_DATETIME , cpptoml::OFFSET_DATETIME , cpptoml::INT , cpptoml::FLOAT ,
  cpptoml::BOOL , cpptoml::TABLE , cpptoml::ARRAY , cpptoml::TABLE_ARRAY
}
 Base type used to store underlying data type explicitly if RTTI is disabled. More...
 

Functions

void cpptoml::die (const std::string &reason, const std::string &file, const int line)
 
void cpptoml::die (const std::string &reason, const int input_line, const std::string &file, const int line)
 
 cpptoml::CPPTOML_DEPRECATED ("datetime has been renamed to offset_datetime") typedef offset_datetime datetime
 
std::ostream & cpptoml::operator<< (std::ostream &os, const local_date &dt)
 
std::ostream & cpptoml::operator<< (std::ostream &os, const local_time &ltime)
 
std::ostream & cpptoml::operator<< (std::ostream &os, const zone_offset &zo)
 
std::ostream & cpptoml::operator<< (std::ostream &os, const local_datetime &dt)
 
std::ostream & cpptoml::operator<< (std::ostream &os, const offset_datetime &dt)
 
template<class T >
std::shared_ptr< typename value_traits< T >::type > cpptoml::make_value (T &&val)
 
std::shared_ptr< array > cpptoml::make_array ()
 
template<class T >
std::shared_ptr< T > cpptoml::make_element ()
 
std::shared_ptr< table > cpptoml::make_table ()
 
std::shared_ptr< table_array > cpptoml::make_table_array ()
 
template<>
std::shared_ptr< array > cpptoml::make_element< array > ()
 
template<>
std::shared_ptr< table_array > cpptoml::make_element< table_array > ()
 
template<class T >
std::enable_if<!std::is_floating_point< T >::value &&std::is_signed< T >::value, option< T > >::type cpptoml::get_impl (const std::shared_ptr< base > &elem)
 
template<class T >
std::enable_if<!std::is_same< T, MBool >::value &&std::is_unsigned< T >::value, option< T > >::type cpptoml::get_impl (const std::shared_ptr< base > &elem)
 
template<class T >
std::enable_if<!std::is_integral< T >::value||std::is_same< T, MBool >::value, option< T > >::type cpptoml::get_impl (const std::shared_ptr< base > &elem)
 
template<>
std::shared_ptr< table > cpptoml::make_element< table > ()
 
MBool cpptoml::is_number (char c)
 
template<class OnError >
consumer< OnError > cpptoml::make_consumer (std::string::iterator &it, const std::string::iterator &end, OnError &&on_error)
 
std::istream & cpptoml::detail::getline (std::istream &input, std::string &line)
 
std::shared_ptr< table > cpptoml::parse_file (const std::string &filename)
 
std::ostream & cpptoml::operator<< (std::ostream &stream, const base &b)
 
template<class T >
std::ostream & cpptoml::operator<< (std::ostream &stream, const value< T > &v)
 
std::ostream & cpptoml::operator<< (std::ostream &stream, const table &t)
 
std::ostream & cpptoml::operator<< (std::ostream &stream, const table_array &t)
 
std::ostream & cpptoml::operator<< (std::ostream &stream, const array &a)
 

Detailed Description

Author
Chase Geigle
Date
May 2013

Definition in file cpptoml.h.