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]

Definition at line 267 of file lscript_library.h.

References bytestream2char(), bytestream2float(), bytestream2integer(), bytestream2quaternion(), bytestream2vector(), llendl, llerrs, LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LST_VECTOR, mFP, mInteger, mKey, mQuat, mString, mType, mVec, NULL, and TOP_OF_MEMORY.

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

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().

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(), and lsa_randomize().

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, S32, and size.

Referenced by LLScriptDataCollection::getSavedSize().

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

Definition at line 512 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.

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

Definition at line 549 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.

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

Definition at line 316 of file lscript_library.h.

References bytestream2char(), bytestream2float(), bytestream2integer(), bytestream2quaternion(), bytestream2vector(), llendl, llerrs, LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LST_VECTOR, mFP, mInteger, mKey, mQuat, mString, mType, mVec, NULL, and TOP_OF_MEMORY.

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

Definition at line 368 of file lscript_library.h.

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

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().


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

F32 LLScriptLibData::mFP

Definition at line 82 of file lscript_library.h.

Referenced by LLScriptLibData(), lsa_create_data_block(), lsa_get_data(), lsa_insert_data(), lscript_pop_variable(), lscript_push_return_variable(), lscript_push_variable(), lscript_stacktol_pop_variable(), print(), print_separator(), run_print(), set(), and write2bytestream().

S32 LLScriptLibData::mInteger

Definition at line 81 of file lscript_library.h.

Referenced by LLScriptLibData(), lsa_create_data_block(), lsa_get_data(), lsa_insert_data(), lscript_pop_variable(), lscript_push_return_variable(), lscript_push_variable(), lscript_stacktol_pop_variable(), print(), print_separator(), run_print(), set(), and write2bytestream().

char* LLScriptLibData::mKey

Definition at line 83 of file lscript_library.h.

Referenced by getSavedSize(), key_list_operation(), list_key_operation(), LLScriptLibData(), lsa_cat_strings(), lsa_cmp_strings(), lsa_create_data_block(), lsa_get_data(), lsa_heap_add_data(), lsa_insert_data(), lscript_pop_variable(), lscript_stacktol_pop_variable(), print(), print_separator(), run_print(), set(), write2bytestream(), and ~LLScriptLibData().

LLScriptLibData* LLScriptLibData::mListp

Definition at line 87 of file lscript_library.h.

Referenced by checkForMultipleLists(), getListLength(), lsa_bubble_sort(), lsa_cat_lists(), lsa_create_data_block(), lsa_get_data(), lsa_get_list_ptr(), lsa_insert_data(), lsa_postadd_lists(), lsa_preadd_lists(), lsa_randomize(), lscript_pop_variable(), lscript_stacktol_pop_variable(), LLScriptSAList::recurse(), run_print(), run_stacktol(), and ~LLScriptLibData().

LLQuaternion LLScriptLibData::mQuat

Definition at line 86 of file lscript_library.h.

Referenced by LLScriptLibData(), lsa_create_data_block(), lsa_get_data(), lsa_insert_data(), lscript_pop_variable(), lscript_push_return_variable(), lscript_push_variable(), lscript_stacktol_pop_variable(), print(), print_separator(), run_print(), set(), and write2bytestream().

char* LLScriptLibData::mString

Definition at line 84 of file lscript_library.h.

Referenced by getSavedSize(), key_list_operation(), list_key_operation(), LLScriptLibData(), lsa_cat_strings(), lsa_cmp_strings(), lsa_create_data_block(), lsa_get_data(), lsa_heap_add_data(), lsa_insert_data(), lscript_pop_variable(), lscript_stacktol_pop_variable(), print(), print_separator(), run_print(), set(), setFromCSV(), write2bytestream(), and ~LLScriptLibData().

LSCRIPTType LLScriptLibData::mType

Definition at line 80 of file lscript_library.h.

Referenced by checkForMultipleLists(), getSavedSize(), key_list_operation(), list_key_operation(), LLScriptLibData(), lsa_cat_lists(), lsa_cat_strings(), lsa_cmp_lists(), lsa_cmp_strings(), lsa_create_data_block(), lsa_get_data(), lsa_heap_add_data(), lsa_insert_data(), lsa_postadd_lists(), lsa_preadd_lists(), lscript_pop_variable(), lscript_push_return_variable(), lscript_push_variable(), lscript_stacktol_pop_variable(), print(), print_separator(), LLScriptGlobalVariable::recurse(), LLScriptSAList::recurse(), LLScriptExecute::run(), run_calllib(), run_calllib_two_byte(), run_print(), run_stacktol(), set(), setFromCSV(), and write2bytestream().

LLVector3 LLScriptLibData::mVec

Definition at line 85 of file lscript_library.h.

Referenced by LLScriptLibData(), lsa_create_data_block(), lsa_get_data(), lsa_insert_data(), lscript_pop_variable(), lscript_push_return_variable(), lscript_push_variable(), lscript_stacktol_pop_variable(), print(), print_separator(), run_print(), set(), and write2bytestream().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:43 2010 for Second Life Viewer by  doxygen 1.4.7