| 1656 | |
| 1657 | |
| 1658 | XMLError XMLElement::QueryUnsignedText( unsigned* uval ) const |
| 1659 | { |
| 1660 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1661 | const char* t = FirstChild()->Value(); |
| 1662 | if ( XMLUtil::ToUnsigned( t, uval ) ) { |
| 1663 | return XML_SUCCESS; |
| 1664 | } |
| 1665 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1666 | } |
| 1667 | return XML_NO_TEXT_NODE; |
| 1668 | } |
| 1669 | |
| 1670 | |
| 1671 | XMLError XMLElement::QueryInt64Text(int64_t* ival) const |
no test coverage detected