Parser which handles XML format LLSD. More...
#include <llsdserialize.h>
Public Member Functions | |
LLSDXMLParser () | |
Constructor. | |
Protected Member Functions | |
virtual S32 | doParse (std::istream &istr, LLSD &data) const |
Call this method to parse a stream for LLSD. | |
virtual void | doReset () |
Virtual default function for resetting the parser. | |
virtual | ~LLSDXMLParser () |
Destructor. | |
Friends | |
class | LLSDSerialize |
Parser which handles XML format LLSD.
LLSDXMLParser::LLSDXMLParser | ( | ) |
Constructor.
S32 LLSDXMLParser::doParse | ( | std::istream & | istr, | |
LLSD & | data | |||
) | const [protected, virtual] |
Call this method to parse a stream for LLSD.
This method parses the istream for a structured data. This method assumes that the istream is a complete llsd object -- for example an opened and closed map with an arbitrary nesting of elements. This method will return after reading one data object, allowing continued reading from the stream by the caller.
istr | The input stream. | |
data[out] | The newly parse structured data. |
Implements LLSDParser.