LLSDXMLParser Class Reference

Parser which handles XML format LLSD. More...

#include <llsdserialize.h>

Inheritance diagram for LLSDXMLParser:

Inheritance graph
Collaboration diagram for LLSDXMLParser:

Collaboration graph
List of all members.

Public Member Functions

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

Protected Member Functions

virtual ~LLSDXMLParser ()

Private Member Functions

void parsePart (const char *buf, int len)

Private Attributes



class LLSDSerialize


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]


Definition at line 725 of file llsdserialize_xml.cpp.

References impl.

LLSDXMLParser::LLSDXMLParser (  ) 


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.

istr The input stream.
data[out] The newly parse structured data.
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