LLScriptLibData Class Reference

#include <lscript_library.h>

Collaboration diagram for LLScriptLibData:

Collaboration graph
[legend]

List of all members.

Public Member Functions

S32 getListLength ()
BOOL checkForMultipleLists ()
S32 getSavedSize ()
S32 write2bytestream (U8 *dest)
 LLScriptLibData ()
 LLScriptLibData (const LLScriptLibData &data)
 LLScriptLibData (U8 *src, S32 &offset)
void set (U8 *src, S32 &offset)
void print (std::ostream &s, BOOL b_prepend_comma)
void print_separator (std::ostream &ostr, BOOL b_prepend_sep, char *sep)
void setFromCSV (char *src)
 LLScriptLibData (S32 integer)
 LLScriptLibData (F32 fp)
 LLScriptLibData (const LLUUID &id)
 LLScriptLibData (char *string)
 LLScriptLibData (const char *string)
 LLScriptLibData (const LLVector3 &vec)
 LLScriptLibData (const LLQuaternion &quat)
 ~LLScriptLibData ()

Public Attributes

LSCRIPTType mType
S32 mInteger
F32 mFP
char * mKey
char * mString
LLVector3 mVec
LLQuaternion mQuat
LLScriptLibDatamListp

Friends

bool operator<= (const LLScriptLibData &a, const LLScriptLibData &b)
bool operator== (const LLScriptLibData &a, const LLScriptLibData &b)


Detailed Description

Definition at line 76 of file lscript_library.h.


Constructor & Destructor Documentation

LLScriptLibData::LLScriptLibData (  )  [inline]

Definition at line 239 of file lscript_library.h.

LLScriptLibData::LLScriptLibData ( const LLScriptLibData data  )  [inline]

Definition at line 243 of file lscript_library.h.

References llendl, llerrs, mKey, mString, and NULL.

LLScriptLibData::LLScriptLibData ( U8 src,
S32 offset 
) [inline]

LLScriptLibData::LLScriptLibData ( S32  integer  )  [inline]

Definition at line 380 of file lscript_library.h.

LLScriptLibData::LLScriptLibData ( F32  fp  )  [inline]

Definition at line 384 of file lscript_library.h.

LLScriptLibData::LLScriptLibData ( const LLUUID id  )  [inline]

Definition at line 388 of file lscript_library.h.

References mKey, and UUID_STR_LENGTH.

LLScriptLibData::LLScriptLibData ( char *  string  )  [inline]

Definition at line 394 of file lscript_library.h.

References llendl, llerrs, mString, and NULL.

LLScriptLibData::LLScriptLibData ( const char *  string  )  [inline]

Definition at line 413 of file lscript_library.h.

References llendl, llerrs, mString, and NULL.

LLScriptLibData::LLScriptLibData ( const LLVector3 vec  )  [inline]

Definition at line 432 of file lscript_library.h.

LLScriptLibData::LLScriptLibData ( const LLQuaternion quat  )  [inline]

Definition at line 436 of file lscript_library.h.

LLScriptLibData::~LLScriptLibData (  )  [inline]

Definition at line 440 of file lscript_library.h.

References mKey, mListp, and mString.


Member Function Documentation

S32 LLScriptLibData::getListLength (  )  [inline]

Definition at line 149 of file lscript_library.h.

References mListp, and S32.

Referenced by lsa_bubble_sort(), lsa_cmp_lists(), lsa_create_data_block(), lsa_heap_add_data(), lsa_insert_data(), lsa_randomize(), run_jumpif(), and run_jumpnif().

Here is the caller graph for this function:

BOOL LLScriptLibData::checkForMultipleLists (  )  [inline]

Definition at line 161 of file lscript_library.h.

References FALSE, LST_LIST, mListp, mType, and TRUE.

Referenced by lsa_get_data(), and lsa_heap_add_data().

Here is the caller graph for this function:

S32 LLScriptLibData::getSavedSize (  )  [inline]

Definition at line 173 of file lscript_library.h.

References LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LST_VECTOR, mKey, mString, mType, and S32.

Referenced by LLScriptDataCollection::getSavedSize().

Here is the caller graph for this function:

S32 LLScriptLibData::write2bytestream ( U8 dest  )  [inline]

Definition at line 207 of file lscript_library.h.

References char2bytestream(), float2bytestream(), integer2bytestream(), LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LST_VECTOR, mFP, mInteger, mKey, mQuat, mString, mType, mVec, quaternion2bytestream(), S32, and vector2bytestream().

Referenced by LLScriptDataCollection::write2bytestream().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScriptLibData::set ( U8 src,
S32 offset 
) [inline]

void LLScriptLibData::print ( std::ostream &  s,
BOOL  b_prepend_comma 
)

Definition at line 522 of file lscript_library.cpp.

References LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_QUATERNION, LST_STRING, LST_VECTOR, mFP, mInteger, mKey, LLQuaternion::mQ, mQuat, mString, mType, LLVector3::mV, mVec, VS, VX, VY, and VZ.

Referenced by run_cast().

Here is the caller graph for this function:

void LLScriptLibData::print_separator ( std::ostream &  ostr,
BOOL  b_prepend_sep,
char *  sep 
)

void LLScriptLibData::setFromCSV ( char *  src  )  [inline]

Definition at line 368 of file lscript_library.h.

References llendl, llerrs, LST_STRING, mString, mType, and NULL.


Friends And Related Function Documentation

bool operator<= ( const LLScriptLibData a,
const LLScriptLibData b 
) [friend]

Definition at line 89 of file lscript_library.h.

bool operator== ( const LLScriptLibData a,
const LLScriptLibData b 
) [friend]

Definition at line 117 of file lscript_library.h.


Member Data Documentation


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

Generated on Fri May 16 09:02:06 2008 for SecondLife by  doxygen 1.5.5