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

Method QueryInt64Text

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1664–1674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1662
1663
1664XMLError XMLElement::QueryInt64Text(int64_t* ival) const
1665{
1666 if (FirstChild() && FirstChild()->ToText()) {
1667 const char* t = FirstChild()->Value();
1668 if (XMLUtil::ToInt64(t, ival)) {
1669 return XML_SUCCESS;
1670 }
1671 return XML_CAN_NOT_CONVERT_TEXT;
1672 }
1673 return XML_NO_TEXT_NODE;
1674}
1675
1676
1677XMLError XMLElement::QueryBoolText( bool* bval ) const

Callers

nothing calls this directly

Calls 2

FirstChildFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected