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

静态 Private 属性

static const PropertyMap< FileTreeContext::Privates_inst
 

详细描述

在文件 context.cpp6466 行定义.

构造及析构函数说明

◆ Private()

FileTreeContext::Private::Private ( )
inline

在文件 context.cpp6469 行定义.

6470  {
6471  // Add dirs tree
6473  auto ctx = std::dynamic_pointer_cast<NestingContext>(m_dirFileTree);
6474  ClassDefSet visitedClasses;
6475  ctx->addDirs(*Doxygen::dirLinkedMap,visitedClasses);
6477  {
6478  ctx->addFiles(*Doxygen::inputNameLinkedMap,visitedClasses);
6479  }
6480  }

引用了 NestingContext::alloc(), Doxygen::dirLinkedMap, File, Doxygen::inputNameLinkedMap , 以及 m_dirFileTree.

成员函数说明

◆ createMaxDepth()

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

在文件 context.cpp6498 行定义.

6499  {
6501  }

引用了 computeMaxDepth() , 以及 m_dirFileTree.

◆ createPreferredDepth()

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

在文件 context.cpp6502 行定义.

6503  {
6505  }

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

◆ fields()

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

在文件 context.cpp6484 行定义.

6484 { return s_inst.fields(); }

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

◆ fileName()

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

在文件 context.cpp6489 行定义.

6489 { return "files"; }

◆ get()

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

在文件 context.cpp6483 行定义.

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

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

◆ highlight()

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

在文件 context.cpp6491 行定义.

6491 { return "files"; }

◆ maxDepth()

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

在文件 context.cpp6493 行定义.

6493 { return m_maxDepth.get(this); }

引用了 m_maxDepth.

◆ preferredDepth()

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

在文件 context.cpp6494 行定义.

6494 { return m_preferredDepth.get(this); }

引用了 m_preferredDepth.

◆ relPath()

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

在文件 context.cpp6490 行定义.

6490 { return ""; }

◆ subhighlight()

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

在文件 context.cpp6492 行定义.

6492 { return "filelist"; }

◆ title()

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

在文件 context.cpp6495 行定义.

6495 { return theTranslator->trFileList(); }

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

◆ tree()

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

在文件 context.cpp6488 行定义.

6488 { return TemplateVariant(m_dirFileTree); }

引用了 m_dirFileTree.

类成员变量说明

◆ m_dirFileTree

TemplateListIntfPtr FileTreeContext::Private::m_dirFileTree
private

在文件 context.cpp6506 行定义.

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

◆ m_maxDepth

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

在文件 context.cpp6507 行定义.

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

◆ m_preferredDepth

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

在文件 context.cpp6508 行定义.

被这些函数引用 preferredDepth().

◆ s_inst

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

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


该类的文档由以下文件生成:
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
Translator::trFileList
virtual QCString trFileList()=0
ContextTreeType::File
@ File
computePreferredDepth
static int computePreferredDepth(const TemplateListIntfPtr list, int maxDepth)
Definition: context.cpp:5167
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
Doxygen::dirLinkedMap
static DirLinkedMap * dirLinkedMap
Definition: doxygen.h:109
Doxygen::inputNameLinkedMap
static FileNameLinkedMap * inputNameLinkedMap
Definition: doxygen.h:88
TemplateVariant
Variant type which can hold one value of a fixed set of types.
Definition: template.h:98
FileTreeContext::Private::m_preferredDepth
CachedItem< int, Private, &Private::createPreferredDepth > m_preferredDepth
Definition: context.cpp:6508
theTranslator
Translator * theTranslator
Definition: language.cpp:156
FileTreeContext::Private::title
TemplateVariant title() const
Definition: context.cpp:6495
FileTreeContext::Private::maxDepth
TemplateVariant maxDepth() const
Definition: context.cpp:6493
computeMaxDepth
static int computeMaxDepth(const TemplateListIntfPtr list)
Definition: context.cpp:5129
FileTreeContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:6491
FileTreeContext::Private::m_maxDepth
CachedItem< int, Private, &Private::createMaxDepth > m_maxDepth
Definition: context.cpp:6507
FileTreeContext::Private::s_inst
static const PropertyMap< FileTreeContext::Private > s_inst
Definition: context.cpp:6509
FileTreeContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:6489
FileTreeContext::Private::tree
TemplateVariant tree() const
Definition: context.cpp:6488
FileTreeContext::Private::m_dirFileTree
TemplateListIntfPtr m_dirFileTree
Definition: context.cpp:6506
FileTreeContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:6492
FileTreeContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:6490
NestingContext::alloc
static TemplateListIntfPtr alloc(const NestingNodeContext *parent, ContextTreeType type, int level)
Definition: context.h:530
FileTreeContext::Private::preferredDepth
TemplateVariant preferredDepth() const
Definition: context.cpp:6494
ClassDefSet
std::set< const ClassDef * > ClassDefSet
Definition: classdef.h:95