Typedefs | Functions
swri_yaml_util Namespace Reference

Typedefs

typedef std::unique_ptr< YAML::Node > YamlNodePtr
 

Functions

YamlNodePtr Clone (const YAML::Node &node)
 
bool FindValue (const YAML::Node &node, const std::string &name)
 
bool LoadFile (const std::string &path, YAML::Node &yaml)
 
bool LoadMap (const std::map< std::string, std::string > &dict, YAML::Node &yaml)
 
bool LoadString (const std::string &input, YAML::Node &yaml)
 
std::string ToString (double value, int32_t precision)
 

Typedef Documentation

◆ YamlNodePtr

typedef std::unique_ptr<YAML::Node> swri_yaml_util::YamlNodePtr

Definition at line 59 of file yaml_util.h.

Function Documentation

◆ Clone()

YamlNodePtr swri_yaml_util::Clone ( const YAML::Node &  node)

Definition at line 178 of file yaml_util.cpp.

◆ FindValue()

bool swri_yaml_util::FindValue ( const YAML::Node &  node,
const std::string &  name 
)

Definition at line 169 of file yaml_util.cpp.

◆ LoadFile()

bool swri_yaml_util::LoadFile ( const std::string &  path,
YAML::Node &  yaml 
)

Definition at line 97 of file yaml_util.cpp.

◆ LoadMap()

bool swri_yaml_util::LoadMap ( const std::map< std::string, std::string > &  dict,
YAML::Node &  yaml 
)

Definition at line 142 of file yaml_util.cpp.

◆ LoadString()

bool swri_yaml_util::LoadString ( const std::string &  input,
YAML::Node &  yaml 
)

Definition at line 122 of file yaml_util.cpp.

◆ ToString()

std::string swri_yaml_util::ToString ( double  value,
int32_t  precision 
)

Definition at line 187 of file yaml_util.cpp.



swri_yaml_util
Author(s): Marc Alban
autogenerated on Sat Jan 21 2023 03:13:25