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

静态 Private 属性

static const PropertyMap< ExampleTreeContext::Privates_inst
 

详细描述

在文件 context.cpp6908 行定义.

构造及析构函数说明

◆ Private()

ExampleTreeContext::Private::Private ( )
inline

在文件 context.cpp6911 行定义.

6912  {
6914  auto ctx = std::dynamic_pointer_cast<NestingContext>(m_exampleTree);
6915  ClassDefSet visitedClasses;
6916  // Add pages
6917  ctx->addPages(*Doxygen::exampleLinkedMap,TRUE,visitedClasses);
6918  }

引用了 NestingContext::alloc(), Example, Doxygen::exampleLinkedMap, m_exampleTree , 以及 TRUE.

成员函数说明

◆ createMaxDepth()

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

在文件 context.cpp6936 行定义.

6937  {
6939  }

引用了 computeMaxDepth() , 以及 m_exampleTree.

◆ createPreferredDepth()

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

在文件 context.cpp6940 行定义.

6941  {
6943  }

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

◆ fields()

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

在文件 context.cpp6922 行定义.

6922 { return s_inst.fields(); }

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

◆ fileName()

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

在文件 context.cpp6927 行定义.

6927 { return "examples"; }

◆ get()

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

在文件 context.cpp6921 行定义.

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

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

◆ highlight()

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

在文件 context.cpp6929 行定义.

6929 { return "examples"; }

◆ maxDepth()

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

在文件 context.cpp6931 行定义.

6931 { return m_maxDepth.get(this); }

引用了 m_maxDepth.

◆ preferredDepth()

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

在文件 context.cpp6932 行定义.

6932 { return m_preferredDepth.get(this); }

引用了 m_preferredDepth.

◆ relPath()

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

在文件 context.cpp6928 行定义.

6928 { return ""; }

◆ subhighlight()

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

在文件 context.cpp6930 行定义.

6930 { return ""; }

◆ title()

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

在文件 context.cpp6933 行定义.

6933 { return theTranslator->trExamples(); }

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

◆ tree()

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

在文件 context.cpp6926 行定义.

6926 { return TemplateVariant(m_exampleTree); }

引用了 m_exampleTree.

类成员变量说明

◆ m_exampleTree

TemplateListIntfPtr ExampleTreeContext::Private::m_exampleTree
private

在文件 context.cpp6944 行定义.

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

◆ m_maxDepth

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

在文件 context.cpp6945 行定义.

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

◆ m_preferredDepth

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

在文件 context.cpp6946 行定义.

被这些函数引用 preferredDepth().

◆ s_inst

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

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


该类的文档由以下文件生成:
ContextTreeType::Example
@ Example
ExampleTreeContext::Private::s_inst
static const PropertyMap< ExampleTreeContext::Private > s_inst
Definition: context.cpp:6947
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
ExampleTreeContext::Private::m_exampleTree
TemplateListIntfPtr m_exampleTree
Definition: context.cpp:6944
ExampleTreeContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:6930
ExampleTreeContext::Private::maxDepth
TemplateVariant maxDepth() const
Definition: context.cpp:6931
computePreferredDepth
static int computePreferredDepth(const TemplateListIntfPtr list, int maxDepth)
Definition: context.cpp:5167
ExampleTreeContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:6929
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
ExampleTreeContext::Private::tree
TemplateVariant tree() const
Definition: context.cpp:6926
ExampleTreeContext::Private::title
TemplateVariant title() const
Definition: context.cpp:6933
TemplateVariant
Variant type which can hold one value of a fixed set of types.
Definition: template.h:98
ExampleTreeContext::Private::m_preferredDepth
CachedItem< int, Private, &Private::createPreferredDepth > m_preferredDepth
Definition: context.cpp:6946
theTranslator
Translator * theTranslator
Definition: language.cpp:156
TRUE
#define TRUE
Definition: qcstring.h:36
computeMaxDepth
static int computeMaxDepth(const TemplateListIntfPtr list)
Definition: context.cpp:5129
ExampleTreeContext::Private::preferredDepth
TemplateVariant preferredDepth() const
Definition: context.cpp:6932
ExampleTreeContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:6927
ExampleTreeContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:6928
ExampleTreeContext::Private::m_maxDepth
CachedItem< int, Private, &Private::createMaxDepth > m_maxDepth
Definition: context.cpp:6945
Translator::trExamples
virtual QCString trExamples()=0
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
Doxygen::exampleLinkedMap
static PageLinkedMap * exampleLinkedMap
Definition: doxygen.h:81