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.

Protected Member Functions

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

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 273 of file llsdserialize.h.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 728 of file llsdserialize_xml.cpp.

References impl.

LLSDXMLParser::LLSDXMLParser (  ) 

Constructor.

LLSDXMLParser

Definition at line 724 of file llsdserialize_xml.cpp.


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.

Definition at line 739 of file llsdserialize_xml.cpp.

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

Here is the call graph for this function:

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

Definition at line 733 of file llsdserialize_xml.cpp.

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

Referenced by LLSDSerialize::deserialize().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLSDSerialize [friend]

Definition at line 309 of file llsdserialize.h.


Member Data Documentation

Definition at line 305 of file llsdserialize.h.

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


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:03:47 2008 for SecondLife by  doxygen 1.5.5