#include <llinventorytype.h>
Public Types | |
IT_TEXTURE = 0 | |
IT_SOUND = 1 | |
IT_CALLINGCARD = 2 | |
IT_LANDMARK = 3 | |
IT_OBJECT = 6 | |
IT_NOTECARD = 7 | |
IT_CATEGORY = 8 | |
IT_ROOT_CATEGORY = 9 | |
IT_LSL = 10 | |
IT_SNAPSHOT = 15 | |
IT_ATTACHMENT = 17 | |
IT_WEARABLE = 18 | |
IT_ANIMATION = 19 | |
IT_GESTURE = 20 | |
IT_COUNT = 21 | |
IT_NONE = -1 | |
enum | EType { IT_TEXTURE = 0, IT_SOUND = 1, IT_CALLINGCARD = 2, IT_LANDMARK = 3, IT_OBJECT = 6, IT_NOTECARD = 7, IT_CATEGORY = 8, IT_ROOT_CATEGORY = 9, IT_LSL = 10, IT_SNAPSHOT = 15, IT_ATTACHMENT = 17, IT_WEARABLE = 18, IT_ANIMATION = 19, IT_GESTURE = 20, IT_COUNT = 21, IT_NONE = -1 } |
Static Public Member Functions | |
static EType | lookup (const char *name) |
static const char * | lookup (EType type) |
static const char * | lookupHumanReadable (EType type) |
static EType | defaultForAssetType (LLAssetType::EType asset_type) |
Private Member Functions | |
LLInventoryType (void) | |
~LLInventoryType (void) |
Definition at line 43 of file llinventorytype.h.
IT_TEXTURE | |
IT_SOUND | |
IT_CALLINGCARD | |
IT_LANDMARK | |
IT_OBJECT | |
IT_NOTECARD | |
IT_CATEGORY | |
IT_ROOT_CATEGORY | |
IT_LSL | |
IT_SNAPSHOT | |
IT_ATTACHMENT | |
IT_WEARABLE | |
IT_ANIMATION | |
IT_GESTURE | |
IT_COUNT | |
IT_NONE |
Definition at line 46 of file llinventorytype.h.
LLInventoryType::LLInventoryType | ( | void | ) | [private] |
LLInventoryType::~LLInventoryType | ( | void | ) | [private] |
LLInventoryType::EType LLInventoryType::defaultForAssetType | ( | LLAssetType::EType | asset_type | ) | [static] |
Definition at line 196 of file llinventorytype.cpp.
References LLAssetType::AT_COUNT, DEFAULT_ASSET_FOR_INV_TYPE, IT_NONE, and S32.
Referenced by LLInventoryItem::fromLLSD(), LLInventoryItem::importFile(), LLInventoryItem::importLegacyStream(), and upload_new_resource().
const char * LLInventoryType::lookup | ( | EType | type | ) | [static] |
Definition at line 152 of file llinventorytype.cpp.
References INVENTORY_TYPE_NAMES, IT_COUNT, NULL, and S32.
LLInventoryType::EType LLInventoryType::lookup | ( | const char * | name | ) | [static] |
Definition at line 165 of file llinventorytype.cpp.
References i, INVENTORY_TYPE_NAMES, IT_COUNT, IT_NONE, and S32.
Referenced by LLInventoryItem::asLLSD(), LLInventoryItem::exportFile(), LLViewerInventoryItem::exportFileLocal(), LLInventoryItem::exportFileXML(), LLInventoryItem::exportLegacyStream(), LLInventoryItem::fromLLSD(), LLInventoryItem::importFile(), LLInventoryItem::importLegacyStream(), LLInventoryItem::importXML(), ll_create_item_from_sd(), ll_create_sd_from_inventory_item(), safe_inv_type_lookup(), upload_new_resource(), and LLNewAgentInventoryResponder::uploadComplete().
const char * LLInventoryType::lookupHumanReadable | ( | EType | type | ) | [static] |
Definition at line 182 of file llinventorytype.cpp.
References INVENTORY_TYPE_HUMAN_NAMES, IT_COUNT, NULL, and S32.
Referenced by upload_done_callback().