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

静态 Private 属性

static const PropertyMap< NamespaceTreeContext::Privates_inst
 

详细描述

在文件 context.cpp6245 行定义.

构造及析构函数说明

◆ Private()

NamespaceTreeContext::Private::Private ( )
inline

在文件 context.cpp6248 行定义.

6249  {
6251  auto ctx = std::dynamic_pointer_cast<NestingContext>(m_namespaceTree);
6252  ClassDefSet visitedClasses;
6253  ctx->addNamespaces(*Doxygen::namespaceLinkedMap,TRUE,FALSE,TRUE,visitedClasses);
6254  }

引用了 NestingContext::alloc(), FALSE, m_namespaceTree, Namespace, Doxygen::namespaceLinkedMap , 以及 TRUE.

成员函数说明

◆ createMaxDepth()

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

在文件 context.cpp6279 行定义.

6280  {
6282  }

引用了 computeMaxDepth() , 以及 m_namespaceTree.

◆ createPreferredDepth()

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

在文件 context.cpp6283 行定义.

6284  {
6286  }

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

◆ fields()

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

在文件 context.cpp6258 行定义.

6258 { return s_inst.fields(); }

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

◆ fileName()

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

在文件 context.cpp6263 行定义.

6263 { return "namespaces"; }

◆ get()

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

在文件 context.cpp6257 行定义.

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

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

◆ highlight()

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

在文件 context.cpp6265 行定义.

6265 { return "namespaces"; }

◆ maxDepth()

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

在文件 context.cpp6267 行定义.

6267 { return m_maxDepth.get(this); }

引用了 m_maxDepth.

◆ preferredDepth()

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

在文件 context.cpp6268 行定义.

6268 { return m_preferredDepth.get(this); }

引用了 m_preferredDepth.

◆ relPath()

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

在文件 context.cpp6264 行定义.

6264 { return ""; }

◆ subhighlight()

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

在文件 context.cpp6266 行定义.

6266 { return "namespacelist"; }

◆ title()

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

在文件 context.cpp6269 行定义.

6270  {
6271  return Config_getBool(OPTIMIZE_OUTPUT_JAVA) ? theTranslator->trPackages() :
6272  Config_getBool(OPTIMIZE_OUTPUT_VHDL) ? theTranslator->trPackages() :
6273  Config_getBool(OPTIMIZE_FOR_FORTRAN) ? theTranslator->trModulesList() :
6274  Config_getBool(OPTIMIZE_OUTPUT_SLICE) ? theTranslator->trModulesList() :
6276  }

引用了 Config_getBool, theTranslator, Translator::trModulesList(), Translator::trNamespaceList() , 以及 Translator::trPackages().

◆ tree()

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

在文件 context.cpp6262 行定义.

6262 { return TemplateVariant(m_namespaceTree); }

引用了 m_namespaceTree.

类成员变量说明

◆ m_maxDepth

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

在文件 context.cpp6288 行定义.

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

◆ m_namespaceTree

TemplateListIntfPtr NamespaceTreeContext::Private::m_namespaceTree
private

在文件 context.cpp6287 行定义.

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

◆ m_preferredDepth

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

在文件 context.cpp6289 行定义.

被这些函数引用 preferredDepth().

◆ s_inst

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

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


该类的文档由以下文件生成:
NamespaceTreeContext::Private::m_preferredDepth
CachedItem< int, Private, &Private::createPreferredDepth > m_preferredDepth
Definition: context.cpp:6289
NamespaceTreeContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:6265
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
computePreferredDepth
static int computePreferredDepth(const TemplateListIntfPtr list, int maxDepth)
Definition: context.cpp:5167
NamespaceTreeContext::Private::m_maxDepth
CachedItem< int, Private, &Private::createMaxDepth > m_maxDepth
Definition: context.cpp:6288
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
NamespaceTreeContext::Private::m_namespaceTree
TemplateListIntfPtr m_namespaceTree
Definition: context.cpp:6287
NamespaceTreeContext::Private::maxDepth
TemplateVariant maxDepth() const
Definition: context.cpp:6267
TemplateVariant
Variant type which can hold one value of a fixed set of types.
Definition: template.h:98
NamespaceTreeContext::Private::s_inst
static const PropertyMap< NamespaceTreeContext::Private > s_inst
Definition: context.cpp:6290
NamespaceTreeContext::Private::preferredDepth
TemplateVariant preferredDepth() const
Definition: context.cpp:6268
theTranslator
Translator * theTranslator
Definition: language.cpp:156
NamespaceTreeContext::Private::title
TemplateVariant title() const
Definition: context.cpp:6269
NamespaceTreeContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:6264
TRUE
#define TRUE
Definition: qcstring.h:36
computeMaxDepth
static int computeMaxDepth(const TemplateListIntfPtr list)
Definition: context.cpp:5129
NamespaceTreeContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:6266
Translator::trModulesList
virtual QCString trModulesList()=0
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
Translator::trNamespaceList
virtual QCString trNamespaceList()=0
Doxygen::namespaceLinkedMap
static NamespaceLinkedMap * namespaceLinkedMap
Definition: doxygen.h:97
NamespaceTreeContext::Private::tree
TemplateVariant tree() const
Definition: context.cpp:6262
Translator::trPackages
virtual QCString trPackages()=0
ContextTreeType::Namespace
@ Namespace
NestingContext::alloc
static TemplateListIntfPtr alloc(const NestingNodeContext *parent, ContextTreeType type, int level)
Definition: context.h:530
NamespaceTreeContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:6263
ClassDefSet
std::set< const ClassDef * > ClassDefSet
Definition: classdef.h:95
FALSE
#define FALSE
Definition: qcstring.h:33