| 1783 | |
| 1784 | |
| 1785 | XMLError XMLElement::QueryUnsignedText( unsigned* uval ) const |
| 1786 | { |
| 1787 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1788 | const char* t = FirstChild()->Value(); |
| 1789 | if ( XMLUtil::ToUnsigned( t, uval ) ) { |
| 1790 | return XML_SUCCESS; |
| 1791 | } |
| 1792 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1793 | } |
| 1794 | return XML_NO_TEXT_NODE; |
| 1795 | } |
| 1796 | |
| 1797 | |
| 1798 | XMLError XMLElement::QueryInt64Text(int64_t* ival) const |
no test coverage detected