#include <lscript_library.h>
Collaboration diagram for LLScriptLibData:
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 |
LLScriptLibData * | mListp |
Friends | |
bool | operator<= (const LLScriptLibData &a, const LLScriptLibData &b) |
bool | operator== (const LLScriptLibData &a, const LLScriptLibData &b) |
Definition at line 76 of file lscript_library.h.
LLScriptLibData::LLScriptLibData | ( | ) | [inline] |
Definition at line 239 of file lscript_library.h.
LLScriptLibData::LLScriptLibData | ( | const LLScriptLibData & | data | ) | [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] |
LLScriptLibData::LLScriptLibData | ( | char * | string | ) | [inline] |
LLScriptLibData::LLScriptLibData | ( | const char * | string | ) | [inline] |
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] |
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.
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().
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.
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.
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.
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().
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.
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().
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().
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().
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().
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().
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().