#include "_toml.hpp"
#include <iostream>
#include <iomanip>
|
template<typename T > |
T | tml::readValue (const toml::node_view< toml::node > &node) |
| read value from a toml node More...
|
|
template<typename T > |
T | tml::readValue (const toml::node_view< toml::node > &node, T default_value) |
| read value from a toml node More...
|
|
template<typename T > |
T | tml::readValue (toml::table *table, std::string key, T default_value) |
| Read value from toml table. More...
|
|
template<typename T > |
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...
|
|