本文整理汇总了C++中IdList::push_back方法的典型用法代码示例。如果您正苦于以下问题:C++ IdList::push_back方法的具体用法?C++ IdList::push_back怎么用?C++ IdList::push_back使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IdList
的用法示例。
在下文中一共展示了IdList::push_back方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: EditEntry
bool QueueEditor::EditEntry(DownloadQueue* downloadQueue, int ID, DownloadQueue::EEditAction action, int offset, const char* text)
{
m_downloadQueue = downloadQueue;
IdList cIdList;
cIdList.push_back(ID);
return InternEditList(nullptr, &cIdList, action, offset, text);
}
示例2: GetIds
void BadUserDialog::GetIds(IdList &theList)
{
ListArea *aList = mIsSimple?mSimpleUserList.get():mUserList.get();
theList.clear();
aList->RewindSelections();
while(aList->HasMoreSelections())
{
BadUserItem *anItem = (BadUserItem *)aList->GetNextSelection();
theList.push_back(anItem->mColInt[1]);
}
}
示例3: getDefaultDimensions
Dimension::IdList TerrasolidReader::getDefaultDimensions()
{
using namespace Dimension;
IdList dims;
dims.push_back(Id::Classification);
dims.push_back(Id::PointSourceId);
dims.push_back(Id::ReturnNumber);
dims.push_back(Id::NumberOfReturns);
dims.push_back(Id::Flag);
dims.push_back(Id::Mark);
dims.push_back(Id::Intensity);
dims.push_back(Id::X);
dims.push_back(Id::Y);
dims.push_back(Id::Z);
dims.push_back(Id::Red);
dims.push_back(Id::Green);
dims.push_back(Id::Blue);
dims.push_back(Id::Alpha);
dims.push_back(Id::OffsetTime);
return dims;
}
示例4: GetSessionList
void Debugger::GetSessionList(IdList& output) const
{
output.clear();
for (auto& itr : m_sessions)
output.push_back(itr.first);
}