llsdmessagereader.cpp File Reference

LLSDMessageReader class implementation. More...

#include "linden_common.h"
#include "llsdmessagereader.h"
#include "llmessagebuilder.h"
#include "llsdmessagebuilder.h"
#include "llsdutil.h"

Include dependency graph for llsdmessagereader.cpp:

Go to the source code of this file.

Functions

LLSD getLLSD (const LLSD &input, const char *block, const char *var, S32 blocknum)
S32 getElementSize (const LLSD &llsd)


Detailed Description

LLSDMessageReader class implementation.

LicenseInfo
firstyear=2007&license=viewergpl

Copyright (c) 2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llsdmessagereader.cpp.


Function Documentation

S32 getElementSize ( const LLSD llsd  ) 

Definition at line 245 of file llsdmessagereader.cpp.

References LLSD::asString(), S32, LLSD::size(), LLSD::type(), type, LLSD::TypeArray, LLSD::TypeBinary, LLSD::TypeBoolean, LLSD::TypeDate, LLSD::TypeInteger, LLSD::TypeMap, LLSD::TypeReal, LLSD::TypeString, LLSD::TypeUndefined, LLSD::TypeURI, and LLSD::TypeUUID.

Referenced by LLSDMessageReader::getSize().

LLSD getLLSD ( const LLSD input,
const char *  block,
const char *  var,
S32  blocknum 
)

Definition at line 50 of file llsdmessagereader.cpp.

References LLSD::isUndefined(), llendl, llerrs, and NULL.

Referenced by LLSDMessageReader::getBinaryData(), LLSDMessageReader::getBOOL(), LLSDMessageReader::getF32(), LLSDMessageReader::getF64(), LLSDMessageReader::getIPAddr(), LLSDMessageReader::getIPPort(), LLSDMessageReader::getQuat(), LLSDMessageReader::getS16(), LLSDMessageReader::getS32(), LLSDMessageReader::getS8(), LLSDMessageReader::getString(), LLSDMessageReader::getU16(), LLSDMessageReader::getU32(), LLSDMessageReader::getU64(), LLSDMessageReader::getU8(), LLSDMessageReader::getUUID(), LLSDMessageReader::getVector3(), LLSDMessageReader::getVector3d(), and LLSDMessageReader::getVector4().


Generated on Thu Jul 1 06:10:39 2010 for Second Life Viewer by  doxygen 1.4.7