#include <llassettype.h>
Definition at line 39 of file llassettype.h.
enum LLAssetType::EType |
Definition at line 42 of file llassettype.h.
LLAssetType::LLAssetType | ( | void | ) | [inline, private] |
Definition at line 167 of file llassettype.h.
LLAssetType::~LLAssetType | ( | void | ) | [inline, private] |
Definition at line 168 of file llassettype.h.
void LLAssetType::generateDescriptionFor | ( | LLAssetType::EType | type, | |
std::string & | desc | |||
) | [static] |
Definition at line 245 of file llassettype.cpp.
References lookupHumanReadable(), and S32.
Referenced by LLInventoryPanel::createNewItem(), and LLPanelContents::onClickNewScript().
std::string LLAssetType::getDesc | ( | EType | type | ) | [static] |
Definition at line 90 of file llassettype.cpp.
References asset_types, AT_NONE, asset_info_t::desc, and S32.
Referenced by LLVFS::dumpStatistics(), and LLVFS::listFiles().
LLAssetType::EType LLAssetType::getType | ( | const std::string & | sin | ) | [static] |
Definition at line 75 of file llassettype.cpp.
References asset_types, AT_NONE, s, S32, LLStringBase< char >::toUpper(), and asset_info_t::type.
const char * LLAssetType::lookup | ( | LLAssetType::EType | type | ) | [static] |
---------------------------------------------------------------------------- class LLAssetType ----------------------------------------------------------------------------
Definition at line 169 of file llassettype.cpp.
References AT_COUNT, mAssetTypeNames, and S32.
LLAssetType::EType LLAssetType::lookup | ( | const char * | name | ) | [static] |
Definition at line 182 of file llassettype.cpp.
References AT_COUNT, AT_NONE, i, mAssetTypeNames, and S32.
Referenced by LLAssetStorage::_cleanupRequests(), LLInventoryItem::asLLSD(), LLHTTPAssetStorage::bumpTimedOutUploads(), LLHTTPAssetStorage::checkForTimeouts(), LLTransferTargetVFile::completionCallback(), LLInvFVBridge::createBridge(), LLAssetStorage::deletePendingRequest(), LLAssetStorage::downloadCompleteCallback(), LLInventoryCategory::exportFile(), LLInventoryItem::exportFile(), LLInventoryObject::exportFile(), LLViewerInventoryCategory::exportFileLocal(), LLViewerInventoryItem::exportFileLocal(), LLInventoryItem::exportFileXML(), LLInventoryCategory::exportLegacyStream(), LLInventoryItem::exportLegacyStream(), LLInventoryObject::exportLegacyStream(), LLInventoryItem::fromLLSD(), LLAssetStorage::getEstateAsset(), LLAssetStorage::getInvItemAsset(), LLAssetStorage::getPendingDetails(), LLAssetRequest::getTerseDetails(), LLInventoryCategory::importFile(), LLInventoryItem::importFile(), LLViewerInventoryCategory::importFileLocal(), LLInventoryCategory::importLegacyStream(), LLInventoryItem::importLegacyStream(), LLInventoryObject::importLegacyStream(), LLInventoryItem::importXML(), LLXfer_VFile::init(), LLXfer_VFile::initializeRequest(), LLAssetStorage::legacyGetDataCallback(), ll_create_category_from_sd(), ll_create_item_from_sd(), ll_create_sd_from_inventory_category(), ll_create_sd_from_inventory_item(), LLXferManager::processFileRequest(), LLFloaterCompileQueue::scriptArrived(), LLAssetInfo::setFromNameValue(), LLViewerAssetStorage::storeAssetData(), LLHTTPAssetStorage::storeAssetData(), upload_new_resource(), LLNewAgentInventoryResponder::uploadComplete(), and LLFloaterReporter::uploadImage().
EDragAndDropType LLAssetType::lookupDragAndDropType | ( | EType | ) | [static] |
Definition at line 222 of file llassettype.cpp.
References AT_ANIMATION, AT_BODYPART, AT_CALLINGCARD, AT_CATEGORY, AT_CLOTHING, AT_GESTURE, AT_LANDMARK, AT_LSL_TEXT, AT_NOTECARD, AT_OBJECT, AT_ROOT_CATEGORY, AT_SCRIPT, AT_SOUND, AT_TEXTURE, DAD_ANIMATION, DAD_BODYPART, DAD_CALLINGCARD, DAD_CATEGORY, DAD_CLOTHING, DAD_GESTURE, DAD_LANDMARK, DAD_NONE, DAD_NOTECARD, DAD_OBJECT, DAD_ROOT_CATEGORY, DAD_SCRIPT, DAD_SOUND, and DAD_TEXTURE.
Referenced by LLViewerTextEditor::handleHover(), LLPreview::handleHover(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), and LLInvFVBridge::startDrag().
const char * LLAssetType::lookupHumanReadable | ( | EType | type | ) | [static] |
Definition at line 196 of file llassettype.cpp.
References AT_COUNT, mAssetTypeHumanNames, NULL, and S32.
LLAssetType::EType LLAssetType::lookupHumanReadable | ( | const char * | name | ) | [static] |
Definition at line 209 of file llassettype.cpp.
References AT_COUNT, AT_NONE, i, mAssetTypeHumanNames, and S32.
Referenced by generateDescriptionFor(), LLAssetRequest::getTerseDetails(), LLTransferSourceAsset::initTransfer(), inventory_offer_handler(), and LLWearableList::processGetAssetReply().
const char * LLAssetType::mAssetTypeHumanNames [static, private] |
Initial value:
{ "texture", "sound", "calling card", "landmark", "legacy script", "clothing", "object", "note card", "folder", "root", "lsl2 script", "lsl bytecode", "tga texture", "body part", "trash", "snapshot", "lost and found", "sound", "targa image", "jpeg image", "animation", "gesture", "simstate", }
Definition at line 172 of file llassettype.h.
Referenced by lookupHumanReadable().
const char * LLAssetType::mAssetTypeNames [static, private] |
Initial value:
{ "texture", "sound", "callcard", "landmark", "script", "clothing", "object", "notecard", "category", "root", "lsltext", "lslbyte", "txtr_tga", "bodypart", "trash", "snapshot", "lstndfnd", "snd_wav", "img_tga", "jpeg", "animatn", "gesture", "simstate", }
Definition at line 171 of file llassettype.h.
Referenced by lookup().