LLSDParser Class Reference

Abstract base class for simple LLSD parsers. More...

#include <llsdserialize.h>

Inheritance diagram for LLSDParser:

Inheritance graph
[legend]
Collaboration diagram for LLSDParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Member Functions

virtual ~LLSDParser ()
 Destructor.

Detailed Description

Abstract base class for simple LLSD parsers.

Definition at line 45 of file llsdserialize.h.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 61 of file llsdserialize.cpp.

LLSDParser::LLSDParser (  ) 

Constructor.

LLSDParser

Definition at line 252 of file llsdserialize.cpp.


Member Function Documentation

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

Implemented in LLSDNotationParser, LLSDXMLParser, and LLSDBinaryParser.


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