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

Public 成员函数

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

Private 类型

using MemberFilter = bool(MemberDef::*)() const
 

Private 成员函数

TemplateVariant all () const
 
TemplateVariant functions () const
 
TemplateVariant variables () const
 
TemplateVariant typedefs () const
 
TemplateVariant enums () const
 
TemplateVariant enumValues () const
 
TemplateVariant macros () const
 
TemplateVariant properties () const
 
TemplateVariant events () const
 
TemplateVariant related () const
 
TemplateVariant fileName () const
 
TemplateVariant relPath () const
 
TemplateVariant highlight () const
 
TemplateVariant subhighlight () const
 
TemplateVariant title () const
 
TemplateVariant createMembersFiltered (MemberFilter filter) const
 
TemplateVariant createAll () const
 
TemplateVariant createFunctions () const
 
TemplateVariant createVariables () const
 
TemplateVariant createTypedefs () const
 
TemplateVariant createEnums () const
 
TemplateVariant createEnumValues () const
 
TemplateVariant createMacros () const
 

Private 属性

CachedItem< TemplateVariant, Private, &Private::createAllm_all
 
CachedItem< TemplateVariant, Private, &Private::createFunctionsm_functions
 
CachedItem< TemplateVariant, Private, &Private::createVariablesm_variables
 
CachedItem< TemplateVariant, Private, &Private::createTypedefsm_typedefs
 
CachedItem< TemplateVariant, Private, &Private::createEnumsm_enums
 
CachedItem< TemplateVariant, Private, &Private::createEnumValuesm_enumValues
 
CachedItem< TemplateVariant, Private, &Private::createMacrosm_macros
 

静态 Private 属性

static const PropertyMap< GlobalsIndexContext::Privates_inst
 

详细描述

在文件 context.cpp7066 行定义.

成员类型定义说明

◆ MemberFilter

using GlobalsIndexContext::Private::MemberFilter = bool (MemberDef::*)() const
private

在文件 context.cpp7092 行定义.

成员函数说明

◆ all()

TemplateVariant GlobalsIndexContext::Private::all ( ) const
inlineprivate

在文件 context.cpp7075 行定义.

7075 { return m_all.get(this); }

引用了 m_all.

◆ createAll()

TemplateVariant GlobalsIndexContext::Private::createAll ( ) const
inlineprivate

在文件 context.cpp7113 行定义.

7113 { return createMembersFiltered(0); }

引用了 createMembersFiltered().

◆ createEnums()

TemplateVariant GlobalsIndexContext::Private::createEnums ( ) const
inlineprivate

在文件 context.cpp7117 行定义.

引用了 createMembersFiltered() , 以及 MemberDef::isEnumerate().

◆ createEnumValues()

TemplateVariant GlobalsIndexContext::Private::createEnumValues ( ) const
inlineprivate

在文件 context.cpp7118 行定义.

引用了 createMembersFiltered() , 以及 MemberDef::isEnumValue().

◆ createFunctions()

TemplateVariant GlobalsIndexContext::Private::createFunctions ( ) const
inlineprivate

在文件 context.cpp7114 行定义.

引用了 createMembersFiltered() , 以及 MemberDef::isFunction().

◆ createMacros()

TemplateVariant GlobalsIndexContext::Private::createMacros ( ) const
inlineprivate

在文件 context.cpp7119 行定义.

引用了 createMembersFiltered() , 以及 MemberDef::isDefine().

◆ createMembersFiltered()

TemplateVariant GlobalsIndexContext::Private::createMembersFiltered ( MemberFilter  filter) const
inlineprivate

在文件 context.cpp7093 行定义.

7094  {
7095  TemplateVariantList list;
7096  for (const auto &mn : *Doxygen::functionNameLinkedMap)
7097  {
7098  for (const auto &md : *mn)
7099  {
7100  const FileDef *fd=md->getFileDef();
7101  if (fd && fd->isLinkableInProject() &&
7102  !md->name().isEmpty() && !md->getNamespaceDef() && md->isLinkableInProject())
7103  {
7104  if (filter==0 || (md.get()->*filter)())
7105  {
7106  list.push_back(MemberContext::alloc(md.get()));
7107  }
7108  }
7109  }
7110  }
7111  return TemplateImmutableList::alloc(list);
7112  }

引用了 MemberContext::alloc(), TemplateImmutableList::alloc(), Doxygen::functionNameLinkedMap , 以及 FileDef::isLinkableInProject().

被这些函数引用 createAll(), createEnums(), createEnumValues(), createFunctions(), createMacros(), createTypedefs() , 以及 createVariables().

◆ createTypedefs()

TemplateVariant GlobalsIndexContext::Private::createTypedefs ( ) const
inlineprivate

在文件 context.cpp7116 行定义.

引用了 createMembersFiltered() , 以及 MemberDef::isTypedef().

◆ createVariables()

TemplateVariant GlobalsIndexContext::Private::createVariables ( ) const
inlineprivate

在文件 context.cpp7115 行定义.

引用了 createMembersFiltered() , 以及 MemberDef::isVariable().

◆ enums()

TemplateVariant GlobalsIndexContext::Private::enums ( ) const
inlineprivate

在文件 context.cpp7079 行定义.

7079 { return m_enums.get(this); }

引用了 m_enums.

◆ enumValues()

TemplateVariant GlobalsIndexContext::Private::enumValues ( ) const
inlineprivate

在文件 context.cpp7080 行定义.

7080 { return m_enumValues.get(this); }

引用了 m_enumValues.

◆ events()

TemplateVariant GlobalsIndexContext::Private::events ( ) const
inlineprivate

在文件 context.cpp7083 行定义.

7083 { return FALSE; }

引用了 FALSE.

◆ fields()

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

在文件 context.cpp7071 行定义.

7071 { return s_inst.fields(); }

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

◆ fileName()

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

在文件 context.cpp7085 行定义.

7085 { return "globals"; }

◆ functions()

TemplateVariant GlobalsIndexContext::Private::functions ( ) const
inlineprivate

在文件 context.cpp7076 行定义.

7076 { return m_functions.get(this); }

引用了 m_functions.

◆ get()

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

在文件 context.cpp7070 行定义.

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

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

◆ highlight()

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

在文件 context.cpp7087 行定义.

7087 { return "files"; }

◆ macros()

TemplateVariant GlobalsIndexContext::Private::macros ( ) const
inlineprivate

在文件 context.cpp7081 行定义.

7081 { return m_macros.get(this); }

引用了 m_macros.

◆ properties()

TemplateVariant GlobalsIndexContext::Private::properties ( ) const
inlineprivate

在文件 context.cpp7082 行定义.

7082 { return FALSE; }

引用了 FALSE.

◆ related()

TemplateVariant GlobalsIndexContext::Private::related ( ) const
inlineprivate

在文件 context.cpp7084 行定义.

7084 { return FALSE; }

引用了 FALSE.

◆ relPath()

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

在文件 context.cpp7086 行定义.

7086 { return ""; }

◆ subhighlight()

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

在文件 context.cpp7088 行定义.

7088 { return "filemembers"; }

◆ title()

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

在文件 context.cpp7089 行定义.

7089 { return theTranslator->trFileMembers(); }

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

◆ typedefs()

TemplateVariant GlobalsIndexContext::Private::typedefs ( ) const
inlineprivate

在文件 context.cpp7078 行定义.

7078 { return m_typedefs.get(this); }

引用了 m_typedefs.

◆ variables()

TemplateVariant GlobalsIndexContext::Private::variables ( ) const
inlineprivate

在文件 context.cpp7077 行定义.

7077 { return m_variables.get(this); }

引用了 m_variables.

类成员变量说明

◆ m_all

CachedItem<TemplateVariant, Private, &Private::createAll> GlobalsIndexContext::Private::m_all
private

在文件 context.cpp7121 行定义.

被这些函数引用 all().

◆ m_enums

CachedItem<TemplateVariant, Private, &Private::createEnums> GlobalsIndexContext::Private::m_enums
private

在文件 context.cpp7125 行定义.

被这些函数引用 enums().

◆ m_enumValues

CachedItem<TemplateVariant, Private, &Private::createEnumValues> GlobalsIndexContext::Private::m_enumValues
private

在文件 context.cpp7126 行定义.

被这些函数引用 enumValues().

◆ m_functions

CachedItem<TemplateVariant, Private, &Private::createFunctions> GlobalsIndexContext::Private::m_functions
private

在文件 context.cpp7122 行定义.

被这些函数引用 functions().

◆ m_macros

CachedItem<TemplateVariant, Private, &Private::createMacros> GlobalsIndexContext::Private::m_macros
private

在文件 context.cpp7127 行定义.

被这些函数引用 macros().

◆ m_typedefs

CachedItem<TemplateVariant, Private, &Private::createTypedefs> GlobalsIndexContext::Private::m_typedefs
private

在文件 context.cpp7124 行定义.

被这些函数引用 typedefs().

◆ m_variables

CachedItem<TemplateVariant, Private, &Private::createVariables> GlobalsIndexContext::Private::m_variables
private

在文件 context.cpp7123 行定义.

被这些函数引用 variables().

◆ s_inst

const PropertyMap< GlobalsIndexContext::Private > GlobalsIndexContext::Private::s_inst
staticprivate
初始值:
{
{ "all", &Private::all },
{ "functions", &Private::functions },
{ "variables", &Private::variables },
{ "typedefs", &Private::typedefs },
{ "enums", &Private::enums },
{ "enumValues", &Private::enumValues },
{ "macros", &Private::macros },
{ "properties", &Private::properties },
{ "events", &Private::events },
{ "related", &Private::related },
{ "fileName", &Private::fileName },
{ "relPath", &Private::relPath },
{ "highlight", &Private::highlight },
{ "subhighlight",&Private::subhighlight },
{ "title", &Private::title }
}

在文件 context.cpp7128 行定义.

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


该类的文档由以下文件生成:
GlobalsIndexContext::Private::m_functions
CachedItem< TemplateVariant, Private, &Private::createFunctions > m_functions
Definition: context.cpp:7122
GlobalsIndexContext::Private::typedefs
TemplateVariant typedefs() const
Definition: context.cpp:7078
MemberDef::isTypedef
virtual bool isTypedef() const =0
TemplateVariantList
std::vector< TemplateVariant > TemplateVariantList
Definition: template.h:261
GlobalsIndexContext::Private::enumValues
TemplateVariant enumValues() const
Definition: context.cpp:7080
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
GlobalsIndexContext::Private::functions
TemplateVariant functions() const
Definition: context.cpp:7076
GlobalsIndexContext::Private::m_typedefs
CachedItem< TemplateVariant, Private, &Private::createTypedefs > m_typedefs
Definition: context.cpp:7124
GlobalsIndexContext::Private::events
TemplateVariant events() const
Definition: context.cpp:7083
FileDef::isLinkableInProject
virtual bool isLinkableInProject() const =0
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
GlobalsIndexContext::Private::subhighlight
TemplateVariant subhighlight() const
Definition: context.cpp:7088
GlobalsIndexContext::Private::highlight
TemplateVariant highlight() const
Definition: context.cpp:7087
GlobalsIndexContext::Private::m_variables
CachedItem< TemplateVariant, Private, &Private::createVariables > m_variables
Definition: context.cpp:7123
GlobalsIndexContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:7085
Doxygen::functionNameLinkedMap
static MemberNameLinkedMap * functionNameLinkedMap
Definition: doxygen.h:94
GlobalsIndexContext::Private::m_enumValues
CachedItem< TemplateVariant, Private, &Private::createEnumValues > m_enumValues
Definition: context.cpp:7126
MemberDef::isDefine
virtual bool isDefine() const =0
MemberDef::isVariable
virtual bool isVariable() const =0
GlobalsIndexContext::Private::createMembersFiltered
TemplateVariant createMembersFiltered(MemberFilter filter) const
Definition: context.cpp:7093
GlobalsIndexContext::Private::enums
TemplateVariant enums() const
Definition: context.cpp:7079
theTranslator
Translator * theTranslator
Definition: language.cpp:156
MemberDef::isFunction
virtual bool isFunction() const =0
GlobalsIndexContext::Private::macros
TemplateVariant macros() const
Definition: context.cpp:7081
GlobalsIndexContext::Private::variables
TemplateVariant variables() const
Definition: context.cpp:7077
GlobalsIndexContext::Private::m_macros
CachedItem< TemplateVariant, Private, &Private::createMacros > m_macros
Definition: context.cpp:7127
GlobalsIndexContext::Private::relPath
TemplateVariant relPath() const
Definition: context.cpp:7086
MemberContext::alloc
static TemplateStructIntfPtr alloc(const MemberDef *md)
Definition: context.h:320
GlobalsIndexContext::Private::all
TemplateVariant all() const
Definition: context.cpp:7075
GlobalsIndexContext::Private::m_enums
CachedItem< TemplateVariant, Private, &Private::createEnums > m_enums
Definition: context.cpp:7125
TemplateImmutableList::alloc
static TemplateListIntfPtr alloc(std::initializer_list< TemplateVariant > elements)
Creates an instance and returns a shared pointer to it
Definition: template.cpp:543
MemberDef::isEnumerate
virtual bool isEnumerate() const =0
MemberDef::isEnumValue
virtual bool isEnumValue() const =0
GlobalsIndexContext::Private::title
TemplateVariant title() const
Definition: context.cpp:7089
FileDef
A model of a file symbol.
Definition: filedef.h:73
GlobalsIndexContext::Private::related
TemplateVariant related() const
Definition: context.cpp:7084
GlobalsIndexContext::Private::m_all
CachedItem< TemplateVariant, Private, &Private::createAll > m_all
Definition: context.cpp:7121
Translator::trFileMembers
virtual QCString trFileMembers()=0
GlobalsIndexContext::Private::properties
TemplateVariant properties() const
Definition: context.cpp:7082
GlobalsIndexContext::Private::s_inst
static const PropertyMap< GlobalsIndexContext::Private > s_inst
Definition: context.cpp:7128
FALSE
#define FALSE
Definition: qcstring.h:33