MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / QueryUnsignedText

Method QueryUnsignedText

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1537–1547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1535
1536
1537XMLError XMLElement::QueryUnsignedText( unsigned* uval ) const
1538{
1539 if ( FirstChild() && FirstChild()->ToText() ) {
1540 const char* t = FirstChild()->Value();
1541 if ( XMLUtil::ToUnsigned( t, uval ) ) {
1542 return XML_SUCCESS;
1543 }
1544 return XML_CAN_NOT_CONVERT_TEXT;
1545 }
1546 return XML_NO_TEXT_NODE;
1547}
1548
1549
1550XMLError XMLElement::QueryInt64Text(int64_t* ival) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected