| 1816 | |
| 1817 | |
| 1818 | XMLError XMLElement::QueryFloatText( float* fval ) const |
| 1819 | { |
| 1820 | if ( FirstChild() && FirstChild()->ToText() ) { |
| 1821 | const char* t = FirstChild()->Value(); |
| 1822 | if ( XMLUtil::ToFloat( t, fval ) ) { |
| 1823 | return XML_SUCCESS; |
| 1824 | } |
| 1825 | return XML_CAN_NOT_CONVERT_TEXT; |
| 1826 | } |
| 1827 | return XML_NO_TEXT_NODE; |
| 1828 | } |
| 1829 | |
| 1830 | int XMLElement::IntText(int defaultValue) const |
| 1831 | { |
nothing calls this directly
no test coverage detected