#include <llnamevalue.h>
Public Member Functions | |
void | baseInit () |
void | init (const char *name, const char *data, const char *type, const char *nvclass, const char *nvsendto) |
LLNameValue () | |
LLNameValue (const char *data) | |
LLNameValue (const char *name, const char *type, const char *nvclass) | |
LLNameValue (const char *name, const char *data, const char *type, const char *nvclass) | |
LLNameValue (const char *name, const char *data, const char *type, const char *nvclass, const char *nvsendto) | |
~LLNameValue () | |
char * | getString () |
const char * | getAsset () const |
F32 * | getF32 () |
S32 * | getS32 () |
void | getVec3 (LLVector3 &vec) |
LLVector3 * | getVec3 () |
U32 * | getU32 () |
U64 * | getU64 () |
const char * | getType () const |
const char * | getClass () const |
const char * | getSendto () const |
BOOL | sendToData () const |
BOOL | sendToViewer () const |
void | callCallback () |
std::string | printNameValue () |
std::string | printData () |
ENameValueType | getTypeEnum () const |
ENameValueClass | getClassEnum () const |
ENameValueSendto | getSendtoEnum () const |
LLNameValue & | operator= (const LLNameValue &a) |
void | setString (const char *a) |
void | setAsset (const char *a) |
void | setF32 (const F32 a) |
void | setS32 (const S32 a) |
void | setVec3 (const LLVector3 &a) |
void | setU32 (const U32 a) |
Public Attributes | |
char * | mName |
char * | mStringType |
ENameValueType | mType |
char * | mStringClass |
ENameValueClass | mClass |
char * | mStringSendto |
ENameValueSendto | mSendto |
UNameValueReference | mNameValueReference |
LLStringTable * | mNVNameTable |
Private Member Functions | |
void | printNameValue (std::ostream &s) |
Friends | |
std::ostream & | operator<< (std::ostream &s, const LLNameValue &a) |
Definition at line 120 of file llnamevalue.h.
LLNameValue::LLNameValue | ( | ) |
Definition at line 90 of file llnamevalue.cpp.
References baseInit().
LLNameValue::LLNameValue | ( | const char * | data | ) |
Definition at line 367 of file llnamevalue.cpp.
References baseInit(), i, init(), NameValueClassStrings, NameValueSendtoStrings, NV_BUFFER_LEN, NVC_EOF, NVC_READ_ONLY, NVS_EOF, NVS_SIM, and S32.
LLNameValue::LLNameValue | ( | const char * | name, | |
const char * | type, | |||
const char * | nvclass | |||
) |
Definition at line 296 of file llnamevalue.cpp.
References LLStringTable::addString(), baseInit(), u_name_value_reference::f32, llendl, llinfos, mClass, mName, mNameValueReference, mNVNameTable, mSendto, mStringClass, mStringSendto, mStringType, mType, NameValueTypeStrings, NULL, NVC_NULL, NVC_READ_ONLY, NVC_READ_WRITE, NVS_SIM, NVT_ASSET, NVT_F32, NVT_NULL, NVT_S32, NVT_STRING, NVT_U32, NVT_U64, NVT_VEC3, u_name_value_reference::s32, u_name_value_reference::string, u_name_value_reference::u32, u_name_value_reference::u64, and u_name_value_reference::vec3.
LLNameValue::LLNameValue | ( | const char * | name, | |
const char * | data, | |||
const char * | type, | |||
const char * | nvclass | |||
) |
Definition at line 279 of file llnamevalue.cpp.
References baseInit(), and init().
LLNameValue::LLNameValue | ( | const char * | name, | |
const char * | data, | |||
const char * | type, | |||
const char * | nvclass, | |||
const char * | nvsendto | |||
) |
Definition at line 287 of file llnamevalue.cpp.
References baseInit(), and init().
LLNameValue::~LLNameValue | ( | ) |
Definition at line 541 of file llnamevalue.cpp.
References u_name_value_reference::f32, mName, mNameValueReference, mNVNameTable, mType, NULL, NVT_ASSET, NVT_F32, NVT_S32, NVT_STRING, NVT_U32, NVT_U64, NVT_VEC3, LLStringTable::removeString(), u_name_value_reference::s32, u_name_value_reference::string, u_name_value_reference::u32, u_name_value_reference::u64, and u_name_value_reference::vec3.
void LLNameValue::baseInit | ( | ) |
Definition at line 95 of file llnamevalue.cpp.
References gNVNameTable, mClass, mName, mNameValueReference, mNVNameTable, mSendto, mStringClass, mStringSendto, mStringType, mType, NameValueClassStrings, NameValueSendtoStrings, NameValueTypeStrings, NULL, NVC_NULL, NVS_NULL, NVT_NULL, and u_name_value_reference::string.
Referenced by LLNameValue().
void LLNameValue::init | ( | const char * | name, | |
const char * | data, | |||
const char * | type, | |||
const char * | nvclass, | |||
const char * | nvsendto | |||
) |
Definition at line 112 of file llnamevalue.cpp.
References LLStringTable::addString(), u_name_value_reference::f32, gNVNameTable, llendl, llfinite, llwarns, mClass, mName, mNameValueReference, mNVNameTable, mSendto, mStringClass, mStringSendto, mStringType, mType, NameValueTypeStrings, NVC_NULL, NVC_READ_ONLY, NVC_READ_WRITE, NVS_DATA_SIM, NVS_DATA_SIM_VIEWER, NVS_NULL, NVS_SIM, NVS_SIM_VIEWER, NVT_ASSET, NVT_F32, NVT_NULL, NVT_S32, NVT_STRING, NVT_U32, NVT_U64, NVT_VEC3, u_name_value_reference::s32, S32, str_to_U64(), u_name_value_reference::string, u_name_value_reference::u32, u_name_value_reference::u64, and u_name_value_reference::vec3.
Referenced by LLNameValue().
char * LLNameValue::getString | ( | ) |
Definition at line 581 of file llnamevalue.cpp.
References llendl, llerrs, mName, mNameValueReference, mType, NULL, NVT_STRING, and u_name_value_reference::string.
Referenced by LLViewerJointAttachment::addObject(), LLPanelGroupInvite::addUsers(), LLVOAvatar::dumpBakedStatus(), LLVOAvatar::getFullname(), LLFloaterReporter::getObjectInfo(), LLAvatarSendIM::handleEvent(), LLAvatarGiveCard::handleEvent(), LLObjectMute::handleEvent(), LLObjectEnableMute::handleEvent(), LLVOAvatar::idleUpdate(), process_offer_callingcard(), LLVOAvatar::renderSkinned(), request_friendship(), LLPanelAvatar::setAvatar(), LLHoverView::updateText(), and LLVOAvatar::updateVisibility().
const char * LLNameValue::getAsset | ( | ) | const |
Definition at line 594 of file llnamevalue.cpp.
References llendl, llerrs, mName, mNameValueReference, mType, NULL, NVT_ASSET, and u_name_value_reference::string.
Referenced by LLAssetInfo::setFromNameValue().
F32 * LLNameValue::getF32 | ( | ) |
Definition at line 607 of file llnamevalue.cpp.
References u_name_value_reference::f32, llendl, llerrs, mName, mNameValueReference, mType, NULL, and NVT_F32.
S32 * LLNameValue::getS32 | ( | ) |
Definition at line 620 of file llnamevalue.cpp.
References llendl, llerrs, mName, mNameValueReference, mType, NULL, NVT_S32, and u_name_value_reference::s32.
void LLNameValue::getVec3 | ( | LLVector3 & | vec | ) |
Definition at line 659 of file llnamevalue.cpp.
References llendl, llerrs, mName, mNameValueReference, mType, NVT_VEC3, and u_name_value_reference::vec3.
LLVector3 * LLNameValue::getVec3 | ( | ) |
Definition at line 671 of file llnamevalue.cpp.
References llendl, llerrs, mName, mNameValueReference, mType, NULL, NVT_VEC3, and u_name_value_reference::vec3.
U32 * LLNameValue::getU32 | ( | ) |
Definition at line 633 of file llnamevalue.cpp.
References llendl, llerrs, mName, mNameValueReference, mType, NULL, NVT_U32, and u_name_value_reference::u32.
U64 * LLNameValue::getU64 | ( | ) |
Definition at line 646 of file llnamevalue.cpp.
References llendl, llerrs, mName, mNameValueReference, mType, NULL, NVT_U64, and u_name_value_reference::u64.
const char* LLNameValue::getType | ( | ) | const [inline] |
const char* LLNameValue::getClass | ( | ) | const [inline] |
const char* LLNameValue::getSendto | ( | ) | const [inline] |
BOOL LLNameValue::sendToData | ( | ) | const |
Definition at line 685 of file llnamevalue.cpp.
References mSendto, NVS_DATA_SIM, and NVS_DATA_SIM_VIEWER.
BOOL LLNameValue::sendToViewer | ( | ) | const |
Definition at line 691 of file llnamevalue.cpp.
References mSendto, NVS_DATA_SIM_VIEWER, and NVS_SIM_VIEWER.
void LLNameValue::callCallback | ( | ) |
std::string LLNameValue::printNameValue | ( | ) |
Definition at line 899 of file llnamevalue.cpp.
References llformat(), mName, mStringClass, mStringSendto, mStringType, and printData().
Referenced by LLViewerObject::printNameValuePairs().
std::string LLNameValue::printData | ( | ) |
Definition at line 908 of file llnamevalue.cpp.
References u_name_value_reference::f32, llendl, llerrs, llformat(), mNameValueReference, mStringType, mType, LLVector3::mV, NVT_ASSET, NVT_F32, NVT_S32, NVT_STRING, NVT_U32, NVT_U64, NVT_VEC3, u_name_value_reference::s32, u_name_value_reference::string, u_name_value_reference::u32, u_name_value_reference::u64, U64_BUFFER_LEN, U64_to_str(), u_name_value_reference::vec3, VX, VY, and VZ.
Referenced by LLAgent::getName(), and printNameValue().
ENameValueType LLNameValue::getTypeEnum | ( | ) | const [inline] |
ENameValueClass LLNameValue::getClassEnum | ( | ) | const [inline] |
ENameValueSendto LLNameValue::getSendtoEnum | ( | ) | const [inline] |
LLNameValue & LLNameValue::operator= | ( | const LLNameValue & | a | ) |
Definition at line 697 of file llnamevalue.cpp.
References u_name_value_reference::f32, llendl, llerrs, mClass, mNameValueReference, mType, NULL, NVC_READ_ONLY, NVT_ASSET, NVT_F32, NVT_S32, NVT_STRING, NVT_U32, NVT_U64, NVT_VEC3, u_name_value_reference::s32, u_name_value_reference::string, u_name_value_reference::u32, u_name_value_reference::u64, and u_name_value_reference::vec3.
void LLNameValue::setString | ( | const char * | a | ) |
Definition at line 742 of file llnamevalue.cpp.
References mClass, mNameValueReference, mType, NULL, NVC_READ_ONLY, NVT_STRING, and u_name_value_reference::string.
void LLNameValue::setAsset | ( | const char * | a | ) |
Definition at line 780 of file llnamevalue.cpp.
References mClass, mNameValueReference, mType, NULL, NVC_READ_ONLY, NVT_ASSET, and u_name_value_reference::string.
void LLNameValue::setF32 | ( | const F32 | a | ) |
Definition at line 815 of file llnamevalue.cpp.
References u_name_value_reference::f32, mClass, mNameValueReference, mType, NVC_READ_ONLY, and NVT_F32.
void LLNameValue::setS32 | ( | const S32 | a | ) |
Definition at line 833 of file llnamevalue.cpp.
References u_name_value_reference::f32, mClass, mNameValueReference, mType, NVC_READ_ONLY, NVT_F32, NVT_S32, NVT_U32, u_name_value_reference::s32, and u_name_value_reference::u32.
void LLNameValue::setVec3 | ( | const LLVector3 & | a | ) |
Definition at line 881 of file llnamevalue.cpp.
References llendl, llerrs, mClass, mNameValueReference, mStringType, mType, NVC_READ_ONLY, NVT_VEC3, and u_name_value_reference::vec3.
void LLNameValue::setU32 | ( | const U32 | a | ) |
Definition at line 857 of file llnamevalue.cpp.
References u_name_value_reference::f32, llendl, llerrs, mClass, mNameValueReference, mStringType, mType, NVC_READ_ONLY, NVT_F32, NVT_S32, NVT_U32, u_name_value_reference::s32, and u_name_value_reference::u32.
void LLNameValue::printNameValue | ( | std::ostream & | s | ) | [private] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLNameValue & | a | |||
) | [friend] |
Definition at line 943 of file llnamevalue.cpp.
char* LLNameValue::mName |
Definition at line 172 of file llnamevalue.h.
Referenced by LLViewerObject::addNVPair(), baseInit(), getAsset(), getF32(), getS32(), getString(), getU32(), getU64(), getVec3(), init(), LLNameValue(), printNameValue(), LLAssetInfo::setFromNameValue(), and ~LLNameValue().
char* LLNameValue::mStringType |
Definition at line 174 of file llnamevalue.h.
Referenced by baseInit(), getType(), init(), LLNameValue(), operator<<(), printData(), printNameValue(), setU32(), and setVec3().
Definition at line 175 of file llnamevalue.h.
Referenced by baseInit(), getAsset(), getF32(), getS32(), getString(), getTypeEnum(), getU32(), getU64(), getVec3(), init(), LLNameValue(), operator<<(), operator=(), printData(), setAsset(), setF32(), setS32(), setString(), setU32(), setVec3(), and ~LLNameValue().
Definition at line 176 of file llnamevalue.h.
Referenced by baseInit(), getClass(), init(), LLNameValue(), and printNameValue().
Definition at line 177 of file llnamevalue.h.
Referenced by LLViewerObject::addNVPair(), baseInit(), getClassEnum(), init(), LLNameValue(), operator=(), setAsset(), setF32(), setS32(), setString(), setU32(), and setVec3().
Definition at line 178 of file llnamevalue.h.
Referenced by baseInit(), getSendto(), init(), LLNameValue(), and printNameValue().
Definition at line 179 of file llnamevalue.h.
Referenced by baseInit(), getSendtoEnum(), init(), LLNameValue(), sendToData(), and sendToViewer().
Definition at line 181 of file llnamevalue.h.
Referenced by baseInit(), getAsset(), getF32(), getS32(), getString(), getU32(), getU64(), getVec3(), init(), LLNameValue(), operator<<(), operator=(), printData(), setAsset(), setF32(), setS32(), setString(), setU32(), setVec3(), and ~LLNameValue().
Definition at line 182 of file llnamevalue.h.
Referenced by baseInit(), init(), LLNameValue(), and ~LLNameValue().