Doxygen
ModuleTreeContext类 参考

#include <context.h>

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

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

静态 Public 成员函数

static TemplateStructIntfPtr alloc ()
 

Private 属性

std::unique_ptr< Privatep
 

详细描述

在文件 context.h817 行定义.

构造及析构函数说明

◆ ModuleTreeContext()

ModuleTreeContext::ModuleTreeContext ( )

在文件 context.cpp6888 行定义.

6888  : p(std::make_unique<Private>())
6889 {
6890 }

◆ ~ModuleTreeContext()

ModuleTreeContext::~ModuleTreeContext ( )
virtual

在文件 context.cpp6892 行定义.

6893 {
6894 }

成员函数说明

◆ alloc()

static TemplateStructIntfPtr ModuleTreeContext::alloc ( )
inlinestatic

在文件 context.h820 行定义.

821  { return std::static_pointer_cast<TemplateStructIntf>(std::make_shared<ModuleTreeContext>()); }

被这些函数引用 generateOutputViaTemplate().

◆ fields()

StringVector ModuleTreeContext::fields ( ) const
virtual

Return the list of fields.

实现了 TemplateStructIntf.

在文件 context.cpp6901 行定义.

6902 {
6903  return p->fields();
6904 }

引用了 p.

◆ get()

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

Gets the value for a field name.

参数
[in]nameThe name of the field.

实现了 TemplateStructIntf.

在文件 context.cpp6896 行定义.

6897 {
6898  return p->get(name);
6899 }

引用了 p.

类成员变量说明

◆ p

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

在文件 context.h831 行定义.

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


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