LLSDParser Class Reference

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

#include <llsdserialize.h>

Inheritance diagram for LLSDParser:

Inheritance graph
Collaboration diagram for LLSDParser:

Collaboration graph
List of all members.

Public Member Functions

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

Protected Member Functions

virtual ~LLSDParser ()

Detailed Description

Abstract base class for simple LLSD parsers.

Definition at line 45 of file llsdserialize.h.

Constructor & Destructor Documentation

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


Definition at line 61 of file llsdserialize.cpp.

LLSDParser::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.

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