LLUUID Class Reference

#include <lluuid.h>

Inheritance diagram for LLUUID:

Inheritance graph
[legend]
Collaboration diagram for LLUUID:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLUUID ()
 LLUUID (const char *in_string)
 LLUUID (const std::string &in_string)
 LLUUID (const LLUUID &in)
LLUUIDoperator= (const LLUUID &rhs)
 ~LLUUID ()
void generate ()
BOOL set (const char *in_string, BOOL emit=TRUE)
BOOL set (const std::string &in_string, BOOL emit=TRUE)
void setNull ()
S32 cmpTime (uuid_time_t *t1, uuid_time_t *t2)
void getCurrentTime (uuid_time_t *timestamp)
BOOL isNull () const
BOOL notNull () const
bool operator== (const LLUUID &rhs) const
bool operator!= (const LLUUID &rhs) const
bool operator< (const LLUUID &rhs) const
bool operator> (const LLUUID &rhs) const
const LLUUIDoperator^= (const LLUUID &rhs)
LLUUID operator^ (const LLUUID &rhs) const
LLUUID combine (const LLUUID &other) const
void combine (const LLUUID &other, LLUUID &result) const
void toString (char *out) const
void toCompressedString (char *out) const
std::string asString () const
std::string getString () const
U16 getCRC16 () const
U32 getCRC32 () const

Static Public Member Functions

static void getSystemTime (uuid_time_t *timestamp)
static BOOL validate (const std::string &in_string)
static BOOL validate (const char *in_string)
static U32 getRandomSeed ()
static S32 getNodeID (unsigned char *node_id)
static BOOL parseUUID (const char *buf, LLUUID *value)

Public Attributes

U8 mData [UUID_BYTES]

Static Public Attributes

static const LLUUID null

Friends

std::ostream & operator<< (std::ostream &s, const LLUUID &uuid)
std::istream & operator>> (std::istream &s, LLUUID &uuid)

Detailed Description

Definition at line 49 of file lluuid.h.


Constructor & Destructor Documentation

LLUUID::LLUUID (  )  [inline]

Definition at line 131 of file lluuid.h.

References setNull().

LLUUID::LLUUID ( const char *  in_string  )  [inline, explicit]

Definition at line 229 of file lluuid.h.

References set(), and setNull().

LLUUID::LLUUID ( const std::string &  in_string  )  [inline, explicit]

Definition at line 240 of file lluuid.h.

References set(), and setNull().

LLUUID::LLUUID ( const LLUUID in  )  [inline]

Definition at line 200 of file lluuid.h.

References mData.

LLUUID::~LLUUID (  )  [inline]

Definition at line 210 of file lluuid.h.


Member Function Documentation

std::string LLUUID::asString (  )  const

Definition at line 185 of file lluuid.cpp.

References toString(), and UUID_STR_SIZE.

Referenced by LLIMMgr::addPendingAgentListUpdates(), LLPanelGroupGeneral::apply(), LLPanelDatabase::apply(), LLFloaterImport::asset_uploaded_callback(), LLTrustNetExplainRequest::asString(), LLTrustNetRateRequest::asString(), LLTrustNetScoreRequest::asString(), LLUserAuth::authenticate(), LLTextureFetchWorker::callbackHttpGet(), LLIMMgr::clearPendingAgentListUpdates(), LLIMMgr::clearPendingVoiceInviation(), cmd_gohome(), LLTextureFetchWorker::doWork(), LLAssetUploadResponder::error(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), LLMessageSystem::generateDigestForNumberAndUUIDs(), LLIMMgr::getPendingAgentListUpdates(), getString(), LLAvatarDebug::handleEvent(), LLIMMgr::inviteToSession(), LLFloaterAvatarList::luskwoodCommand(), LLFloaterAvatarList::onClickTrustNetExplain(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLXMLNode::performUnitTest(), process_improved_im(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelDirBrowser::processDirPlacesReply(), LLPanelDirBrowser::processDirPopularReply(), LLFloaterAvatarTextures::refresh(), LLPanelFriends::requestFriendship(), LLFloaterBuyLandUI::runWebSitePrep(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), send_estate_message(), LLPanelAvatarTab::sendAvatarProfileRequestIfNeeded(), LLPanelClassified::sendClassifiedClickMessage(), LLPanelPick::sendPickInfoRequest(), LLXMLNode::setUUIDValue(), LLCurrencyUIManager::Impl::startCurrencyBuy(), LLCurrencyUIManager::Impl::updateCurrencyInfo(), LLFloaterEventLog::updateSelectedEventInfo(), LLFloaterTopObjects::updateSelectionInfo(), LLVOAvatar::updateTextures(), LLFloaterBuyLandUI::updateWebSiteInfo(), LLLiveLSLEditor::uploadAssetLegacy(), LLPreviewLSL::uploadAssetLegacy(), and LLAssetUploadResponder::uploadFailure().

S32 LLUUID::cmpTime ( uuid_time_t t1,
uuid_time_t t2 
)

Definition at line 693 of file lluuid.cpp.

References uuid_time_t::high, and uuid_time_t::low.

Referenced by generate(), and getCurrentTime().

void LLUUID::combine ( const LLUUID other,
LLUUID result 
) const

Definition at line 397 of file lluuid.cpp.

References LLMD5::finalize(), mData, LLMD5::raw_digest(), and LLMD5::update().

LLUUID LLUUID::combine ( const LLUUID other  )  const

Definition at line 406 of file lluuid.cpp.

Referenced by LLTransactionID::makeAssetID().

void LLUUID::generate (  ) 

Definition at line 786 of file lluuid.cpp.

References cmpTime(), LLMD5::finalize(), get_random_bytes(), getCurrentTime(), getNodeID(), uuid_time_t::high, ll_rand(), uuid_time_t::low, mData, LLMD5::raw_digest(), and LLMD5::update().

Referenced by LLHTTPAssetStorage::checkForTimeouts(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLFloaterCompileQueue::compile(), LLIMMgr::computeSessionID(), container_inventory_arrived(), create_random_inventory_cat(), create_random_inventory_item(), LLWearableList::createCopy(), LLWearableList::createCopyFromAvatar(), LLWearableList::createLegacyWearableFromAvatar(), LLInventoryModel::createNewCategory(), LLWearableList::createNewWearable(), LLViewerObjectList::createObject(), LLViewerObjectList::createObjectViewer(), LLHUDManager::createViewerEffect(), derez_objects(), tut::TestLLSDSerializeData::doRoundTripTests(), LLFloaterAvatarPicker::find(), LLParcel::generateNewID(), LLXferManager::getNextID(), LLNetwork2080Bridge::getRandomID(), LLPermissions::getSafeOwner(), LLDir::getTempFilename(), handle_export_selected(), handle_grab_texture(), LLPanelGroupRolesSubTab::handleCreateRole(), LLAvatarGiveCard::handleEvent(), LLGroupMoneyTabEventHandler::impl::impl(), LLParcel::importStream(), LLXfer_VFile::initializeRequest(), LLPanelClassified::initNewClassified(), LLPanelPick::initNewPick(), LLBakedUploadData::LLBakedUploadData(), LLCircuitData::LLCircuitData(), LLLiveLSLEditor::LLLiveLSLEditor(), tut::LLMessageConfigTestData::LLMessageConfigTestData(), LLTextEditor::LLTextEditor(), LLTransferTargetVFile::LLTransferTargetVFile(), LLUserOperation::LLUserOperation(), LLViewerImage::LLViewerImage(), LLWorldEvent::LLWorldEvent(), LLFloaterRegionInfo::nextInvoice(), LLFloaterAvatarList::onClickIM(), LLSelectMgr::packDeRezHeader(), LLFloaterAnimPreview::postBuild(), LLTexLayerSetBuffer::readBackAndUpload(), LLPanelGroupLandMoney::impl::requestGroupLandInfo(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLSnapshotLivePreview::saveTexture(), send_estate_ban(), send_estate_message(), LLPanelClassified::sendClassifiedInfoUpdate(), LLGroupMgr::sendGroupMembersRequest(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMembersRequest(), LLGroupMgr::sendGroupTitlesRequest(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLPanelPick::sendPickInfoUpdate(), LLFloaterPostcard::sendPostcard(), LLPanelDirBrowser::setupNewSearch(), LLFloaterReporter::takeScreenshot(), LLAudioEngine::triggerSound(), LLInventoryItem::unpackBinaryBucket(), upload_new_resource(), and wear_inventory_category_on_avatar_step2().

U16 LLUUID::getCRC16 (  )  const [inline]

Definition at line 279 of file lluuid.h.

References mData.

U32 LLUUID::getCRC32 (  )  const [inline]

Definition at line 295 of file lluuid.h.

References mData.

Referenced by LLPermissions::getCRC32(), and LLInventoryItem::getCRC32().

void LLUUID::getCurrentTime ( uuid_time_t timestamp  ) 

Definition at line 735 of file lluuid.cpp.

References cmpTime(), FALSE, getSystemTime(), uuid_time_t::high, init(), uuid_time_t::low, and TRUE.

Referenced by generate().

S32 LLUUID::getNodeID ( unsigned char *  node_id  )  [static]

Definition at line 621 of file lluuid.cpp.

References ifreq_size, n, and tut::sd().

Referenced by generate(), getRandomSeed(), and main().

U32 LLUUID::getRandomSeed (  )  [static]

Definition at line 871 of file lluuid.cpp.

References LLMD5::finalize(), getNodeID(), getSystemTime(), LLMD5::raw_digest(), and LLMD5::update().

Referenced by LLVOSky::updateHaze().

std::string LLUUID::getString (  )  const

Definition at line 180 of file lluuid.cpp.

References asString().

void LLUUID::getSystemTime ( uuid_time_t timestamp  )  [static]

Definition at line 704 of file lluuid.cpp.

References uuid_time_t::high, and uuid_time_t::low.

Referenced by getCurrentTime(), and getRandomSeed().

BOOL LLUUID::isNull (  )  const [inline]

Definition at line 192 of file lluuid.h.

References mData.

Referenced by LLFloaterChat::addChatHistory(), LLFloaterScriptDebugOutput::addLine(), LLIMMgr::addMessage(), LLIMMgr::addSystemMessage(), LLHTTPAssetStorage::addTempAssetData(), LLAgent::addWearabletoAgentInventoryDone(), LLPermissions::allowOperationBy(), LLAnimationLibrary::animStateToString(), LLPanelGroupGeneral::apply(), LLInventoryItem::asLLSD(), LLAgent::autoPilot(), LLParcel::blockAccess(), build_transfer_message_to_destination(), build_transfer_message_to_source(), LLPanelGroupRolesSubTab::buildMembersList(), LLFloaterNetwork2080::buildURL(), LLPanelObjectTools::callbackSimWideDeletes(), LLViewerParcelMgr::canAgentBuyParcel(), LLIMMgr::createFloater(), LLMotionRegistry::createMotion(), LLPermissions::deedToGroup(), LLUserOperationMgr::deleteExpiredOperations(), LLPanelPlace::displayParcelInfo(), LLDiscardAgentOffer::done(), LLOutfitObserver::done(), LLViewerObject::doUpdateInventory(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLIconCtrl::draw(), LLVOAvatar::dumpAvatarTEs(), LLHTTPAssetStorage::dumpTempAssetData(), enable_export_selected(), enable_save_into_inventory(), enable_save_into_task_inventory(), LLInventoryItem::exportFile(), LLInventoryItem::exportFileXML(), LLInventoryItem::exportLegacyStream(), LLParcel::exportStream(), LLAvatarTracker::findAgent(), LLInventoryModel::findCategoryUUIDForType(), LLFloaterProperties::findItem(), ActivateGestureCallback::fire(), RezAttachmentCallback::fire(), WearOnAvatarCallback::fire(), LLInventoryCallbackManager::fire(), LLAgent::addWearableToAgentInventoryCallback::fire(), LLPermissions::fixOwnership(), LLRegionNameCache::get(), get_text_color(), LLFloaterAvatarList::getAvatarEntry(), LLFloaterChat::getAvatarName(), LLFloaterChat::getChatAvatar(), LLFloaterChat::getChatPosition(), LLAssetStorage::getEstateAsset(), LLViewerImageList::getImageFromFile(), LLViewerImageList::getImageFromUUID(), LLPreview::getItem(), LLGroupRoleData::getMembersInRole(), LLPanelContents::getState(), LLAgent::getWearablePermMask(), handle_take(), LLPanelGroupRolesSubTab::handleDeleteRole(), LLToolsSaveToObjectInventory::handleEvent(), LLObjectEnableReportAbuse::handleEvent(), LLPreview::handleHover(), LLFloaterImport::handleMouseDown(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLRegionNameCache::importFile(), LLParcel::importStream(), LLFloaterPostcard::init(), init_group_list(), LLVOGrass::initClass(), LLParcel::isBuyerAuthorized(), LLFloaterScriptQueue::isDone(), PendingReply::isDone(), LLAgent::isGroupMember(), LLInventoryModel::isObjectDescendentOf(), LLParcel::isPublic(), LLAgent::isWearableCopyable(), LLAgent::isWearableModifiable(), join_group_callback(), LLAudioData::LLAudioData(), LLGroupNotifyBox::LLGroupNotifyBox(), LLLiveLSLEditor::LLLiveLSLEditor(), LLNameBox::LLNameBox(), LLNameEditor::LLNameEditor(), LLPreviewNotecard::LLPreviewNotecard(), LLVolume::LLVolume(), LLPreviewNotecard::loadAsset(), LLPreviewGesture::loadAsset(), LLMuteList::loadFromFile(), make_ui_sound(), LLTransactionID::makeAssetID(), LLAgent::makeNewOutfit(), LLInventoryModel::messageUpdateCore(), LLPanelGroupGeneral::needsApply(), LLFloaterWorldMap::onAvatarComboPrearrange(), LLFloaterProperties::onClickCreator(), LLPanelObjectTools::onClickDeleteAllOwnedBy(), LLPanelObjectTools::onClickDeleteAllScriptedOwnedBy(), LLPanelObjectTools::onClickDeletePublicOwnedBy(), LLFloaterProperties::onClickOwner(), LLPanelRegionDebugInfo::onClickReturnScriptedAll(), LLPanelRegionDebugInfo::onClickReturnScriptedOtherLand(), LLVOAvatar::onCustomizeEnd(), LLFloaterWorldMap::onLandmarkComboCommit(), LLFloaterWorldMap::onLandmarkComboPrearrange(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLPanelEditWearable::onTextureCommit(), LLTexLayerSetBuffer::onTextureUploadComplete(), LLCallingCardBridge::openItem(), LLBuddyCollector::operator()(), SetItemOwnerAndGroup::operator()(), LLCallingCardBridge::performAction(), LLViewerWindow::performPick(), LLAudioSource::play(), LLFloaterScriptQueue::popNext(), LLPanelGroupGeneral::postBuild(), process_covenant_reply(), process_improved_im(), process_places_reply(), LLAgent::processAgentInitialWearablesUpdate(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelDirBrowser::processDirPlacesReply(), LLPanelDirBrowser::processDirPopularReply(), LLPanelGroupLandMoney::impl::processGroupLand(), LLViewerObjectList::processObjectUpdate(), LLPanelLandObjects::processParcelObjectOwnersReply(), LLStatusBar::refresh(), LLPanelPermissions::refresh(), LLPanelLandInfo::refresh(), LLPanelLandMedia::refresh(), LLPanelLandGeneral::refresh(), LLFloaterGesture::refreshAll(), LLFloaterClothing::refreshAll(), LLFloaterAvatarList::refreshAvatarList(), LLFloaterProperties::refreshFromItem(), LLPanelRegionDebugInfo::refreshFromRegion(), LLPanelLandGeneral::refreshNames(), LLPanelActiveSpeakers::refreshSpeakers(), LLTracker::render3D(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), LLLandmark::requestRegionHandle(), LLPreviewNotecard::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLSelectMgr::selectGetCreator(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectGetLastOwner(), LLSelectMgr::selectGetOwner(), send_sound_trigger(), LLAgent::sendAnimationRequest(), LLAgent::sendAnimationRequests(), LLPanelClassified::sendClassifiedInfoUpdate(), LLMessageSystem::sendCreateTrustedCircuit(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMembersRequest(), LLFloaterIMPanel::sendMsg(), LLViewerParcelMgr::sendParcelDeed(), LLPanelPick::sendPickInfoUpdate(), LLViewerObject::setAttachedSound(), LLPanelAvatar::setAvatarID(), LLPermissions::setBaseBits(), LLPermissions::setEveryoneBits(), LLPermissions::setGroupBits(), LLFloaterTexturePicker::setImageID(), LLTracker::setLandmarkVisited(), LLPermissions::setNextOwnerBits(), LLPermissions::setOwnerAndGroup(), LLPermissions::setOwnerBits(), LLAgent::setSitCamera(), LLPanelObjectTools::setTargetAvatar(), LLFloaterPreference::show(), LLFloaterParcelInfo::show(), LLFloaterClassifiedInfo::show(), LLFloaterAvatarInfo::show(), LLFloaterGroupInvite::showForGroup(), LLFloaterGroupInfo::showNotice(), LLInventoryModel::startBackgroundFetch(), LLAgent::startFollowPilot(), LLAudioEngine::startNextTransfer(), LLTracker::stopTrackingAvatar(), LLHUDEffectSpiral::unpackData(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), LLTransferTargetParamsVFile::unpackParams(), LLFloaterTelehub::unpackTelehubInfo(), LLPanelGroupActionsSubTab::update(), LLPanelGroupRolesSubTab::update(), LLPanelGroupMembersSubTab::update(), LLPanelGroupRoles::update(), LLPanelGroupGeneral::update(), LLFloaterAvatarList::updateAvatarList(), LLInventoryModel::updateCategory(), LLFloaterBuyLandUI::updateCovenantText(), LLInventoryModel::updateItem(), LLViewerImageList::updateMovieImage(), LLFloaterBuyLandUI::updateParcelInfo(), LLFloaterProperties::updateSaleInfo(), and LLFloaterTopObjects::updateSelectionInfo().

BOOL LLUUID::notNull (  )  const [inline]

Definition at line 184 of file lluuid.h.

References mData.

Referenced by LLPanelGroupGeneral::activate(), LLGestureManager::activateGestureWithAsset(), LLMuteList::add(), LLInventoryModel::addChangedMask(), LLAgent::addWearabletoAgentInventoryDone(), LLParcel::allowModifyBy(), LLPermissions::allowOperationBy(), LLSelectNode::allowOperationOnNode(), LLInventoryModel::buildParentChildMap(), LLViewerParcelMgr::canAgentBuyParcel(), LLInventoryModel::collectDescendentsIf(), copy_inventory_from_notecard(), LLPermissions::deedToGroup(), disconnect_viewer(), LLDiscardAgentOffer::done(), LLFloaterTexturePicker::draw(), LLFloaterAnimPreview::draw(), LLFloaterIMPanel::dropCallingCard(), LLPanelGroups::enableButtons(), LLFloaterCustomize::fetchInventory(), LLInventoryModel::findCatUUID(), LLPermissions::fixOwnership(), LLFloaterWorldMap::friendsChanged(), LLLandmark::getGlobalPos(), LLViewerImageList::getImageFromFile(), LLAssetStorage::getInvItemAsset(), LLPermissions::getOwnership(), LLClipboard::getPasteWString(), LLLandmark::getRegionID(), LLPermissions::getSafeOwner(), LLAgent::getWearableInventoryItem(), handle_take(), LLToolPie::handleDoubleClick(), LLViewEnableLastChatter::handleEvent(), LLFloaterImport::handleMouseDown(), LLAgent::hasPowerInActiveGroup(), idle_startup(), LLInventoryModel::isInventoryUsable(), LLPermissions::isOwned(), LLPreview::LLPreview(), LLPreviewNotecard::loadAsset(), LLAgent::makeNewOutfitDone(), LLFloaterWorldMap::onAvatarComboCommit(), LLPreview::onBtnCopyToInv(), LLFloaterAnimPreview::onBtnPlay(), LLFloaterAnimPreview::onBtnStop(), LLFloaterIMPanel::onClose(), LLPreview::onCommit(), LLPanelAvatarSecondLife::onDoubleClickGroup(), LLFloaterLandHoldings::onGrantList(), LLFloaterTexturePicker::onTextureSelect(), LLUniqueBuddyCollector::operator()(), LLPanelGroupSubTab::postBuild(), LLPanelGroupGeneral::postBuild(), process_covenant_reply(), process_sound_trigger(), LLAgent::processAgentDataUpdate(), LLAgent::processAgentGroupDataUpdate(), LLPanelAvatar::processAvatarGroupsReply(), LLGroupMgr::processGroupRoleMembersReply(), LLWorldMap::processMapBlockReply(), LLPanelPlace::processParcelInfoReply(), LLViewerParcelMgr::reclaimParcel(), LLPanelPermissions::refresh(), LLPanelLandInfo::refresh(), LLFloaterTelehub::refresh(), LLPanelLandGeneral::refresh(), LLFloaterProperties::refreshFromItem(), LLPanelLandGeneral::refreshNames(), LLPanelActiveSpeakers::refreshSpeakers(), LLFloaterSellLandUI::refreshUI(), LLURLDispatcherImpl::regionHandleCallback(), LLFloaterTelehub::renderBeacons(), LLGestureManager::replaceGesture(), LLMapLayerResponder::result(), LLFloaterIMPanel::sendMsg(), LLPreview::setItemID(), LLPreview::setSourceID(), LLFloaterGroupInfo::showFromUUID(), LLAudioEngine::startNextTransfer(), LLPostTeleportNotifiers::tick(), LLAvatarTracker::track(), LLViewerPartSourceScript::update(), LLPanelGroupGeneral::update(), LLAudioEngine::updateBufferForData(), LLFloaterSellLandUI::updateParcelInfo(), LLPanelAvatarSecondLife::updatePartnerName(), LLFloaterGroupInvite::~LLFloaterGroupInvite(), and LLPreview::~LLPreview().

bool LLUUID::operator!= ( const LLUUID rhs  )  const [inline]

Definition at line 162 of file lluuid.h.

References mData.

bool LLUUID::operator< ( const LLUUID rhs  )  const [inline]

Definition at line 253 of file lluuid.h.

References i, mData, and UUID_BYTES.

LLUUID & LLUUID::operator= ( const LLUUID rhs  )  [inline]

Definition at line 215 of file lluuid.h.

References mData.

bool LLUUID::operator== ( const LLUUID rhs  )  const [inline]

Definition at line 149 of file lluuid.h.

References mData.

bool LLUUID::operator> ( const LLUUID rhs  )  const [inline]

Definition at line 266 of file lluuid.h.

References i, mData, and UUID_BYTES.

LLUUID LLUUID::operator^ ( const LLUUID rhs  )  const

Definition at line 390 of file lluuid.cpp.

const LLUUID & LLUUID::operator^= ( const LLUUID rhs  ) 

Definition at line 379 of file lluuid.cpp.

References mData, and S32.

BOOL LLUUID::parseUUID ( const char *  buf,
LLUUID value 
) [static]

Definition at line 889 of file lluuid.cpp.

References FALSE, NULL, set(), LLStringBase< char >::trim(), TRUE, and validate().

Referenced by LLXmlTreeNode::getFastAttributeUUID(), and LLXMLNode::getUUIDValue().

BOOL LLUUID::set ( const std::string &  in_string,
BOOL  emit = TRUE 
)

Definition at line 192 of file lluuid.cpp.

References set().

BOOL LLUUID::set ( const char *  in_string,
BOOL  emit = TRUE 
)

Definition at line 197 of file lluuid.cpp.

References FALSE, i, llendl, llerrs, llinfos, llwarns, mData, S32, setNull(), TRUE, UUID_BYTES, and UUID_STR_LENGTH.

Referenced by LLPanelDirBrowser::addClassified(), LLViewerJointAttachment::addObject(), LLLandmark::constructFromString(), LLPanelDirBrowser::createLandSale(), LLSlider::draw(), LLScrollbar::draw(), LLOverlayBar::draw(), LLConsole::draw(), LLNotifyBox::drawBackground(), LLIconCtrl::fromXML(), LLParcelHandler::handle(), LLGroupHandler::handle(), LLClassifiedHandler::handle(), LLAgentHandler::handle(), LLFloaterAvatarList::handleIM(), idle_startup(), LLParcel::importAccessEntry(), LLPermissions::importFile(), LLInventoryCategory::importFile(), LLInventoryItem::importFile(), LLViewerInventoryCategory::importFileLocal(), LLPermissions::importLegacyStream(), LLInventoryCategory::importLegacyStream(), LLInventoryItem::importLegacyStream(), LLInventoryObject::importLegacyStream(), LLParcel::importStream(), LLWorldMapView::initClass(), LLVOGrass::initClass(), LLIconCtrl::LLIconCtrl(), LLSculptParams::LLSculptParams(), LLUUID(), LLViewerParcelMgr::LLViewerParcelMgr(), operator>>(), parseUUID(), LLPanelLandObjects::postBuild(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelDirBrowser::processDirPopularReply(), LLPanelDatabase::refresh(), LLHUDText::renderText(), LLManip::renderXYZ(), LLFloaterAvatarList::requestMiscInfo(), set(), LLAssetInfo::setFromNameValue(), LLDataPackerAsciiFile::unpackUUID(), and LLDataPackerAsciiBuffer::unpackUUID().

void LLUUID::setNull (  )  [inline]

Definition at line 138 of file lluuid.h.

References mData.

Referenced by add_duplicate(), add_object(), LLTracker::cacheLandmarkPosition(), LLParcel::clearSale(), LLParcel::completeSale(), LLViewerInventoryItem::copy(), LLPermissions::deedToGroup(), LLUserOperationMgr::deleteExpiredOperations(), PendingReply::done(), LLToolDragAndDrop::dropObject(), LLParcel::expireSale(), export_complete(), LLInventoryItem::fromLLSD(), LLClipboard::getPasteWString(), handle_take(), LLToolSelect::handleMouseDown(), LLToolObjPicker::handleMouseDown(), LLFloaterImport::handleMouseDown(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLInventoryItem::importFile(), LLInventoryItem::importLegacyStream(), LLParcel::init(), LLFloaterAuction::initialize(), LLAssetUploadResponder::LLAssetUploadResponder(), LLMotionTableEntry::LLMotionTableEntry(), LLUUID(), LLWearable::LLWearable(), LLPreviewNotecard::loadAsset(), LLTransactionID::makeAssetID(), LLFloaterScriptQueue::nextObject(), LLFloaterWorldMap::onLandmarkComboCommit(), LLToolObjPicker::onMouseCaptureLost(), LLToolDragAndDrop::onMouseCaptureLost(), LLTexLayerSetBuffer::onTextureUploadComplete(), LLParcel::overrideOwner(), LLToolPie::pickAndShowMenu(), LLToolGrab::pickCallback(), LLFloaterAnimPreview::postBuild(), LLAgent::processAgentDataUpdate(), LLAgent::processAgentDropGroup(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLViewerJointAttachment::removeObject(), LLAgent::removeWearableFinal(), LLTexLayerSetBuffer::requestUpdate(), LLPanelPick::reset(), LLPanelClassified::reset(), LLPanelPlace::resetLocation(), LLPanelDirBrowser::selectByUUID(), set(), LLTextureCtrl::setImageAssetID(), LLAgent::setWearableOutfit(), LLParcel::startSale(), stop_video(), LLTracker::stopTrackingLandmark(), LLViewerImageList::updateMovieImage(), LLFloaterBuyLandUI::updateParcelInfo(), and tut::UUIDTableEntry::UUIDTableEntry().

void LLUUID::toCompressedString ( char *  out  )  const

Definition at line 174 of file lluuid.cpp.

References mData, and UUID_BYTES.

Referenced by LLVoiceClient::nameFromID().

void LLUUID::toString ( char *  out  )  const

Definition at line 152 of file lluuid.cpp.

References mData.

Referenced by asString(), LLMuteList::cache(), LLInventoryModel::cache(), LLHTTPAssetStorage::checkForTimeouts(), cmd_get_key(), LLFloaterCompileQueue::compile(), LLVOAvatar::dumpArchetypeXML(), LLPermissions::exportFile(), LLInventoryCategory::exportFile(), LLInventoryItem::exportFile(), LLInventoryObject::exportFile(), LLViewerInventoryCategory::exportFileLocal(), LLViewerInventoryItem::exportFileLocal(), LLPermissions::exportLegacyStream(), LLInventoryCategory::exportLegacyStream(), LLInventoryItem::exportLegacyStream(), LLInventoryObject::exportLegacyStream(), LLParcel::exportStream(), LLVFSThread::Request::getFilename(), LLDir::getTempFilename(), LLAudioEngine::hasDecodedFile(), LLXfer_VFile::init(), LLXfer_VFile::initializeRequest(), LLPanelEstateInfo::kickUserConfirm(), LLAssetStorage::legacyGetDataCallback(), LLFloaterAbout::LLFloaterAbout(), LLAudioData::load(), LLInventoryModel::loadSkeleton(), LLFloaterAvatarList::onClickGetKey(), LLPanelRegionGeneralInfo::onKickAllCommit(), LLPanelRegionGeneralInfo::onKickCommit(), LLPanelRegionGeneralInfo::onMessageCommit(), LLPreviewNotecard::onSaveComplete(), LLWearable::onSaveNewAssetComplete(), operator<<(), LLInventoryItem::packBinaryBucket(), LLDataPackerAsciiFile::packUUID(), LLDataPackerAsciiBuffer::packUUID(), LLItemBridge::performAction(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLAudioDecodeMgr::Impl::processQueue(), LLMuteList::processUseCachedMuteList(), LLFloaterAvatarList::replaceVars(), LLMuteList::requestFromServer(), LLFloaterAvatarList::requestTrustNetScore(), LLWearable::saveNewAsset(), LLMuteList::saveToFile(), LLFloaterCompileQueue::scriptArrived(), send_estate_ban(), and LLPanelEstateInfo::sendEstateAccessDelta().

BOOL LLUUID::validate ( const char *  in_string  )  [static]

Definition at line 311 of file lluuid.cpp.

References FALSE, i, TRUE, and UUID_STR_LENGTH.

BOOL LLUUID::validate ( const std::string &  in_string  )  [static]

Definition at line 306 of file lluuid.cpp.

Referenced by LLWearable::importFile(), and parseUUID().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLUUID uuid 
) [friend]

Definition at line 413 of file lluuid.cpp.

std::istream& operator>> ( std::istream &  s,
LLUUID uuid 
) [friend]

Definition at line 422 of file lluuid.cpp.


Member Data Documentation

U8 LLUUID::mData[UUID_BYTES]

Definition at line 126 of file lluuid.h.

Referenced by LLTemplateMessageBuilder::addUUID(), LLInventoryItem::asLLSD(), bytestream2uuid(), LLUUIDHashMap< DATA_TYPE, SIZE >::check(), combine(), LLToolDragAndDrop::commitGiveInventoryItem(), LLXMLNode::createUnitTest(), LLVFSFileBlock::deserialize(), LLGesture::deserialize(), LLMail::encryptIMEmailAddress(), LLInventoryItem::exportFile(), LLInventoryItem::exportFileXML(), LLInventoryItem::exportLegacyStream(), LLInventoryItem::fromLLSD(), generate(), LLUUIDHashMap< DATA_TYPE, SIZE >::get(), LLTexLayer::getAlphaData(), getCRC16(), getCRC32(), LLXferManager::getNextID(), LLVoiceClient::IDFromName(), LLInventoryItem::importFile(), LLInventoryItem::importLegacyStream(), LLInventoryItem::importXML(), inventory_offer_callback(), isNull(), ll_create_item_from_sd(), LLUUID(), LLViewerRegion::loadCache(), main(), LLNetwork2080Bridge::makeID(), notNull(), operator!=(), operator<(), operator=(), operator==(), operator>(), operator^=(), LLDataPackerBinaryBuffer::packUUID(), LLXMLNode::performUnitTest(), LLPartSysCompressedPacket::readUUID(), LLUUIDHashMap< DATA_TYPE, SIZE >::remove(), LLTexLayer::renderAlphaMasks(), LLViewerRegion::saveCache(), LLVFSFileBlock::serialize(), LLGesture::serialize(), LLUUIDHashMap< DATA_TYPE, SIZE >::set(), set(), setNull(), toCompressedString(), toString(), LLHUDEffectSpiral::unpackData(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), LLHUDEffectBeam::unpackData(), LLDataPackerBinaryBuffer::unpackUUID(), LLVOAvatar::updateCharacter(), uuid2bytestream(), and LLPartSysCompressedPacket::writeUUID().

const LLUUID LLUUID::null [static]

Definition at line 119 of file lluuid.h.

Referenced by LLPermissions::accumulate(), LLPreviewGesture::addAnimations(), LLButton::addImageAttributeToXML(), LLIMMgr::addMessage(), LLPanelGroupInvite::impl::addRoleNames(), LLFloaterScriptDebug::addScriptLine(), LLIMMgr::addSession(), LLPreviewGesture::addSounds(), LLIMMgr::addSystemMessage(), LLPermissions::allowCopyBy(), LLPermissions::allowModifyBy(), LLParcel::allowModifyBy(), LLPermissions::allowMoveBy(), LLAgent::allowOperation(), LLSelectNode::allowOperationOnNode(), LLParcel::allowTerraformBy(), LLViewerWindow::analyzeHit(), LLAudioEngine::assetCallback(), LLVFS::audit(), LLCallingCardBridge::buildContextMenu(), LLFloaterWorldMap::buildLandmarkIDLists(), LLInventoryModel::buildParentChildMap(), callback_choose_gender(), callback_deed_to_group(), callback_load_url_name(), LLFloaterMute::callbackMuteByName(), LLVOAvatar::canGrabLocalTexture(), LLVFS::checkMem(), LLAgent::cleanup(), LLTextureCtrl::clear(), LLPanelGroupInvite::clear(), LLPanelAvatarSecondLife::clearControls(), LLParcel::clearParcel(), LLParcel::clearSale(), LLFloaterGroupInfo::closeCreateGroup(), LLPanelEstateInfo::commitEstateInfo(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLWearableList::createCopy(), LLWearableList::createCopyFromAvatar(), LLWearableList::createLegacyWearableFromAvatar(), LLWearableList::createNewWearable(), LLViewerObjectList::createObject(), LLAgent::createStandardWearables(), LLToolDragAndDrop::dad3dActivateGesture(), LLToolDragAndDrop::dad3dRezAttachmentFromInv(), LLToolDragAndDrop::dad3dRezFromObjectOnLand(), LLToolDragAndDrop::dad3dRezFromObjectOnObject(), LLToolDragAndDrop::dad3dWearItem(), LLInventoryModel::deleteFromServer(), LLPanelPlace::displayParcelInfo(), LLCategoryDropObserver::done(), LLViewerImageList::doPreloadImages(), tut::TestLLSDSerializeData::doRoundTripTests(), LLViewerGesture::doTrigger(), LLViewerObject::doUpdateInventory(), LLPanelInventory::draw(), LLPanelEditWearable::draw(), LLToolDragAndDrop::dropObject(), LLParcel::expireSale(), LLInventoryItem::exportFile(), LLInventoryItem::exportLegacyStream(), LLUI::findAssetUUIDByName(), LLInventoryModel::findCatUUID(), LLFloaterTexturePicker::findItemID(), LLFloaterLandmark::findItemID(), LLEmbeddedNotecardOpener::fire(), GestureShowCallback::fire(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), LLNameEditor::fromXML(), LLFloaterReporter::gatherReport(), LLAvatarTracker::getAvatarID(), LLRadioGroup::getCurrentID(), LLMaterialTable::getDefaultTextureID(), LLEventEmitter::getID(), LLViewerPartSource::getImageUUID(), LLMuteList::getMutes(), LLFloaterReporter::getObjectInfo(), LLVOAvatar::getOffObject(), LLEventEmitter::getOwnerID(), LLFloaterInspect::getSelectedUUID(), LLMessageSystem::getSenderID(), LLMessageSystem::getSenderSessionID(), LLPanelObject::getState(), LLPanelFace::getState(), LLScrollListCtrl::getStringUUIDSelectedItem(), LLHTTPAssetStorage::getTempAssetAgentID(), LLAssetStorage::getTempAssetAgentID(), LLAppearance::getTexture(), LLViewerObjectList::getUUIDFromLocal(), LLPanelObject::getVolumeParams(), LLAgent::getWearableItem(), LLVOAvatar::grabLocalTexture(), handle_claim_public_land(), handle_deed_object_to_group(), handle_force_unlock(), handle_grab_texture(), handle_leave_group(), LLWorldMapView::handleClick(), LLVoiceChannelGroup::handleError(), LLShowFloater::handleEvent(), LLToolsSaveToInventory::handleEvent(), LLObjectEdit::handleEvent(), LLAttachObject::handleEvent(), LLToolGrab::handleHoverActive(), LLPanelFriends::handleRemove(), LLFloaterTopObjects::handleReply(), idle_startup(), LLPanelGroupVoting::impl::impl(), LLPanelGroupLandMoney::impl::impl(), LLPermissions::importFile(), LLPermissions::importLegacyStream(), LLParcel::init(), init_group_list(), LLFloaterCustomize::initWearablePanels(), inventory_offer_callback(), LLParcel::isAgentBlockedFromParcel(), LLFloaterAnimPreview::LLFloaterAnimPreview(), LLImagePreviewAvatar::LLImagePreviewAvatar(), LLImagePreviewSculpted::LLImagePreviewSculpted(), LLPanelGroupInvite::LLPanelGroupInvite(), LLPanelLogin::LLPanelLogin(), LLParcel::LLParcel(), LLPermissions::LLPermissions(), LLTextureEntry::LLTextureEntry(), LLVOPartGroup::LLVOPartGroup(), LLXfer_VFile::LLXfer_VFile(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLInventoryModel::loadFromFile(), LLPanelEstateCovenant::loadInvItem(), LLInventoryModel::loadMeat(), LLLogTextMessage::log(), lscript_run(), LLTrustNetDatum::notify(), LLFloaterAvatarPicker::onBtnAdd(), LLPreview::onBtnCopyToInv(), LLFloaterTexturePicker::onBtnNone(), LLFloaterGesture::onClickEdit(), LLFloaterGesture::onClickNew(), LLPanelContents::onClickNewScript(), LLPanelPermissions::onClickRelease(), LLFloaterTelehub::onClickRemoveSpawnPoint(), onClickScriptDebug(), LLPanelLandGeneral::onClickStopSellLand(), LLFloaterSellLandUI::onConfirmSale(), LLObjectReturn::onReturnToOwner(), LLFloaterInspect::onSelectObject(), open_offer(), open_texture(), LLWearableBridge::openItem(), LLGestureBridge::openItem(), LLNotecardBridge::openItem(), LLParcel::packAccessEntries(), LLHUDEffectPointAt::packData(), LLHUDEffectLookAt::packData(), LLSelectMgr::packGodlikeHead(), LLIMInfo::packMessageBlock(), LLObjectBridge::performAction(), LLPanelGroupGeneral::postBuild(), LLInventoryPanel::postBuild(), process_improved_im(), process_kill_object(), LLInventoryModel::processBulkUpdateInventory(), LLXferManager::processFileRequest(), LLGroupMgr::processGroupRoleMembersReply(), LLAvatarTracker::processNotify(), LLSelectMgr::processObjectPropertiesFamily(), LLFloaterChat::processObjectPropertiesFamily(), LLViewerObject::processTaskInv(), LLAgent::recoverMissingWearableDone(), LLPanelInventory::refresh(), LLPanelLandOptions::refresh(), LLFloaterBuyLandUI::refreshUI(), LLMuteList::remove(), LLAgent::requestEnterGodMode(), LLAgent::requestLeaveGodMode(), LLMuteList::saveToFile(), LLSelectMgr::selectionSetImage(), send_estate_ban(), send_estate_message(), send_generic_message(), send_group_notice(), send_improved_im(), send_parcel_select_objects(), send_return_objects_message(), send_sound_trigger(), LLAgent::sendAgentWearablesUpdate(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelDwellRequest(), LLPanelRequestTools::sendRequest(), session_starter_helper(), LLViewerObject::setAttachedSound(), LLAgent::setStartPosition(), LLViewerObject::setTETextureCore(), LLFloaterTrustNetRate::show(), LLFloaterLandHoldings::show(), LLFloaterGodTools::show(), LLFloaterGesture::show(), LLFloaterClothing::show(), show_permissions_control(), LLFloaterGroupInfo::showCreateGroup(), LLShowProps::showProperties(), LLXfer_Mem::startDownload(), LLXfer_File::startDownload(), LLFolderView::startDrag(), LLAgent::startFollowPilot(), stop_video(), LLAgent::stopAutoPilot(), LLHTTPAssetStorage::storeAssetData(), LLPanelGroupInvite::impl::submitInvitations(), LLAgent::teleportHome(), LLViewerObject::unpackParticleSource(), LLAvatarTracker::untrack(), LLPanelGroupInvite::update(), LLPanelGroupGeneral::update(), update_texture_ctrl(), LLAgent::updateCamera(), LLFloaterEventLog::updateList(), LLSelectMgr::updateSelectionCenter(), LLHoverView::updateText(), upload_done_callback(), LLNewAgentInventoryResponder::uploadComplete(), wear_outfit_by_name(), LLWearableBridge::wearOnAvatar(), and LLFloaterReporter::~LLFloaterReporter().


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