Doxygen
NamespaceListContext类 参考

#include <context.h>

+ 类 NamespaceListContext 继承关系图:
+ NamespaceListContext 的协作图:

class  Private
 

Public 成员函数

virtual uint count () const
 Returns the number of elements in the list 更多...
 
virtual TemplateVariant at (uint index) const
 Returns the element at index position index. 更多...
 
virtual TemplateListIntf::ConstIteratorPtr createIterator () const
 Creates a new iterator for this list. 更多...
 
 NamespaceListContext ()
 
virtual ~NamespaceListContext ()
 
- Public 成员函数 继承自 TemplateListIntf
virtual ~TemplateListIntf ()
 Destroys the list 更多...
 

静态 Public 成员函数

static TemplateListIntfPtr alloc ()
 

Private 属性

std::unique_ptr< Privatep
 

额外继承的成员函数

- Public 类型 继承自 TemplateListIntf
using ConstIteratorPtr = std::unique_ptr< ConstIterator >
 

详细描述

在文件 context.h607 行定义.

构造及析构函数说明

◆ NamespaceListContext()

NamespaceListContext::NamespaceListContext ( )

在文件 context.cpp6218 行定义.

6218  : p(std::make_unique<Private>())
6219 {
6220  p->addNamespaces(*Doxygen::namespaceLinkedMap);
6221 }

引用了 Doxygen::namespaceLinkedMap , 以及 p.

◆ ~NamespaceListContext()

NamespaceListContext::~NamespaceListContext ( )
virtual

在文件 context.cpp6223 行定义.

6224 {
6225 }

成员函数说明

◆ alloc()

static TemplateListIntfPtr NamespaceListContext::alloc ( )
inlinestatic

在文件 context.h610 行定义.

611  { return std::static_pointer_cast<TemplateListIntf>(std::make_shared<NamespaceListContext>()); }

被这些函数引用 generateOutputViaTemplate().

◆ at()

TemplateVariant NamespaceListContext::at ( uint  index) const
virtual

Returns the element at index position index.

实现了 TemplateListIntf.

在文件 context.cpp6233 行定义.

6234 {
6235  return p->at(index);
6236 }

引用了 p.

◆ count()

uint NamespaceListContext::count ( ) const
virtual

Returns the number of elements in the list

实现了 TemplateListIntf.

在文件 context.cpp6228 行定义.

6229 {
6230  return p->count();
6231 }

引用了 p.

◆ createIterator()

TemplateListIntf::ConstIteratorPtr NamespaceListContext::createIterator ( ) const
virtual

Creates a new iterator for this list.

注解
the user should call delete on the returned pointer.

实现了 TemplateListIntf.

在文件 context.cpp6238 行定义.

6239 {
6240  return p->createIterator();
6241 }

引用了 p.

类成员变量说明

◆ p

std::unique_ptr<Private> NamespaceListContext::p
private

在文件 context.h622 行定义.

被这些函数引用 at(), count(), createIterator() , 以及 NamespaceListContext().


该类的文档由以下文件生成:
NamespaceListContext::p
std::unique_ptr< Private > p
Definition: context.h:622
Doxygen::namespaceLinkedMap
static NamespaceLinkedMap * namespaceLinkedMap
Definition: doxygen.h:97