Doxygen
ModuleTreeContext::Private类 参考
+ ModuleTreeContext::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_moduleTree
 
CachedItem< int, Private, &Private::createMaxDepthm_maxDepth
 
CachedItem< int, Private, &Private::createPreferredDepthm_preferredDepth
 

静态 Private 属性

static const PropertyMap< ModuleTreeContext::Privates_inst
 

详细描述

在文件 context.cpp6831 行定义.

构造及析构函数说明

◆ Private()

ModuleTreeContext::Private::Private ( )
inline

在文件 context.cpp6834 行定义.

6835  {
6837  auto ctx = std::dynamic_pointer_cast<NestingContext>(m_moduleTree);
6838  ClassDefSet visitedClasses;
6839  // Add modules
6840  ctx->addModules(*Doxygen::groupLinkedMap,visitedClasses);
6841  }

引用了 NestingContext::alloc(), Doxygen::groupLinkedMap, m_moduleTree , 以及 Module.

成员函数说明

◆ createMaxDepth()

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

在文件 context.cpp6858 行定义.

6859  {
6860  return computeMaxDepth(m_moduleTree);
6861  }

引用了 computeMaxDepth() , 以及 m_moduleTree.

◆ createPreferredDepth()

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

在文件 context.cpp6862 行定义.

6863  {
6864  return computePreferredDepth(m_moduleTree,m_maxDepth.get(this));
6865  }

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

◆ fields()

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

在文件 context.cpp6845 行定义.

6845 { return s_inst.fields(); }

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

◆ fileName()

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

在文件 context.cpp6850 行定义.

6850 { return "modules"; }

◆ get()

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

在文件 context.cpp6844 行定义.

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

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

◆ highlight()

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

在文件 context.cpp6852 行定义.

6852 { return "modules"; }

◆ maxDepth()

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

在文件 context.cpp6854 行定义.

6854 { return m_maxDepth.get(this); }

引用了 m_maxDepth.

◆ preferredDepth()

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

在文件 context.cpp6855 行定义.

6855 { return m_preferredDepth.get(this); }

引用了 m_preferredDepth.

◆ relPath()

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

在文件 context.cpp6851 行定义.

6851 { return ""; }

◆ subhighlight()

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

在文件 context.cpp6853 行定义.

6853 { return ""; }

◆ title()

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

在文件 context.cpp6856 行定义.

6856 { return theTranslator->trModules(); }

引用了 theTranslator , 以及 Translator::trModules().

◆ tree()

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

在文件 context.cpp6849 行定义.

6849 { return TemplateVariant(m_moduleTree); }

引用了 m_moduleTree.

类成员变量说明

◆ m_maxDepth

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

在文件 context.cpp6867 行定义.

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

◆ m_moduleTree

TemplateListIntfPtr ModuleTreeContext::Private::m_moduleTree
private

在文件 context.cpp6866 行定义.

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

◆ m_preferredDepth

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

在文件 context.cpp6868 行定义.

被这些函数引用 preferredDepth().

◆ s_inst

const PropertyMap< ModuleTreeContext::Private > ModuleTreeContext::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.cpp6869 行定义.

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


该类的文档由以下文件生成:
ModuleTreeContext::Private::s_inst
static const PropertyMap< ModuleTreeContext::Private > s_inst
Definition: context.cpp:6869
ModuleTreeContext::Private::title
TemplateVariant title() const
Definition: context.cpp:6856
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
Translator::trModules
virtual QCString trModules()=0
ModuleTreeContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:6852
computePreferredDepth
static int computePreferredDepth(const TemplateListIntfPtr list, int maxDepth)
Definition: context.cpp:5167
ModuleTreeContext::Private::m_maxDepth
CachedItem< int, Private, &Private::createMaxDepth > m_maxDepth
Definition: context.cpp:6867
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
ModuleTreeContext::Private::m_moduleTree
TemplateListIntfPtr m_moduleTree
Definition: context.cpp:6866
ModuleTreeContext::Private::maxDepth
TemplateVariant maxDepth() const
Definition: context.cpp:6854
TemplateVariant
Variant type which can hold one value of a fixed set of types.
Definition: template.h:98
ModuleTreeContext::Private::preferredDepth
TemplateVariant preferredDepth() const
Definition: context.cpp:6855
ModuleTreeContext::Private::m_preferredDepth
CachedItem< int, Private, &Private::createPreferredDepth > m_preferredDepth
Definition: context.cpp:6868
theTranslator
Translator * theTranslator
Definition: language.cpp:156
Doxygen::groupLinkedMap
static GroupLinkedMap * groupLinkedMap
Definition: doxygen.h:96
computeMaxDepth
static int computeMaxDepth(const TemplateListIntfPtr list)
Definition: context.cpp:5129
ModuleTreeContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:6851
ModuleTreeContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:6850
ContextTreeType::Module
@ Module
ModuleTreeContext::Private::tree
TemplateVariant tree() const
Definition: context.cpp:6849
NestingContext::alloc
static TemplateListIntfPtr alloc(const NestingNodeContext *parent, ContextTreeType type, int level)
Definition: context.h:530
ModuleTreeContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:6853
ClassDefSet
std::set< const ClassDef * > ClassDefSet
Definition: classdef.h:95