| 1669 | |
| 1670 | |
| 1671 | XMLError XMLElement::QueryInt64Text(int64_t* ival) const |
| 1672 | { |
| 1673 | if (FirstChild() && FirstChild()->ToText()) { |
| 1674 | const char* t = FirstChild()->Value(); |
| 1675 | if (XMLUtil::ToInt64(t, ival)) { |
| 1676 | return XML_SUCCESS; |
| 1677 | } |
| 1678 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1679 | } |
| 1680 | return XML_NO_TEXT_NODE; |
| 1681 | } |
| 1682 | |
| 1683 | |
| 1684 | XMLError XMLElement::QueryBoolText( bool* bval ) const |
no test coverage detected