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

Public 成员函数

 Private (const MemberInfo *mi)
 
TemplateVariant get (const QCString &n) const
 
StringVector fields () const
 

Private 成员函数

TemplateVariant protection () const
 
TemplateVariant virtualness () const
 
TemplateVariant ambiguityScope () const
 
TemplateVariant member () const
 
TemplateVariant createMember () const
 

Private 属性

const MemberInfom_memberInfo
 
CachedItem< TemplateVariant, Private, &Private::createMemberm_member
 

静态 Private 属性

static const PropertyMap< MemberInfoContext::Privates_inst
 

详细描述

在文件 context.cpp7622 行定义.

构造及析构函数说明

◆ Private()

MemberInfoContext::Private::Private ( const MemberInfo mi)
inline

在文件 context.cpp7625 行定义.

7625 : m_memberInfo(mi) {}

成员函数说明

◆ ambiguityScope()

TemplateVariant MemberInfoContext::Private::ambiguityScope ( ) const
inlineprivate

在文件 context.cpp7654 行定义.

7655  {
7657  }

引用了 MemberInfo::ambiguityResolutionScope() , 以及 m_memberInfo.

◆ createMember()

TemplateVariant MemberInfoContext::Private::createMember ( ) const
inlineprivate

在文件 context.cpp7664 行定义.

7665  {
7666  return m_memberInfo->memberDef() ?
7668  TemplateVariant(false);
7669  }

引用了 MemberContext::alloc(), m_memberInfo , 以及 MemberInfo::memberDef().

◆ fields()

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

在文件 context.cpp7629 行定义.

7629 { return s_inst.fields(); }

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

◆ get()

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

在文件 context.cpp7628 行定义.

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

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

◆ member()

TemplateVariant MemberInfoContext::Private::member ( ) const
inlineprivate

在文件 context.cpp7658 行定义.

7659  {
7660  return m_member.get(this);
7661  }

引用了 m_member.

◆ protection()

TemplateVariant MemberInfoContext::Private::protection ( ) const
inlineprivate

在文件 context.cpp7633 行定义.

7634  {
7635  switch (m_memberInfo->prot())
7636  {
7637  case ::Public: return "public";
7638  case ::Protected: return "protected";
7639  case ::Private: return "private";
7640  case ::Package: return "package";
7641  }
7642  return "";
7643  }

引用了 m_memberInfo, Package, Private, MemberInfo::prot(), Protected , 以及 Public.

◆ virtualness()

TemplateVariant MemberInfoContext::Private::virtualness ( ) const
inlineprivate

在文件 context.cpp7644 行定义.

7645  {
7646  switch (m_memberInfo->virt())
7647  {
7648  case ::Normal: return "normal";
7649  case ::Virtual: return "virtual";
7650  case ::Pure: return "pure";
7651  }
7652  return "";
7653  }

引用了 m_memberInfo, Normal, Pure, MemberInfo::virt() , 以及 Virtual.

类成员变量说明

◆ m_member

CachedItem<TemplateVariant, Private, &Private::createMember> MemberInfoContext::Private::m_member
private

在文件 context.cpp7671 行定义.

被这些函数引用 member().

◆ m_memberInfo

const MemberInfo* MemberInfoContext::Private::m_memberInfo
private

在文件 context.cpp7670 行定义.

被这些函数引用 ambiguityScope(), createMember(), protection() , 以及 virtualness().

◆ s_inst

const PropertyMap< MemberInfoContext::Private > MemberInfoContext::Private::s_inst
staticprivate
初始值:
{
{ "protection", &Private::protection },
{ "virtualness", &Private::virtualness },
{ "ambiguityScope",&Private::ambiguityScope },
{ "member", &Private::member }
}

在文件 context.cpp7672 行定义.

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


该类的文档由以下文件生成:
MemberInfoContext::Private::m_member
CachedItem< TemplateVariant, Private, &Private::createMember > m_member
Definition: context.cpp:7671
Normal
@ Normal
Definition: types.h:29
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
Private
@ Private
Definition: types.h:26
MemberInfoContext::Private::m_memberInfo
const MemberInfo * m_memberInfo
Definition: context.cpp:7670
MemberInfo::virt
Specifier virt() const
Definition: membername.h:77
Virtual
@ Virtual
Definition: types.h:29
Public
@ Public
Definition: types.h:26
Package
@ Package
Definition: types.h:26
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
MemberInfoContext::Private::virtualness
TemplateVariant virtualness() const
Definition: context.cpp:7644
MemberInfoContext::Private::ambiguityScope
TemplateVariant ambiguityScope() const
Definition: context.cpp:7654
MemberInfoContext::Private::protection
TemplateVariant protection() const
Definition: context.cpp:7633
TemplateVariant
Variant type which can hold one value of a fixed set of types.
Definition: template.h:98
MemberInfo::prot
Protection prot() const
Definition: membername.h:76
MemberInfoContext::Private::member
TemplateVariant member() const
Definition: context.cpp:7658
MemberInfo::ambiguityResolutionScope
QCString ambiguityResolutionScope() const
Definition: membername.h:80
MemberContext::alloc
static TemplateStructIntfPtr alloc(const MemberDef *md)
Definition: context.h:320
Protected
@ Protected
Definition: types.h:26
MemberInfo::memberDef
const MemberDef * memberDef()
Definition: membername.h:74
MemberInfoContext::Private::s_inst
static const PropertyMap< MemberInfoContext::Private > s_inst
Definition: context.cpp:7672
Pure
@ Pure
Definition: types.h:29