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

Classes

struct  Cachable
 

Public Member Functions

 Private (Definition *def, const QCString &relPath, const MemberGroup *mg)
 
TemplateVariant get (const char *n) const
 
TemplateVariant members () const
 
TemplateVariant groupTitle () const
 
TemplateVariant groupSubtitle () const
 
TemplateVariant groupAnchor () const
 
TemplateVariant memberGroups () const
 
TemplateVariant docs () const
 
TemplateVariant inherited () const
 

Private Attributes

Definitionm_def
 
QCString m_relPath
 
const MemberGroupm_memberGroup
 
Cachable m_cache
 

Static Private Attributes

static PropertyMapper
< MemberGroupInfoContext::Private
s_inst
 

Detailed Description

Definition at line 8718 of file context.cpp.

Constructor & Destructor Documentation

MemberGroupInfoContext::Private::Private ( Definition def,
const QCString &  relPath,
const MemberGroup mg 
)
inline

Definition at line 8721 of file context.cpp.

References docs(), groupAnchor(), groupSubtitle(), groupTitle(), inherited(), Config::init(), memberGroups(), members(), and s_inst.

:
m_def(def),
m_relPath(relPath),
{
static bool init=FALSE;
if (!init)
{
s_inst.addProperty("members", &Private::members);
s_inst.addProperty("title", &Private::groupTitle);
s_inst.addProperty("subtitle", &Private::groupSubtitle);
s_inst.addProperty("anchor", &Private::groupAnchor);
s_inst.addProperty("memberGroups", &Private::memberGroups);
s_inst.addProperty("docs", &Private::docs);
s_inst.addProperty("inherited", &Private::inherited);
init=TRUE;
}
}

Member Function Documentation

TemplateVariant MemberGroupInfoContext::Private::docs ( ) const
inline

Definition at line 8771 of file context.cpp.

References MemberGroupInfoContext::Private::Cachable::docs, MemberGroup::documentation(), m_cache, m_def, m_memberGroup, m_relPath, parseDoc(), and ScopedPtr< T >::reset().

Referenced by Private().

{
if (!m_cache.docs)
{
if (!docs.isEmpty())
{
parseDoc(m_def,"[@name docs]",-1, // TODO store file & line
m_memberGroup->documentation()+"\n",FALSE)));
}
else
{
}
}
return *m_cache.docs;
}
TemplateVariant MemberGroupInfoContext::Private::get ( const char *  n) const
inline

Definition at line 8739 of file context.cpp.

References s_inst.

Referenced by MemberGroupInfoContext::get().

{
return s_inst.get(this,n);
}
TemplateVariant MemberGroupInfoContext::Private::groupAnchor ( ) const
inline

Definition at line 8759 of file context.cpp.

References MemberGroup::anchor(), and m_memberGroup.

Referenced by Private().

{
return m_memberGroup->anchor();
}
TemplateVariant MemberGroupInfoContext::Private::groupSubtitle ( ) const
inline

Definition at line 8755 of file context.cpp.

Referenced by Private().

{
return "";
}
TemplateVariant MemberGroupInfoContext::Private::groupTitle ( ) const
inline

Definition at line 8751 of file context.cpp.

References MemberGroup::header(), and m_memberGroup.

Referenced by Private().

{
return m_memberGroup->header();
}
TemplateVariant MemberGroupInfoContext::Private::inherited ( ) const
inline

Definition at line 8790 of file context.cpp.

Referenced by Private().

{
return FALSE;
}
TemplateVariant MemberGroupInfoContext::Private::memberGroups ( ) const
inline

Definition at line 8763 of file context.cpp.

References MemberGroupListContext::alloc(), SharedPtr< T >::get(), m_cache, m_def, m_relPath, MemberGroupInfoContext::Private::Cachable::memberGroups, and SharedPtr< T >::reset().

Referenced by Private().

TemplateVariant MemberGroupInfoContext::Private::members ( ) const
inline

Definition at line 8743 of file context.cpp.

References MemberListContext::alloc(), SharedPtr< T >::get(), m_cache, m_memberGroup, MemberGroupInfoContext::Private::Cachable::memberListContext, MemberGroup::members(), and SharedPtr< T >::reset().

Referenced by Private().

Member Data Documentation

Cachable MemberGroupInfoContext::Private::m_cache
mutableprivate

Definition at line 8804 of file context.cpp.

Referenced by docs(), memberGroups(), and members().

Definition* MemberGroupInfoContext::Private::m_def
private

Definition at line 8795 of file context.cpp.

Referenced by docs(), and memberGroups().

const MemberGroup* MemberGroupInfoContext::Private::m_memberGroup
private

Definition at line 8797 of file context.cpp.

Referenced by docs(), groupAnchor(), groupTitle(), and members().

QCString MemberGroupInfoContext::Private::m_relPath
private

Definition at line 8796 of file context.cpp.

Referenced by docs(), and memberGroups().

PropertyMapper< MemberGroupInfoContext::Private > MemberGroupInfoContext::Private::s_inst
staticprivate

Definition at line 8805 of file context.cpp.

Referenced by get(), and Private().


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