LLNameValue Class Reference

#include <llnamevalue.h>

Collaboration diagram for LLNameValue:

Collaboration graph
[legend]

List of all members.

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
F32getF32 ()
S32getS32 ()
void getVec3 (LLVector3 &vec)
LLVector3getVec3 ()
U32getU32 ()
U64getU64 ()
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
LLNameValueoperator= (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
LLStringTablemNVNameTable

Private Member Functions

void printNameValue (std::ostream &s)

Friends

std::ostream & operator<< (std::ostream &s, const LLNameValue &a)


Detailed Description

Definition at line 120 of file llnamevalue.h.


Constructor & Destructor Documentation

LLNameValue::LLNameValue (  ) 

Definition at line 90 of file llnamevalue.cpp.

References baseInit().

Here is the call graph for this function:

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.

Here is the call graph for this function:

LLNameValue::LLNameValue ( const char *  name,
const char *  type,
const char *  nvclass 
)

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

Here is the call graph for this function:

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

Here is the call graph for this function:

LLNameValue::~LLNameValue (  ) 


Member Function Documentation

void LLNameValue::baseInit (  ) 

void LLNameValue::init ( const char *  name,
const char *  data,
const char *  type,
const char *  nvclass,
const char *  nvsendto 
)

char * LLNameValue::getString (  ) 

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

Here is the caller graph for this function:

F32 * LLNameValue::getF32 (  ) 

S32 * LLNameValue::getS32 (  ) 

void LLNameValue::getVec3 ( LLVector3 vec  ) 

LLVector3 * LLNameValue::getVec3 (  ) 

U32 * LLNameValue::getU32 (  ) 

U64 * LLNameValue::getU64 (  ) 

const char* LLNameValue::getType (  )  const [inline]

Definition at line 143 of file llnamevalue.h.

References mStringType.

const char* LLNameValue::getClass (  )  const [inline]

Definition at line 144 of file llnamevalue.h.

References mStringClass.

const char* LLNameValue::getSendto (  )  const [inline]

Definition at line 145 of file llnamevalue.h.

References mStringSendto.

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

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLNameValue::printData (  ) 

ENameValueType LLNameValue::getTypeEnum (  )  const [inline]

Definition at line 154 of file llnamevalue.h.

References mType.

ENameValueClass LLNameValue::getClassEnum (  )  const [inline]

Definition at line 155 of file llnamevalue.h.

References mClass.

ENameValueSendto LLNameValue::getSendtoEnum (  )  const [inline]

Definition at line 156 of file llnamevalue.h.

References mSendto.

LLNameValue & LLNameValue::operator= ( const LLNameValue a  ) 

void LLNameValue::setString ( const char *  a  ) 

void LLNameValue::setAsset ( const char *  a  ) 

void LLNameValue::setF32 ( const F32  a  ) 

void LLNameValue::setS32 ( const S32  a  ) 

void LLNameValue::setVec3 ( const LLVector3 a  ) 

void LLNameValue::setU32 ( const U32  a  ) 

void LLNameValue::printNameValue ( std::ostream &  s  )  [private]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLNameValue a 
) [friend]

Definition at line 943 of file llnamevalue.cpp.


Member Data Documentation

Definition at line 176 of file llnamevalue.h.

Referenced by baseInit(), getClass(), init(), LLNameValue(), and printNameValue().

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 182 of file llnamevalue.h.

Referenced by baseInit(), init(), LLNameValue(), and ~LLNameValue().


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

Generated on Fri May 16 08:54:31 2008 for SecondLife by  doxygen 1.5.5