My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
MemberInfoContext::Private Class Reference

Public Member Functions

 Private (const MemberInfo *mi)
 
TemplateVariant get (const char *n) const
 
TemplateVariant protection () const
 
TemplateVariant virtualness () const
 
TemplateVariant ambiguityScope () const
 
TemplateVariant member () const
 

Private Attributes

const MemberInfom_memberInfo
 
SharedPtr< MemberContextm_member
 

Static Private Attributes

static PropertyMapper
< MemberInfoContext::Private
s_inst
 

Detailed Description

Definition at line 8557 of file context.cpp.

Constructor & Destructor Documentation

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

Definition at line 8560 of file context.cpp.

References ambiguityScope(), Config::init(), member(), protection(), s_inst, and virtualness().

{
static bool init=FALSE;
if (!init)
{
//%% string protection
s_inst.addProperty("protection", &Private::protection);
//%% string virtualness
s_inst.addProperty("virtualness", &Private::virtualness);
//%% string ambiguityScope
s_inst.addProperty("ambiguityScope",&Private::ambiguityScope);
//%% Member member
s_inst.addProperty("member", &Private::member);
init=TRUE;
}
}

Member Function Documentation

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

Definition at line 8601 of file context.cpp.

References MemberInfo::ambiguityResolutionScope, and m_memberInfo.

Referenced by Private().

TemplateVariant MemberInfoContext::Private::get ( const char *  n) const
inline

Definition at line 8576 of file context.cpp.

References s_inst.

Referenced by MemberInfoContext::get().

{
return s_inst.get(this,n);
}
TemplateVariant MemberInfoContext::Private::member ( ) const
inline
TemplateVariant MemberInfoContext::Private::protection ( ) const
inline

Definition at line 8580 of file context.cpp.

References m_memberInfo, Package, Private, MemberInfo::prot, Protected, and Public.

Referenced by Private().

{
switch (m_memberInfo->prot)
{
case ::Public: return "public";
case ::Protected: return "protected";
case ::Private: return "private";
case ::Package: return "package";
}
return "";
}
TemplateVariant MemberInfoContext::Private::virtualness ( ) const
inline

Definition at line 8591 of file context.cpp.

References m_memberInfo, Normal, Pure, MemberInfo::virt, and Virtual.

Referenced by Private().

{
switch (m_memberInfo->virt)
{
case ::Normal: return "normal";
case ::Virtual: return "virtual";
case ::Pure: return "pure";
}
return "";
}

Member Data Documentation

SharedPtr<MemberContext> MemberInfoContext::Private::m_member
mutableprivate

Definition at line 8622 of file context.cpp.

Referenced by member().

const MemberInfo* MemberInfoContext::Private::m_memberInfo
private

Definition at line 8621 of file context.cpp.

Referenced by ambiguityScope(), member(), protection(), and virtualness().

PropertyMapper< MemberInfoContext::Private > MemberInfoContext::Private::s_inst
staticprivate

Definition at line 8623 of file context.cpp.

Referenced by get(), and Private().


The documentation for this class was generated from the following file: