maliput
yaml_conversion.cc File Reference
Include dependency graph for yaml_conversion.cc:

Namespaces

 YAML
 
 maliput
 Code in this file is inspired by: https://github.com/RobotLocomotion/drake/blob/master/common/text_logging.h.
 

Functions

bool IsDiscreteValue (const YAML::Node &rule_node)
 Determines whether the rule_node corresponds to a api::rules::DiscreteValueRule::DiscreteValue description. More...
 
bool IsRangeValue (const YAML::Node &rule_node)
 Determines whether the rule_node corresponds to a api::rules::RangeValueRule::Range description. More...
 
int GetSeverityFromYamlNode (const YAML::Node &node)
 Returns the severity field value from the node. More...
 
std::pair< double, doubleGetRangeMinMaxValuesFromYamlNode (const YAML::Node &node)
 Get min and max values from the yaml node. More...
 
std::string GetValueFromYamlNode (const YAML::Node &node)
 Get the value of a api::rules::DiscreteValueRule::DiscreteValue from a yaml node. More...
 
std::string GetDescriptionFromYamlNode (const YAML::Node &node)
 Get the description of a api::rules::RangeValueRule::Range from a yaml node. More...