Made to Order Software Corporation Logo

LLChatLib: LLSDXMLParser Class Reference

LLSDXMLParser Class Reference

Parser which handles XML format LLSD. More...

#include <llsdserialize.h>

Inheritance diagram for LLSDXMLParser:
Collaboration diagram for LLSDXMLParser:

List of all members.

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

Detailed Description

Parser which handles XML format LLSD.


Constructor & Destructor Documentation

LLSDXMLParser::LLSDXMLParser (  ) 

Constructor.

LLSDXMLParser


Member Function Documentation

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.

Parameters:
istr The input stream.
data[out] The newly parse structured data.
Returns:
Returns the number of LLSD objects parsed into data. Returns PARSE_FAILURE (-1) on parse failure.

Implements LLSDParser.


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 17:18:46 2010 for LLChatLib by  doxygen 1.6.3