Doxygen
ClassTreeContext类 参考

#include <context.h>

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

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. 更多...
 
 ClassTreeContext ()
 
virtual ~ClassTreeContext ()
 
- Public 成员函数 继承自 TemplateStructIntf
virtual ~TemplateStructIntf ()
 Destroys the struct 更多...
 

静态 Public 成员函数

static TemplateStructIntfPtr alloc ()
 

Private 属性

std::unique_ptr< Privatep
 

详细描述

在文件 context.h566 行定义.

构造及析构函数说明

◆ ClassTreeContext()

ClassTreeContext::ClassTreeContext ( )

在文件 context.cpp6139 行定义.

6139  : p(std::make_unique<Private>())
6140 {
6141 }

◆ ~ClassTreeContext()

ClassTreeContext::~ClassTreeContext ( )
virtual

在文件 context.cpp6143 行定义.

6144 {
6145 }

成员函数说明

◆ alloc()

static TemplateStructIntfPtr ClassTreeContext::alloc ( )
inlinestatic

在文件 context.h569 行定义.

570  { return std::static_pointer_cast<TemplateStructIntf>(std::make_shared<ClassTreeContext>()); }

被这些函数引用 generateOutputViaTemplate().

◆ fields()

StringVector ClassTreeContext::fields ( ) const
virtual

Return the list of fields.

实现了 TemplateStructIntf.

在文件 context.cpp6152 行定义.

6153 {
6154  return p->fields();
6155 }

引用了 p.

◆ get()

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

Gets the value for a field name.

参数
[in]nameThe name of the field.

实现了 TemplateStructIntf.

在文件 context.cpp6147 行定义.

6148 {
6149  return p->get(name);
6150 }

引用了 p.

类成员变量说明

◆ p

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

在文件 context.h580 行定义.

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


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