MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / ReadAttrBool

Method ReadAttrBool

Source/URLab/Private/MuJoCo/Utils/MjXmlUtils.cpp:107–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool MjXmlUtils::ReadAttrBool(const FXmlNode* Node, const TCHAR* Attr, bool& Out, bool& bOverride)
108{
109 FString Str = Node->GetAttribute(Attr);
110 if (Str.IsEmpty())
111 return false;
112 bOverride = true;
113 Out = ParseBool(Str);
114 return true;
115}
116
117bool MjXmlUtils::ReadAttrString(const FXmlNode* Node, const TCHAR* Attr, FString& Out)
118{

Callers

nothing calls this directly

Calls 1

IsEmptyMethod · 0.80

Tested by

no test coverage detected