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

Classes

struct  Cachable
 

Public Types

typedef bool(MemberDef::* MemberFunc )() const
 

Public Member Functions

 Private ()
 
TemplateVariant get (const char *n) const
 
TemplateVariant getMembersFiltered (SharedPtr< TemplateList > &listRef, MemberFunc filter) const
 
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
 

Private Attributes

Cachable m_cache
 

Static Private Attributes

static PropertyMapper
< GlobalsIndexContext::Private
s_inst
 

Detailed Description

Definition at line 7829 of file context.cpp.

Member Typedef Documentation

typedef bool(MemberDef::* GlobalsIndexContext::Private::MemberFunc)() const

Definition at line 7859 of file context.cpp.

Constructor & Destructor Documentation

GlobalsIndexContext::Private::Private ( )
inline

Definition at line 7832 of file context.cpp.

References all(), enums(), enumValues(), events(), fileName(), functions(), highlight(), Config::init(), macros(), properties(), related(), relPath(), s_inst, subhighlight(), title(), typedefs(), and variables().

{
static bool init=FALSE;
if (!init)
{
s_inst.addProperty("all", &Private::all);
s_inst.addProperty("functions", &Private::functions);
s_inst.addProperty("variables", &Private::variables);
s_inst.addProperty("typedefs", &Private::typedefs);
s_inst.addProperty("enums", &Private::enums);
s_inst.addProperty("enumValues", &Private::enumValues);
s_inst.addProperty("macros", &Private::macros);
s_inst.addProperty("properties", &Private::properties);
s_inst.addProperty("events", &Private::events);
s_inst.addProperty("related", &Private::related);
s_inst.addProperty("fileName", &Private::fileName);
s_inst.addProperty("relPath", &Private::relPath);
s_inst.addProperty("highlight", &Private::highlight);
s_inst.addProperty("subhighlight",&Private::subhighlight);
s_inst.addProperty("title", &Private::title);
init=TRUE;
}
}

Member Function Documentation

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

Definition at line 7888 of file context.cpp.

References GlobalsIndexContext::Private::Cachable::all, getMembersFiltered(), and m_cache.

Referenced by Private().

{
}
TemplateVariant GlobalsIndexContext::Private::enums ( ) const
inline
TemplateVariant GlobalsIndexContext::Private::enumValues ( ) const
inline
TemplateVariant GlobalsIndexContext::Private::events ( ) const
inline

Definition at line 7920 of file context.cpp.

Referenced by Private().

{
return FALSE;
}
TemplateVariant GlobalsIndexContext::Private::fileName ( ) const
inline

Definition at line 7928 of file context.cpp.

Referenced by Private().

{
return "globals";
}
TemplateVariant GlobalsIndexContext::Private::functions ( ) const
inline
TemplateVariant GlobalsIndexContext::Private::get ( const char *  n) const
inline

Definition at line 7855 of file context.cpp.

References s_inst.

Referenced by GlobalsIndexContext::get().

{
return s_inst.get(this,n);
}
TemplateVariant GlobalsIndexContext::Private::getMembersFiltered ( SharedPtr< TemplateList > &  listRef,
MemberFunc  filter 
) const
inline

Definition at line 7860 of file context.cpp.

References MemberContext::alloc(), TemplateList::alloc(), TemplateList::append(), Doxygen::functionNameSDict, SharedPtr< T >::get(), MemberDef::getFileDef(), MemberDef::getNamespaceDef(), FileDef::isLinkableInProject(), MemberDef::isLinkableInProject(), SDict< MemberName >::Iterator, Definition::name(), and SharedPtr< T >::reset().

Referenced by all(), enums(), enumValues(), functions(), macros(), typedefs(), and variables().

{
if (!listRef)
{
for (fnli.toFirst();(mn=fnli.current());++fnli)
{
MemberDef *md;
for (mni.toFirst();(md=mni.current());++mni)
{
FileDef *fd=md->getFileDef();
if (fd && fd->isLinkableInProject() &&
!md->name().isEmpty() && !md->getNamespaceDef() && md->isLinkableInProject())
{
if (filter==0 || (md->*filter)())
{
}
}
}
}
listRef.reset(list);
}
return listRef.get();
}
TemplateVariant GlobalsIndexContext::Private::highlight ( ) const
inline

Definition at line 7936 of file context.cpp.

Referenced by Private().

{
return "files";
}
TemplateVariant GlobalsIndexContext::Private::macros ( ) const
inline
TemplateVariant GlobalsIndexContext::Private::properties ( ) const
inline

Definition at line 7916 of file context.cpp.

Referenced by Private().

{
return FALSE;
}
TemplateVariant GlobalsIndexContext::Private::related ( ) const
inline

Definition at line 7924 of file context.cpp.

Referenced by Private().

{
return FALSE;
}
TemplateVariant GlobalsIndexContext::Private::relPath ( ) const
inline

Definition at line 7932 of file context.cpp.

Referenced by Private().

{
return "";
}
TemplateVariant GlobalsIndexContext::Private::subhighlight ( ) const
inline

Definition at line 7940 of file context.cpp.

Referenced by Private().

{
return "filemembers";
}
TemplateVariant GlobalsIndexContext::Private::title ( ) const
inline

Definition at line 7944 of file context.cpp.

References theTranslator, and Translator::trFileMembers().

Referenced by Private().

{
}
TemplateVariant GlobalsIndexContext::Private::typedefs ( ) const
inline
TemplateVariant GlobalsIndexContext::Private::variables ( ) const
inline

Member Data Documentation

Cachable GlobalsIndexContext::Private::m_cache
mutableprivate

Definition at line 7960 of file context.cpp.

Referenced by all(), enums(), enumValues(), functions(), macros(), typedefs(), and variables().

PropertyMapper< GlobalsIndexContext::Private > GlobalsIndexContext::Private::s_inst
staticprivate

Definition at line 7961 of file context.cpp.

Referenced by get(), and Private().


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