| 1664 | |
| 1665 | |
| 1666 | XMLError XMLElement::QueryInt64Text(int64_t* ival) const |
| 1667 | { |
| 1668 | if (FirstChild() && FirstChild()->ToText()) { |
| 1669 | const char* t = FirstChild()->Value(); |
| 1670 | if (XMLUtil::ToInt64(t, ival)) { |
| 1671 | return XML_SUCCESS; |
| 1672 | } |
| 1673 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1674 | } |
| 1675 | return XML_NO_TEXT_NODE; |
| 1676 | } |
| 1677 | |
| 1678 | |
| 1679 | XMLError XMLElement::QueryBoolText( bool* bval ) const |
nothing calls this directly
no test coverage detected