LLSDXMLParser Class Reference

Parser which handles XML format LLSD. More...

#include <llsdserialize.h>

Inheritance diagram for LLSDXMLParser:

Inheritance graph
[legend]
Collaboration diagram for LLSDXMLParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLSDXMLParser ()
 Constructor.
virtual S32 parse (std::istream &istr, LLSD &data) const
 Call this method to parse a stream for LLSD.

Protected Member Functions

virtual ~LLSDXMLParser ()
 Destructor.

Private Member Functions

void parsePart (const char *buf, int len)

Private Attributes

Implimpl

Friends

class LLSDSerialize

Classes

class  Impl

Detailed Description

Parser which handles XML format LLSD.

Definition at line 164 of file llsdserialize.h.


Constructor & Destructor Documentation

LLSDXMLParser::~LLSDXMLParser (  )  [protected, virtual]

Destructor.

Definition at line 725 of file llsdserialize_xml.cpp.

References impl.

LLSDXMLParser::LLSDXMLParser (  ) 

Constructor.

Definition at line 720 of file llsdserialize_xml.cpp.


Member Function Documentation

S32 LLSDXMLParser::parse ( std::istream &  istr,
LLSD data 
) const [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.

Implements LLSDParser.

Definition at line 736 of file llsdserialize_xml.cpp.

References impl, and LLSDXMLParser::Impl::parse().

void LLSDXMLParser::parsePart ( const char *  buf,
int  len 
) [private]

Definition at line 730 of file llsdserialize_xml.cpp.

References impl, and LLSDXMLParser::Impl::parsePart().


Friends And Related Function Documentation

friend class LLSDSerialize [friend]

Definition at line 198 of file llsdserialize.h.


Member Data Documentation

Impl& LLSDXMLParser::impl [private]

Definition at line 194 of file llsdserialize.h.

Referenced by parse(), parsePart(), and ~LLSDXMLParser().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:45 2010 for Second Life Viewer by  doxygen 1.4.7