| 1292 | |
| 1293 | |
| 1294 | XMLError XMLElement::QueryBoolText( bool* bval ) const { |
| 1295 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1296 | const char* t = FirstChild()->Value(); |
| 1297 | if ( XMLUtil::ToBool( t, bval ) ) { |
| 1298 | return XML_SUCCESS; |
| 1299 | } |
| 1300 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1301 | } |
| 1302 | return XML_NO_TEXT_NODE; |
| 1303 | } |
| 1304 | |
| 1305 | |
| 1306 | XMLError XMLElement::QueryDoubleText( double* dval ) const { |
nothing calls this directly
no test coverage detected