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