Doxygen
SymbolListContext::Private类 参考
+ 类 SymbolListContext::Private 继承关系图:
+ SymbolListContext::Private 的协作图:

Public 成员函数

 Private (const SearchIndexList::const_iterator &start, const SearchIndexList::const_iterator &end)
 
- Public 成员函数 继承自 GenericNodeListContext
 GenericNodeListContext ()
 
uint count () const
 Returns the number of elements in the list 更多...
 
TemplateVariant at (uint index) const
 Returns the element at index position index. 更多...
 
TemplateListIntf::ConstIteratorPtr createIterator () const
 Creates a new iterator for this list. 更多...
 
void append (const TemplateVariant &ctn)
 
bool isEmpty () const
 
- Public 成员函数 继承自 TemplateListIntf
virtual ~TemplateListIntf ()
 Destroys the list 更多...
 

额外继承的成员函数

- Public 类型 继承自 TemplateListIntf
using ConstIteratorPtr = std::unique_ptr< ConstIterator >
 
- 静态 Public 成员函数 继承自 GenericNodeListContext
static TemplateListIntfPtr alloc ()
 

详细描述

在文件 context.cpp8493 行定义.

构造及析构函数说明

◆ Private()

SymbolListContext::Private::Private ( const SearchIndexList::const_iterator &  start,
const SearchIndexList::const_iterator &  end 
)
inline

在文件 context.cpp8496 行定义.

8498  {
8499  const Definition *prev = 0;
8500  for (auto it = start; it!=end;)
8501  {
8502  const Definition *def = *it;
8503  ++it;
8504  const Definition *next = it!=end ? *it : 0;
8505  append(SymbolContext::alloc(def,prev,next));
8506  prev = def;
8507  }
8508  }

引用了 SymbolContext::alloc(), GenericNodeListContext::append() , 以及 end().


该类的文档由以下文件生成:
Definition
The common base class of all entity definitions found in the sources.
Definition: definition.h:76
GenericNodeListContext::append
void append(const TemplateVariant &ctn)
Definition: context.cpp:220
SymbolContext::alloc
static TemplateStructIntfPtr alloc(const Definition *def, const Definition *prev, const Definition *next)
Definition: context.h:1230
end
DirIterator end(const DirIterator &) noexcept
Definition: dir.cpp:128