| 1748 | |
| 1749 | |
| 1750 | XMLError XMLElement::QueryBoolText( bool* bval ) const |
| 1751 | { |
| 1752 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1753 | const char* t = FirstChild()->Value(); |
| 1754 | if ( XMLUtil::ToBool( t, bval ) ) { |
| 1755 | return XML_SUCCESS; |
| 1756 | } |
| 1757 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1758 | } |
| 1759 | return XML_NO_TEXT_NODE; |
| 1760 | } |
| 1761 | |
| 1762 | |
| 1763 | XMLError XMLElement::QueryDoubleText( double* dval ) const |
nothing calls this directly
no test coverage detected