| 1675 | |
| 1676 | |
| 1677 | XMLError XMLElement::QueryBoolText( bool* bval ) const |
| 1678 | { |
| 1679 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1680 | const char* t = FirstChild()->Value(); |
| 1681 | if ( XMLUtil::ToBool( t, bval ) ) { |
| 1682 | return XML_SUCCESS; |
| 1683 | } |
| 1684 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1685 | } |
| 1686 | return XML_NO_TEXT_NODE; |
| 1687 | } |
| 1688 | |
| 1689 | |
| 1690 | XMLError XMLElement::QueryDoubleText( double* dval ) const |
nothing calls this directly
no test coverage detected