Lines Matching refs:valueXml
215 bool XmlRpcValue::fromXml(std::string const& valueXml, int* offset) in fromXml() argument
220 if ( ! XmlRpcUtil::nextTagIs(VALUE_TAG, valueXml, offset)) in fromXml()
224 std::string typeTag = XmlRpcUtil::getNextTag(valueXml, offset); in fromXml()
227 result = nilFromXml(valueXml, offset); in fromXml()
229 result = boolFromXml(valueXml, offset); in fromXml()
231 result = intFromXml(valueXml, offset); in fromXml()
233 result = doubleFromXml(valueXml, offset); in fromXml()
235 result = stringFromXml(valueXml, offset); in fromXml()
237 result = timeFromXml(valueXml, offset); in fromXml()
239 result = binaryFromXml(valueXml, offset); in fromXml()
241 result = arrayFromXml(valueXml, offset); in fromXml()
243 result = structFromXml(valueXml, offset); in fromXml()
248 result = stringFromXml(valueXml, offset); in fromXml()
252 XmlRpcUtil::findTag(VALUE_ETAG, valueXml, offset); in fromXml()
294 bool XmlRpcValue::boolFromXml(std::string const& valueXml, int* offset) in boolFromXml() argument
296 const char* valueStart = valueXml.c_str() + *offset; in boolFromXml()
319 bool XmlRpcValue::intFromXml(std::string const& valueXml, int* offset) in intFromXml() argument
321 const char* valueStart = valueXml.c_str() + *offset; in intFromXml()
347 bool XmlRpcValue::doubleFromXml(std::string const& valueXml, int* offset) in doubleFromXml() argument
349 const char* valueStart = valueXml.c_str() + *offset; in doubleFromXml()
376 bool XmlRpcValue::stringFromXml(std::string const& valueXml, int* offset) in stringFromXml() argument
378 size_t valueEnd = valueXml.find('<', *offset); in stringFromXml()
383 …_value.asString = new std::string(XmlRpcUtil::xmlDecode(valueXml.substr(*offset, valueEnd-*offset)… in stringFromXml()
399 bool XmlRpcValue::timeFromXml(std::string const& valueXml, int* offset) in timeFromXml() argument
401 size_t valueEnd = valueXml.find('<', *offset); in timeFromXml()
405 std::string stime = valueXml.substr(*offset, valueEnd-*offset); in timeFromXml()
436 bool XmlRpcValue::binaryFromXml(std::string const& valueXml, int* offset) in binaryFromXml() argument
438 size_t valueEnd = valueXml.find('<', *offset); in binaryFromXml()
443 std::string asString = valueXml.substr(*offset, valueEnd-*offset); in binaryFromXml()
478 bool XmlRpcValue::arrayFromXml(std::string const& valueXml, int* offset) in arrayFromXml() argument
480 if ( ! XmlRpcUtil::nextTagIs(DATA_TAG, valueXml, offset)) in arrayFromXml()
486 while (v.fromXml(valueXml, offset)) in arrayFromXml()
490 (void) XmlRpcUtil::nextTagIs(DATA_ETAG, valueXml, offset); in arrayFromXml()
515 bool XmlRpcValue::structFromXml(std::string const& valueXml, int* offset) in structFromXml() argument
520 while (XmlRpcUtil::nextTagIs(MEMBER_TAG, valueXml, offset)) { in structFromXml()
522 const std::string name = XmlRpcUtil::parseTag(NAME_TAG, valueXml, offset); in structFromXml()
524 XmlRpcValue val(valueXml, offset); in structFromXml()
532 (void) XmlRpcUtil::nextTagIs(MEMBER_ETAG, valueXml, offset); in structFromXml()