PhyStar  v0.0.0 thu24
toml.h File Reference
#include "_toml.hpp"
#include <iostream>
#include <iomanip>
Include dependency graph for toml.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 tml
 

Typedefs

using tml::tmlnode = toml::node_view< toml::node >
 

Functions

template<typename T >
tml::readValue (const toml::node_view< toml::node > &node)
 read value from a toml node More...
 
template<typename T >
tml::readValue (const toml::node_view< toml::node > &node, T default_value)
 read value from a toml node More...
 
template<typename T >
tml::readValue (toml::table *table, std::string key, T default_value)
 Read value from toml table. More...
 
template<typename T >
tml::readValue (toml::table *table, std::string key)
 Read value from toml table. More...
 
template<typename T >
std::vector< T > tml::readVec (const toml::node_view< toml::node > &node)
 load a 1-D std::vector from a toml array More...
 
template<typename T >
std::vector< T > tml::readVec (const toml::node_view< toml::node > &node, const std::vector< T > &default_vec)
 load a 1-D std::vector from a toml array with default value More...
 
template<typename T >
std::vector< T > tml::readVec (toml::table *table, std::string key)
 load a 1-D std::vector from a toml array More...
 
template<typename T >
std::vector< T > tml::readVec (toml::table *table, std::string key, const std::vector< T > &default_vec)
 load a 1-D std::vector from a toml array, with default value More...