| 1730 | } |
| 1731 | |
| 1732 | XMLError XMLElement::QueryInt64Text(xml_Int64a_t* ival) const |
| 1733 | { |
| 1734 | if (FirstChild() && FirstChild()->ToText()) |
| 1735 | { |
| 1736 | const char* t = FirstChild()->Value(); |
| 1737 | if (XMLUtil::ToInt64(t, ival)) |
| 1738 | { |
| 1739 | return XML_SUCCESS; |
| 1740 | } |
| 1741 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1742 | } |
| 1743 | return XML_NO_TEXT_NODE; |
| 1744 | } |
| 1745 | |
| 1746 | XMLError XMLElement::QueryBoolText(bool* bval) const |
| 1747 | { |
nothing calls this directly
no test coverage detected