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 parseVectorD (const YAML::Node &node, char const *var_name, std::vector< double > &var_value)
 
bool yamlNodeFromFileName (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 51 of file yaml_utils.h.

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

Definition at line 12 of file yaml_utils.h.

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

Definition at line 22 of file yaml_utils.h.

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

Definition at line 86 of file yaml_utils.h.

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

Definition at line 78 of file yaml_utils.h.

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

Definition at line 41 of file yaml_utils.h.

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.h.

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

Definition at line 61 of file yaml_utils.h.

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

Definition at line 92 of file yaml_utils.h.



scanning
Author(s): Kévin Bolloré, Victor Lamoine - Institut Maupertuis
autogenerated on Thu Dec 19 2019 03:38:24