Doxygen
NamespaceTreeContext类 参考

#include <context.h>

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

class  Private
 

Public 成员函数

virtual TemplateVariant get (const QCString &name) const
 Gets the value for a field name. 更多...
 
virtual StringVector fields () const
 Return the list of fields. 更多...
 
 NamespaceTreeContext ()
 
virtual ~NamespaceTreeContext ()
 
- Public 成员函数 继承自 TemplateStructIntf
virtual ~TemplateStructIntf ()
 Destroys the struct 更多...
 

静态 Public 成员函数

static TemplateStructIntfPtr alloc ()
 

Private 属性

std::unique_ptr< Privatep
 

详细描述

在文件 context.h628 行定义.

构造及析构函数说明

◆ NamespaceTreeContext()

NamespaceTreeContext::NamespaceTreeContext ( )

在文件 context.cpp6307 行定义.

6307  : p(std::make_unique<Private>())
6308 {
6309 }

◆ ~NamespaceTreeContext()

NamespaceTreeContext::~NamespaceTreeContext ( )
virtual

在文件 context.cpp6311 行定义.

6312 {
6313 }

成员函数说明

◆ alloc()

static TemplateStructIntfPtr NamespaceTreeContext::alloc ( )
inlinestatic

在文件 context.h631 行定义.

632  { return std::static_pointer_cast<TemplateStructIntf>(std::make_shared<NamespaceTreeContext>()); }

被这些函数引用 generateOutputViaTemplate().

◆ fields()

StringVector NamespaceTreeContext::fields ( ) const
virtual

Return the list of fields.

实现了 TemplateStructIntf.

在文件 context.cpp6320 行定义.

6321 {
6322  return p->fields();
6323 }

引用了 p.

◆ get()

TemplateVariant NamespaceTreeContext::get ( const QCString name) const
virtual

Gets the value for a field name.

参数
[in]nameThe name of the field.

实现了 TemplateStructIntf.

在文件 context.cpp6315 行定义.

6316 {
6317  return p->get(name);
6318 }

引用了 p.

类成员变量说明

◆ p

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

在文件 context.h642 行定义.

被这些函数引用 fields() , 以及 get().


该类的文档由以下文件生成:
NamespaceTreeContext::p
std::unique_ptr< Private > p
Definition: context.h:642