LLAssetInfo Class Reference

#include <llassetstorage.h>

Collaboration diagram for LLAssetInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLAssetInfo (void)
 LLAssetInfo (const LLUUID &object_id, const LLUUID &creator_id, LLAssetType::EType type, const char *name, const char *desc)
 LLAssetInfo (const LLNameValue &nv)
const std::string & getName (void) const
const std::string & getDescription (void) const
void setName (const std::string &name)
void setDescription (const std::string &desc)
void setFromNameValue (const LLNameValue &nv)

Public Attributes

LLUUID mUuid
LLTransactionID mTransactionID
LLUUID mCreatorID
LLAssetType::EType mType

Protected Attributes

std::string mDescription
std::string mName

Detailed Description

Definition at line 59 of file llassetstorage.h.


Constructor & Destructor Documentation

LLAssetInfo::LLAssetInfo ( void   ) 

---------------------------------------------------------------------------- LLAssetInfo ----------------------------------------------------------------------------

Definition at line 64 of file llassetstorage.cpp.

LLAssetInfo::LLAssetInfo ( const LLUUID object_id,
const LLUUID creator_id,
LLAssetType::EType  type,
const char *  name,
const char *  desc 
)

Definition at line 72 of file llassetstorage.cpp.

References setDescription(), and setName().

LLAssetInfo::LLAssetInfo ( const LLNameValue nv  ) 

Definition at line 83 of file llassetstorage.cpp.

References setFromNameValue().


Member Function Documentation

const std::string& LLAssetInfo::getDescription ( void   )  const [inline]

Definition at line 77 of file llassetstorage.h.

References mDescription.

Referenced by upload_done_callback(), and LLFloaterReporter::uploadImage().

const std::string& LLAssetInfo::getName ( void   )  const [inline]

Definition at line 76 of file llassetstorage.h.

References mName.

Referenced by upload_done_callback(), and LLFloaterReporter::uploadImage().

void LLAssetInfo::setDescription ( const std::string &  desc  ) 

Definition at line 102 of file llassetstorage.cpp.

References DB_INV_ITEM_DESC_STR_LEN, llmin(), and mDescription.

Referenced by LLAssetInfo(), setFromNameValue(), LLFloaterReporter::takeScreenshot(), and upload_new_resource().

void LLAssetInfo::setFromNameValue ( const LLNameValue nv  ) 

Definition at line 122 of file llassetstorage.cpp.

References LLNameValue::getAsset(), llendl, llinfos, LLAssetType::lookup(), mCreatorID, LLNameValue::mName, mType, mUuid, LLUUID::set(), setDescription(), and setName().

Referenced by LLAssetInfo().

void LLAssetInfo::setName ( const std::string &  name  ) 

Definition at line 90 of file llassetstorage.cpp.

References DB_INV_ITEM_NAME_STR_LEN, llmin(), and mName.

Referenced by LLAssetInfo(), setFromNameValue(), LLFloaterReporter::takeScreenshot(), and upload_new_resource().


Member Data Documentation

LLUUID LLAssetInfo::mCreatorID

Definition at line 68 of file llassetstorage.h.

Referenced by setFromNameValue(), LLFloaterReporter::takeScreenshot(), and upload_new_resource().

std::string LLAssetInfo::mDescription [protected]

Definition at line 62 of file llassetstorage.h.

Referenced by getDescription(), and setDescription().

std::string LLAssetInfo::mName [protected]

Definition at line 63 of file llassetstorage.h.

Referenced by getName(), and setName().

LLTransactionID LLAssetInfo::mTransactionID

Definition at line 67 of file llassetstorage.h.

Referenced by LLFloaterReporter::takeScreenshot(), upload_done_callback(), upload_new_resource(), and LLFloaterReporter::uploadImage().

LLAssetType::EType LLAssetInfo::mType

Definition at line 69 of file llassetstorage.h.

Referenced by LLFloaterReporter::sendReportViaCaps(), setFromNameValue(), LLFloaterReporter::takeScreenshot(), upload_done_callback(), upload_new_resource(), and LLFloaterReporter::uploadImage().

LLUUID LLAssetInfo::mUuid

Definition at line 66 of file llassetstorage.h.

Referenced by LLFloaterImport::asset_uploaded_callback(), LLFloaterReporter::sendReportViaCaps(), setFromNameValue(), LLFloaterReporter::takeScreenshot(), upload_new_resource(), and LLFloaterReporter::uploadImage().


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