MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / GetSubYAML

Function GetSubYAML

src/FactorGraphConfig.cpp:28–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26{
27
28 bool GetSubYAML(string Key, const YAML::Node &Node, YAML::Node &Subnode)
29 {
30 if(Node[Key].IsDefined())
31 {
32 Subnode = Node[Key];
33 return true;
34 }
35 else
36 {
37 PRINT_ERROR("Node \"", Key, "\" is not defined!");
38 return false;
39 }
40 }
41
42 Vector FactorGraphConfig::ParseVectorFromYAML(YAML::Node VectorNode)
43 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected