Doxygen
ClassHierarchyContext::Private类 参考
+ ClassHierarchyContext::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 diagrams () const
 
TemplateVariant maxDepth () const
 
TemplateVariant preferredDepth () const
 
TemplateVariant title () const
 
int createMaxDepth () const
 
int createPreferredDepth () const
 
TemplateVariant createDiagrams () const
 

Private 属性

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

静态 Private 属性

static const PropertyMap< ClassHierarchyContext::Privates_inst
 

详细描述

在文件 context.cpp5198 行定义.

构造及析构函数说明

◆ Private()

ClassHierarchyContext::Private::Private ( )
inline

在文件 context.cpp5201 行定义.

5202  {
5204  auto ctx = std::dynamic_pointer_cast<NestingContext>(m_classTree);
5205  ClassDefSet visitedClasses;
5206  ctx->addClassHierarchy(*Doxygen::classLinkedMap,visitedClasses);
5207  ctx->addClassHierarchy(*Doxygen::hiddenClassLinkedMap,visitedClasses);
5208  }

引用了 NestingContext::alloc(), ClassInheritance, Doxygen::classLinkedMap, Doxygen::hiddenClassLinkedMap , 以及 m_classTree.

成员函数说明

◆ createDiagrams()

TemplateVariant ClassHierarchyContext::Private::createDiagrams ( ) const
inlineprivate

在文件 context.cpp5238 行定义.

5239  {
5241  DotGfxHierarchyTablePtr hierarchy = std::make_shared<DotGfxHierarchyTable>();
5242  diagrams.reserve(hierarchy->subGraphs().size());
5243  int id=0;
5244  for (auto n : hierarchy->subGraphs())
5245  {
5246  diagrams.push_back(InheritanceGraphContext::alloc(hierarchy,n,id++));
5247  }
5249  }

引用了 TemplateImmutableList::alloc(), InheritanceGraphContext::alloc() , 以及 diagrams().

◆ createMaxDepth()

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

在文件 context.cpp5230 行定义.

5231  {
5232  return computeMaxDepth(m_classTree);
5233  }

引用了 computeMaxDepth() , 以及 m_classTree.

◆ createPreferredDepth()

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

在文件 context.cpp5234 行定义.

5235  {
5236  return computePreferredDepth(m_classTree,m_maxDepth.get(this));
5237  }

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

◆ diagrams()

TemplateVariant ClassHierarchyContext::Private::diagrams ( ) const
inlineprivate

在文件 context.cpp5221 行定义.

5221 { return m_diagrams.get(this); }

引用了 m_diagrams.

被这些函数引用 createDiagrams().

◆ fields()

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

在文件 context.cpp5212 行定义.

5212 { return s_inst.fields(); }

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

◆ fileName()

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

在文件 context.cpp5217 行定义.

5217 { return "hierarchy"; }

◆ get()

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

在文件 context.cpp5211 行定义.

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

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

◆ highlight()

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

在文件 context.cpp5219 行定义.

5219 { return "classes"; }

◆ maxDepth()

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

在文件 context.cpp5222 行定义.

5222 { return m_maxDepth.get(this); }

引用了 m_maxDepth.

◆ preferredDepth()

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

在文件 context.cpp5223 行定义.

5223 { return m_preferredDepth.get(this); }

引用了 m_preferredDepth.

◆ relPath()

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

在文件 context.cpp5218 行定义.

5218 { return ""; }

◆ subhighlight()

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

在文件 context.cpp5220 行定义.

5220 { return "classhierarchy"; }

◆ title()

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

在文件 context.cpp5224 行定义.

5225  {
5226  return Config_getBool(OPTIMIZE_OUTPUT_VHDL) ? theTranslator->trDesignUnitHierarchy() :
5228  }

引用了 Config_getBool, theTranslator, Translator::trClassHierarchy() , 以及 Translator::trDesignUnitHierarchy().

◆ tree()

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

在文件 context.cpp5216 行定义.

5216 { return TemplateVariant(m_classTree); }

引用了 m_classTree.

类成员变量说明

◆ m_classTree

TemplateListIntfPtr ClassHierarchyContext::Private::m_classTree
private

在文件 context.cpp5251 行定义.

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

◆ m_diagrams

CachedItem<TemplateVariant, Private, &Private::createDiagrams> ClassHierarchyContext::Private::m_diagrams
private

在文件 context.cpp5254 行定义.

被这些函数引用 diagrams().

◆ m_maxDepth

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

在文件 context.cpp5252 行定义.

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

◆ m_preferredDepth

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

在文件 context.cpp5253 行定义.

被这些函数引用 preferredDepth().

◆ s_inst

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

在文件 context.cpp5255 行定义.

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


该类的文档由以下文件生成:
ClassHierarchyContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:5220
TemplateVariantList
std::vector< TemplateVariant > TemplateVariantList
Definition: template.h:261
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
Doxygen::hiddenClassLinkedMap
static ClassLinkedMap * hiddenClassLinkedMap
Definition: doxygen.h:79
ClassHierarchyContext::Private::diagrams
TemplateVariant diagrams() const
Definition: context.cpp:5221
computePreferredDepth
static int computePreferredDepth(const TemplateListIntfPtr list, int maxDepth)
Definition: context.cpp:5167
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
ClassHierarchyContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:5218
ClassHierarchyContext::Private::preferredDepth
TemplateVariant preferredDepth() const
Definition: context.cpp:5223
ClassHierarchyContext::Private::m_classTree
TemplateListIntfPtr m_classTree
Definition: context.cpp:5251
TemplateVariant
Variant type which can hold one value of a fixed set of types.
Definition: template.h:98
Translator::trClassHierarchy
virtual QCString trClassHierarchy()=0
theTranslator
Translator * theTranslator
Definition: language.cpp:156
ClassHierarchyContext::Private::m_maxDepth
CachedItem< int, Private, &Private::createMaxDepth > m_maxDepth
Definition: context.cpp:5252
InheritanceGraphContext::alloc
static TemplateStructIntfPtr alloc(DotGfxHierarchyTablePtr hierarchy, DotNode *n, int id)
Definition: context.h:402
ClassHierarchyContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:5219
ClassHierarchyContext::Private::m_preferredDepth
CachedItem< int, Private, &Private::createPreferredDepth > m_preferredDepth
Definition: context.cpp:5253
ClassHierarchyContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:5217
computeMaxDepth
static int computeMaxDepth(const TemplateListIntfPtr list)
Definition: context.cpp:5129
ContextTreeType::ClassInheritance
@ ClassInheritance
DotGfxHierarchyTablePtr
std::shared_ptr< DotGfxHierarchyTable > DotGfxHierarchyTablePtr
Definition: dotgfxhierarchytable.h:59
ClassHierarchyContext::Private::m_diagrams
CachedItem< TemplateVariant, Private, &Private::createDiagrams > m_diagrams
Definition: context.cpp:5254
ClassHierarchyContext::Private::title
TemplateVariant title() const
Definition: context.cpp:5224
Translator::trDesignUnitHierarchy
virtual QCString trDesignUnitHierarchy()=0
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
TemplateImmutableList::alloc
static TemplateListIntfPtr alloc(std::initializer_list< TemplateVariant > elements)
Creates an instance and returns a shared pointer to it
Definition: template.cpp:543
ClassHierarchyContext::Private::maxDepth
TemplateVariant maxDepth() const
Definition: context.cpp:5222
ClassHierarchyContext::Private::tree
TemplateVariant tree() const
Definition: context.cpp:5216
ClassHierarchyContext::Private::s_inst
static const PropertyMap< ClassHierarchyContext::Private > s_inst
Definition: context.cpp:5255
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
ClassDefSet
std::set< const ClassDef * > ClassDefSet
Definition: classdef.h:95