MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / ToUnsigned

Method ToUnsigned

3rdparty/tinyxml2/tinyxml2.cpp:620–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620bool XMLUtil::ToUnsigned(const char* str, unsigned* value)
621{
622 if (TIXML_SSCANF(str, IsPrefixHex(str) ? "%x" : "%u", value) == 1) {
623 return true;
624 }
625 return false;
626}
627
628bool XMLUtil::ToBool( const char* str, bool* value )
629{

Callers

nothing calls this directly

Calls 1

IsPrefixHexFunction · 0.85

Tested by

no test coverage detected