Doxygen
ClassIndexContext::Private类 参考
+ ClassIndexContext::Private 的协作图:

Public 成员函数

TemplateVariant get (const QCString &n) const
 
StringVector fields () const
 

Private 成员函数

TemplateVariant list () const
 
TemplateVariant fileName () const
 
TemplateVariant relPath () const
 
TemplateVariant highlight () const
 
TemplateVariant subhighlight () const
 
TemplateVariant title () const
 
TemplateVariant createClasses () const
 

Private 属性

CachedItem< TemplateVariant, Private, &Private::createClassesm_classes
 

静态 Private 属性

static const PropertyMap< ClassIndexContext::Privates_inst
 

详细描述

在文件 context.cpp5047 行定义.

成员函数说明

◆ createClasses()

TemplateVariant ClassIndexContext::Private::createClasses ( ) const
inlineprivate

在文件 context.cpp5068 行定义.

5069  {
5071  list.reserve(Doxygen::classLinkedMap->size());
5073  {
5074  for (const auto &cd : *Doxygen::classLinkedMap)
5075  {
5076  if (cd->getLanguage()==SrcLangExt_VHDL &&
5077  ((VhdlDocGen::VhdlClasses)cd->protection()==VhdlDocGen::PACKAGECLASS ||
5079  ) // no architecture
5080  {
5081  continue;
5082  }
5083  if (cd->isLinkableInProject() && cd->templateMaster()==0)
5084  {
5085  list.push_back(ClassContext::alloc(cd.get()));
5086  }
5087  }
5088  }
5090  }

引用了 ClassContext::alloc(), TemplateImmutableList::alloc(), Doxygen::classLinkedMap, list(), VhdlDocGen::PACKAGECLASS, VhdlDocGen::PACKBODYCLASS , 以及 SrcLangExt_VHDL.

◆ fields()

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

在文件 context.cpp5052 行定义.

5052 { return s_inst.fields(); }

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

◆ fileName()

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

在文件 context.cpp5057 行定义.

5057 { return "classes"; }

◆ get()

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

在文件 context.cpp5051 行定义.

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

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

◆ highlight()

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

在文件 context.cpp5059 行定义.

5059 { return "classes"; }

◆ list()

TemplateVariant ClassIndexContext::Private::list ( ) const
inlineprivate

在文件 context.cpp5056 行定义.

5056 { return m_classes.get(this); }

引用了 m_classes.

被这些函数引用 createClasses().

◆ relPath()

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

在文件 context.cpp5058 行定义.

5058 { return ""; }

◆ subhighlight()

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

在文件 context.cpp5060 行定义.

5060 { return "classindex"; }

◆ title()

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

在文件 context.cpp5061 行定义.

5062  {
5063  return Config_getBool(OPTIMIZE_FOR_FORTRAN) ? theTranslator->trDataTypes() :
5064  Config_getBool(OPTIMIZE_OUTPUT_VHDL) ? theTranslator->trDesignUnits() :
5066  }

引用了 Config_getBool, theTranslator, Translator::trCompoundIndex(), Translator::trDataTypes() , 以及 Translator::trDesignUnits().

类成员变量说明

◆ m_classes

CachedItem<TemplateVariant, Private, &Private::createClasses> ClassIndexContext::Private::m_classes
private

在文件 context.cpp5092 行定义.

被这些函数引用 list().

◆ s_inst

const PropertyMap< ClassIndexContext::Private > ClassIndexContext::Private::s_inst
staticprivate
初始值:
{
{ "list", &Private::list },
{ "fileName", &Private::fileName },
{ "relPath", &Private::relPath },
{ "highlight", &Private::highlight },
{ "subhighlight",&Private::subhighlight },
{ "title", &Private::title }
}

在文件 context.cpp5093 行定义.

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


该类的文档由以下文件生成:
TemplateVariantList
std::vector< TemplateVariant > TemplateVariantList
Definition: template.h:261
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
ClassIndexContext::Private::s_inst
static const PropertyMap< ClassIndexContext::Private > s_inst
Definition: context.cpp:5093
ClassIndexContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:5059
ClassContext::alloc
static TemplateStructIntfPtr alloc(const ClassDef *cd)
Definition: context.h:199
VhdlDocGen::PACKAGECLASS
@ PACKAGECLASS
Definition: vhdldocgen.h:77
ClassIndexContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:5058
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
ClassIndexContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:5060
ClassIndexContext::Private::title
TemplateVariant title() const
Definition: context.cpp:5061
theTranslator
Translator * theTranslator
Definition: language.cpp:156
ClassIndexContext::Private::m_classes
CachedItem< TemplateVariant, Private, &Private::createClasses > m_classes
Definition: context.cpp:5092
VhdlDocGen::VhdlClasses
VhdlClasses
Definition: vhdldocgen.h:72
ClassIndexContext::Private::list
TemplateVariant list() const
Definition: context.cpp:5056
Translator::trDataTypes
virtual QCString trDataTypes()=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
Translator::trDesignUnits
virtual QCString trDesignUnits()=0
ClassIndexContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:5057
VhdlDocGen::PACKBODYCLASS
@ PACKBODYCLASS
Definition: vhdldocgen.h:75
SrcLangExt_VHDL
@ SrcLangExt_VHDL
Definition: types.h:54
Doxygen::classLinkedMap
static ClassLinkedMap * classLinkedMap
Definition: doxygen.h:78
Translator::trCompoundIndex
virtual QCString trCompoundIndex()=0