MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / QueryUnsignedText

Method QueryUnsignedText

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1651–1661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649
1650
1651XMLError XMLElement::QueryUnsignedText( unsigned* uval ) const
1652{
1653 if ( FirstChild() && FirstChild()->ToText() ) {
1654 const char* t = FirstChild()->Value();
1655 if ( XMLUtil::ToUnsigned( t, uval ) ) {
1656 return XML_SUCCESS;
1657 }
1658 return XML_CAN_NOT_CONVERT_TEXT;
1659 }
1660 return XML_NO_TEXT_NODE;
1661}
1662
1663
1664XMLError 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