Made to Order Software Corporation Logo

LLChatLib: LLSDSerialize Class Reference

LLSDSerialize Class Reference

Serializer / deserializer for the various LLSD formats. More...

#include <llsdserialize.h>

List of all members.

Public Types

enum  
 

anonymouse enumeration for useful max_bytes constants.



Static Public Member Functions

static bool deserialize (LLSD &sd, std::istream &str, S32 max_bytes)
 Examine a stream, and parse 1 sd object out based on contents.

static void serialize (const LLSD &sd, std::ostream &str, ELLSD_Serialize, U32 options=LLSDFormatter::OPTIONS_NONE)

Detailed Description

Serializer / deserializer for the various LLSD formats.


Member Function Documentation

bool LLSDSerialize::deserialize ( LLSD sd,
std::istream &  str,
S32  max_bytes 
) [static]

Examine a stream, and parse 1 sd object out based on contents.

Parameters:
sd [out] The data found on the stream
str The incoming stream
max_bytes the maximum number of bytes to parse
Returns:
Returns true if the stream appears to contain valid data

Here is the call graph for this function:

void LLSDSerialize::serialize ( const LLSD sd,
std::ostream &  str,
ELLSD_Serialize  type,
U32  options = LLSDFormatter::OPTIONS_NONE 
) [static]

The documentation for this class was generated from the following files:
Generated on Thu Sep 23 17:18:45 2010 for LLChatLib by  doxygen 1.6.3