| 1561 | |
| 1562 | |
| 1563 | XMLError XMLElement::QueryBoolText( bool* bval ) const |
| 1564 | { |
| 1565 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1566 | const char* t = FirstChild()->Value(); |
| 1567 | if ( XMLUtil::ToBool( t, bval ) ) { |
| 1568 | return XML_SUCCESS; |
| 1569 | } |
| 1570 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1571 | } |
| 1572 | return XML_NO_TEXT_NODE; |
| 1573 | } |
| 1574 | |
| 1575 | |
| 1576 | XMLError XMLElement::QueryDoubleText( double* dval ) const |
nothing calls this directly
no test coverage detected