本文整理汇总了C++中LLMap::removeData方法的典型用法代码示例。如果您正苦于以下问题:C++ LLMap::removeData方法的具体用法?C++ LLMap::removeData怎么用?C++ LLMap::removeData使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LLMap
的用法示例。
在下文中一共展示了LLMap::removeData方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: DeletePointer
// virtual
LLFloaterReporter::~LLFloaterReporter()
{
gReporterInstances.removeData(mReportType);
// child views automatically deleted
mObjectID = LLUUID::null;
if (mPicking)
{
closePickTool(this);
}
mPosition.setVec(0.0f, 0.0f, 0.0f);
std::for_each(mMCDList.begin(), mMCDList.end(), DeletePointer() );
mMCDList.clear();
delete mResourceDatap;
gDialogVisible = FALSE;
}
示例2: setupNewSearch
void LLPanelDirBrowser::setupNewSearch()
{
LLScrollListCtrl* list = getChild<LLScrollListCtrl>("results");
gDirBrowserInstances.removeData(mSearchID);
// Make a new query ID
mSearchID.generate();
gDirBrowserInstances.addData(mSearchID, this);
// ready the list for results
list->operateOnAll(LLCtrlListInterface::OP_DELETE);
list->addCommentText(std::string("Searching...")); // *TODO: Translate
childDisable("results");
mResultsReceived = 0;
mHaveSearchResults = FALSE;
// Set all panels to be invisible
mFloaterDirectory->hideAllDetailPanels();
updateResultCount();
}
示例3: setupNewSearch
void LLPanelDirBrowser::setupNewSearch()
{
gDirBrowserInstances.removeData(mSearchID);
// Make a new query ID
mSearchID.generate();
gDirBrowserInstances.addData(mSearchID, this);
// ready the list for results
if (LLScrollListCtrl* list = findChild<LLScrollListCtrl>("results"))
{
list->operateOnAll(LLCtrlListInterface::OP_DELETE);
list->setCommentText(LLTrans::getString("Searching"));
list->setEnabled(false);
}
mResultsReceived = 0;
mHaveSearchResults = FALSE;
// Set all panels to be invisible
mFloaterDirectory->hideAllDetailPanels();
updateResultCount();
}
示例4:
// virtual
LLFloaterAvatarInfo::~LLFloaterAvatarInfo()
{
// child views automatically deleted
gAvatarInfoInstances.removeData(mAvatarID);
}
示例5:
LLFloaterEventInfo::~LLFloaterEventInfo()
{
// child views automatically deleted
gEventInfoInstances.removeData(mEventID);
}
示例6:
LLPanelDirBrowser::~LLPanelDirBrowser()
{
// Children all cleaned up by default view destructor.
gDirBrowserInstances.removeData(mSearchID);
}
示例7:
LLFloaterClassifiedInfo::~LLFloaterClassifiedInfo()
{
// child views automatically deleted
gClassifiedInfoInstances.removeData(mClassifiedID);
}
示例8:
// virtual
LLFloaterParcelInfo::~LLFloaterParcelInfo()
{
// child views automatically deleted
gPlaceInfoInstances.removeData(mParcelID);
}