| 1790 | |
| 1791 | |
| 1792 | XMLError XMLElement::QueryBoolText( bool* bval ) const |
| 1793 | { |
| 1794 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1795 | const char* t = FirstChild()->Value(); |
| 1796 | if ( XMLUtil::ToBool( t, bval ) ) { |
| 1797 | return XML_SUCCESS; |
| 1798 | } |
| 1799 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1800 | } |
| 1801 | return XML_NO_TEXT_NODE; |
| 1802 | } |
| 1803 | |
| 1804 | |
| 1805 | XMLError XMLElement::QueryDoubleText( double* dval ) const |
nothing calls this directly
no test coverage detected