@@ -13,7 +13,7 @@ namespace runcpp2
1313 struct NodeRequirement
1414 {
1515 std::string Name;
16- YAML::NodeType NodeType_LibYaml ;
16+ YAML::NodeType NodeType ;
1717 bool Required;
1818 bool Nullable;
1919
@@ -24,53 +24,53 @@ namespace runcpp2
2424 bool nullable);
2525 };
2626
27- bool CheckNodeRequirement_LibYaml ( YAML::ConstNodePtr parentNode,
28- const std::string childName,
29- YAML::NodeType childType,
30- bool required,
31- bool nullable);
27+ bool CheckNodeRequirement ( YAML::ConstNodePtr parentNode,
28+ const std::string childName,
29+ YAML::NodeType childType,
30+ bool required,
31+ bool nullable);
3232
33- bool CheckNodeRequirements_LibYaml ( YAML::ConstNodePtr node,
34- const std::vector<NodeRequirement>& requirements);
33+ bool CheckNodeRequirements ( YAML::ConstNodePtr node,
34+ const std::vector<NodeRequirement>& requirements);
3535
3636
3737 bool GetParsableInfo (const std::string& contentToParse, std::string& outParsableInfo);
3838
39- bool MergeYAML_NodeChildren_LibYaml (YAML::NodePtr nodeToMergeFrom,
39+ bool MergeYAML_NodeChildren (YAML::NodePtr nodeToMergeFrom,
4040 YAML::NodePtr nodeToMergeTo,
4141 YAML::ResourceHandle& yamlResouce);
4242
43- bool ExistAndHasChild_LibYaml ( YAML::ConstNodePtr node,
44- const std::string& childName,
45- bool nullable = false );
43+ bool ExistAndHasChild ( YAML::ConstNodePtr node,
44+ const std::string& childName,
45+ bool nullable = false );
4646
4747
4848 std::string GetEscapedYAMLString (const std::string& input);
4949
5050 bool ParseIncludes (const std::string& line, std::string& outIncludePath);
5151
5252 template <typename T>
53- bool ParsePlatformProfileMap_LibYaml ( YAML::ConstNodePtr node,
54- const std::string& key,
55- std::unordered_map<PlatformName, T>& result,
56- const std::string& errorMessage)
53+ bool ParsePlatformProfileMap ( YAML::ConstNodePtr node,
54+ const std::string& key,
55+ std::unordered_map<PlatformName, T>& result,
56+ const std::string& errorMessage)
5757 {
58- if (ExistAndHasChild_LibYaml (node, key))
58+ if (ExistAndHasChild (node, key))
5959 {
6060 YAML::ConstNodePtr mapNode = node->GetMapValueNode (key);
6161
6262 // If we skip platform profile
6363 T defaultValue;
64- if (defaultValue.IsYAML_NodeParsableAsDefault_LibYaml (mapNode))
64+ if (defaultValue.IsYAML_NodeParsableAsDefault (mapNode))
6565 {
66- if (defaultValue.ParseYAML_NodeWithProfile_LibYaml (mapNode, " DefaultProfile" ))
66+ if (defaultValue.ParseYAML_NodeWithProfile (mapNode, " DefaultProfile" ))
6767 result[" DefaultPlatform" ] = defaultValue;
6868 else
6969 return false ;
7070 }
7171 else
7272 {
73- if (!CheckNodeRequirement_LibYaml (node, key, YAML::NodeType::Map, false , true ))
73+ if (!CheckNodeRequirement (node, key, YAML::NodeType::Map, false , true ))
7474 return false ;
7575
7676 for (int i = 0 ; i < mapNode->GetChildrenCount (); ++i)
0 commit comments