Functions
yaml_parser Namespace Reference

Functions

bool parseBool (const YAML::Node &node, char const *var_name, bool &var_value)
 
bool parseDouble (const YAML::Node &node, char const *var_name, double &var_value)
 
bool parseInt (const YAML::Node &node, char const *var_name, int &var_value)
 
void parseKeyDValue (YAML::const_iterator &it, std::string &key, double &dvalue)
 
const YAML::Node parseNode (const YAML::Node &node, char const *var_name)
 
bool parseString (const YAML::Node &node, char const *var_name, std::string &var_value)
 
bool parseUInt (const YAML::Node &node, char const *var_name, unsigned int &var_value)
 
bool parseVectorB (const YAML::Node &node, char const *var_name, std::vector< bool > &var_value)
 
bool parseVectorD (const YAML::Node &node, char const *var_name, std::vector< double > &var_value)
 
bool yamlNodeFromFileName (const std::string filename, YAML::Node &ynode)
 

Function Documentation

bool yaml_parser::parseBool ( const YAML::Node &  node,
char const *  var_name,
bool &  var_value 
)
inline

Definition at line 53 of file yaml_utils.hpp.

bool yaml_parser::parseDouble ( const YAML::Node &  node,
char const *  var_name,
double &  var_value 
)
inline

Definition at line 9 of file yaml_utils.hpp.

bool yaml_parser::parseInt ( const YAML::Node &  node,
char const *  var_name,
int &  var_value 
)
inline

Definition at line 20 of file yaml_utils.hpp.

void yaml_parser::parseKeyDValue ( YAML::const_iterator &  it,
std::string &  key,
double &  dvalue 
)
inline

Definition at line 108 of file yaml_utils.hpp.

const YAML::Node yaml_parser::parseNode ( const YAML::Node &  node,
char const *  var_name 
)
inline

Definition at line 100 of file yaml_utils.hpp.

bool yaml_parser::parseString ( const YAML::Node &  node,
char const *  var_name,
std::string &  var_value 
)
inline

Definition at line 42 of file yaml_utils.hpp.

bool yaml_parser::parseUInt ( const YAML::Node &  node,
char const *  var_name,
unsigned int &  var_value 
)
inline

Definition at line 31 of file yaml_utils.hpp.

bool yaml_parser::parseVectorB ( const YAML::Node &  node,
char const *  var_name,
std::vector< bool > &  var_value 
)
inline

Definition at line 64 of file yaml_utils.hpp.

bool yaml_parser::parseVectorD ( const YAML::Node &  node,
char const *  var_name,
std::vector< double > &  var_value 
)
inline

Definition at line 82 of file yaml_utils.hpp.

bool yaml_parser::yamlNodeFromFileName ( const std::string  filename,
YAML::Node &  ynode 
)
inline

Definition at line 116 of file yaml_utils.hpp.



ram_utils
Author(s): Victor Lamoine - Institut Maupertuis
autogenerated on Mon Jun 10 2019 14:49:54