Doxygen
ClassTreeContext::Private类 参考
+ ClassTreeContext::Private 的协作图:

Public 成员函数

 Private ()
 
TemplateVariant get (const QCString &n) const
 
StringVector fields () const
 

Private 成员函数

TemplateVariant tree () const
 
TemplateVariant fileName () const
 
TemplateVariant relPath () const
 
TemplateVariant highlight () const
 
TemplateVariant subhighlight () const
 
TemplateVariant maxDepth () const
 
TemplateVariant preferredDepth () const
 
TemplateVariant title () const
 
int createMaxDepth () const
 
int createPreferredDepth () const
 

Private 属性

TemplateListIntfPtr m_classTree
 
CachedItem< int, Private, &Private::createMaxDepthm_maxDepth
 
CachedItem< int, Private, &Private::createPreferredDepthm_preferredDepth
 

静态 Private 属性

static const PropertyMap< ClassTreeContext::Privates_inst
 

详细描述

在文件 context.cpp6078 行定义.

构造及析构函数说明

◆ Private()

ClassTreeContext::Private::Private ( )
inline

在文件 context.cpp6081 行定义.

6082  {
6084  auto ctx = std::dynamic_pointer_cast<NestingContext>(m_classTree);
6085  ClassDefSet visitedClasses;
6086  ctx->addNamespaces(*Doxygen::namespaceLinkedMap,TRUE,TRUE,FALSE,visitedClasses);
6087  ctx->addClasses(*Doxygen::classLinkedMap,TRUE,visitedClasses);
6088  }

引用了 NestingContext::alloc(), Doxygen::classLinkedMap, ClassNesting, FALSE, m_classTree, Doxygen::namespaceLinkedMap , 以及 TRUE.

成员函数说明

◆ createMaxDepth()

int ClassTreeContext::Private::createMaxDepth ( ) const
inlineprivate

在文件 context.cpp6110 行定义.

6111  {
6112  return computeMaxDepth(m_classTree);
6113  }

引用了 computeMaxDepth() , 以及 m_classTree.

◆ createPreferredDepth()

int ClassTreeContext::Private::createPreferredDepth ( ) const
inlineprivate

在文件 context.cpp6114 行定义.

6115  {
6116  return computePreferredDepth(m_classTree,m_maxDepth.get(this));
6117  }

引用了 computePreferredDepth(), m_classTree , 以及 m_maxDepth.

◆ fields()

StringVector ClassTreeContext::Private::fields ( ) const
inline

在文件 context.cpp6092 行定义.

6092 { return s_inst.fields(); }

引用了 PropertyMap< T >::fields() , 以及 s_inst.

◆ fileName()

TemplateVariant ClassTreeContext::Private::fileName ( ) const
inlineprivate

在文件 context.cpp6097 行定义.

6097 { return "annotated"; }

◆ get()

TemplateVariant ClassTreeContext::Private::get ( const QCString n) const
inline

在文件 context.cpp6091 行定义.

6091 { return s_inst.get(this,n); }

引用了 PropertyMap< T >::get() , 以及 s_inst.

◆ highlight()

TemplateVariant ClassTreeContext::Private::highlight ( ) const
inlineprivate

在文件 context.cpp6099 行定义.

6099 { return "classes"; }

◆ maxDepth()

TemplateVariant ClassTreeContext::Private::maxDepth ( ) const
inlineprivate

在文件 context.cpp6101 行定义.

6101 { return m_maxDepth.get(this); }

引用了 m_maxDepth.

◆ preferredDepth()

TemplateVariant ClassTreeContext::Private::preferredDepth ( ) const
inlineprivate

在文件 context.cpp6102 行定义.

6102 { return m_preferredDepth.get(this); }

引用了 m_preferredDepth.

◆ relPath()

TemplateVariant ClassTreeContext::Private::relPath ( ) const
inlineprivate

在文件 context.cpp6098 行定义.

6098 { return ""; }

◆ subhighlight()

TemplateVariant ClassTreeContext::Private::subhighlight ( ) const
inlineprivate

在文件 context.cpp6100 行定义.

6100 { return "classlist"; }

◆ title()

TemplateVariant ClassTreeContext::Private::title ( ) const
inlineprivate

在文件 context.cpp6103 行定义.

6104  {
6105  return Config_getBool(OPTIMIZE_FOR_FORTRAN) ? theTranslator->trCompoundListFortran() :
6106  Config_getBool(OPTIMIZE_OUTPUT_VHDL) ? theTranslator->trDesignUnitList() :
6108  }

引用了 Config_getBool, theTranslator, Translator::trClasses(), Translator::trCompoundListFortran() , 以及 Translator::trDesignUnitList().

◆ tree()

TemplateVariant ClassTreeContext::Private::tree ( ) const
inlineprivate

在文件 context.cpp6096 行定义.

6096 { return TemplateVariant(m_classTree); }

引用了 m_classTree.

类成员变量说明

◆ m_classTree

TemplateListIntfPtr ClassTreeContext::Private::m_classTree
private

在文件 context.cpp6118 行定义.

被这些函数引用 createMaxDepth(), createPreferredDepth(), Private() , 以及 tree().

◆ m_maxDepth

CachedItem<int, Private, &Private::createMaxDepth> ClassTreeContext::Private::m_maxDepth
private

在文件 context.cpp6119 行定义.

被这些函数引用 createPreferredDepth() , 以及 maxDepth().

◆ m_preferredDepth

CachedItem<int, Private, &Private::createPreferredDepth> ClassTreeContext::Private::m_preferredDepth
private

在文件 context.cpp6120 行定义.

被这些函数引用 preferredDepth().

◆ s_inst

const PropertyMap< ClassTreeContext::Private > ClassTreeContext::Private::s_inst
staticprivate
初始值:
{
{ "tree", &Private::tree },
{ "fileName", &Private::fileName },
{ "relPath", &Private::relPath },
{ "highlight", &Private::highlight },
{ "subhighlight", &Private::subhighlight },
{ "title", &Private::title },
{ "preferredDepth",&Private::preferredDepth },
{ "maxDepth", &Private::maxDepth }
}

在文件 context.cpp6121 行定义.

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


该类的文档由以下文件生成:
ClassTreeContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:6098
ClassTreeContext::Private::s_inst
static const PropertyMap< ClassTreeContext::Private > s_inst
Definition: context.cpp:6121
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
ClassTreeContext::Private::maxDepth
TemplateVariant maxDepth() const
Definition: context.cpp:6101
computePreferredDepth
static int computePreferredDepth(const TemplateListIntfPtr list, int maxDepth)
Definition: context.cpp:5167
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
ClassTreeContext::Private::preferredDepth
TemplateVariant preferredDepth() const
Definition: context.cpp:6102
ClassTreeContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:6099
TemplateVariant
Variant type which can hold one value of a fixed set of types.
Definition: template.h:98
ClassTreeContext::Private::m_classTree
TemplateListIntfPtr m_classTree
Definition: context.cpp:6118
theTranslator
Translator * theTranslator
Definition: language.cpp:156
ClassTreeContext::Private::tree
TemplateVariant tree() const
Definition: context.cpp:6096
TRUE
#define TRUE
Definition: qcstring.h:36
computeMaxDepth
static int computeMaxDepth(const TemplateListIntfPtr list)
Definition: context.cpp:5129
Translator::trDesignUnitList
virtual QCString trDesignUnitList()=0
ClassTreeContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:6097
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
Doxygen::namespaceLinkedMap
static NamespaceLinkedMap * namespaceLinkedMap
Definition: doxygen.h:97
Translator::trClasses
virtual QCString trClasses()=0
ContextTreeType::ClassNesting
@ ClassNesting
ClassTreeContext::Private::m_maxDepth
CachedItem< int, Private, &Private::createMaxDepth > m_maxDepth
Definition: context.cpp:6119
Translator::trCompoundListFortran
virtual QCString trCompoundListFortran()=0
ClassTreeContext::Private::m_preferredDepth
CachedItem< int, Private, &Private::createPreferredDepth > m_preferredDepth
Definition: context.cpp:6120
Doxygen::classLinkedMap
static ClassLinkedMap * classLinkedMap
Definition: doxygen.h:78
NestingContext::alloc
static TemplateListIntfPtr alloc(const NestingNodeContext *parent, ContextTreeType type, int level)
Definition: context.h:530
ClassTreeContext::Private::title
TemplateVariant title() const
Definition: context.cpp:6103
ClassDefSet
std::set< const ClassDef * > ClassDefSet
Definition: classdef.h:95
ClassTreeContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:6100
FALSE
#define FALSE
Definition: qcstring.h:33