Classes | Public Types | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ClassMembersIndexContext::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< ClassMembersIndexContext::Privates_inst
 

Detailed Description

Definition at line 7971 of file context.cpp.

Member Typedef Documentation

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

Definition at line 8001 of file context.cpp.

Constructor & Destructor Documentation

ClassMembersIndexContext::Private::Private ( )
inline

Definition at line 7974 of file context.cpp.

7975  {
7976  static bool init=FALSE;
7977  if (!init)
7978  {
7979  s_inst.addProperty("all", &Private::all);
7980  s_inst.addProperty("functions", &Private::functions);
7981  s_inst.addProperty("variables", &Private::variables);
7982  s_inst.addProperty("typedefs", &Private::typedefs);
7983  s_inst.addProperty("enums", &Private::enums);
7984  s_inst.addProperty("enumValues", &Private::enumValues);
7985  s_inst.addProperty("macros", &Private::macros);
7986  s_inst.addProperty("properties", &Private::properties);
7987  s_inst.addProperty("events", &Private::events);
7988  s_inst.addProperty("related", &Private::related);
7989  s_inst.addProperty("fileName", &Private::fileName);
7990  s_inst.addProperty("relPath", &Private::relPath);
7991  s_inst.addProperty("highlight", &Private::highlight);
7992  s_inst.addProperty("subhighlight",&Private::subhighlight);
7993  s_inst.addProperty("title", &Private::title);
7994  init=TRUE;
7995  }
7996  }
TemplateVariant fileName() const
Definition: context.cpp:8070
TemplateVariant variables() const
Definition: context.cpp:8038
TemplateVariant functions() const
Definition: context.cpp:8034
const bool FALSE
Definition: qglobal.h:370
TemplateVariant enumValues() const
Definition: context.cpp:8050
TemplateVariant events() const
Definition: context.cpp:8062
init
Definition: train.py:42
TemplateVariant macros() const
Definition: context.cpp:8054
TemplateVariant title() const
Definition: context.cpp:8086
TemplateVariant highlight() const
Definition: context.cpp:8078
TemplateVariant enums() const
Definition: context.cpp:8046
TemplateVariant related() const
Definition: context.cpp:8066
static PropertyMapper< ClassMembersIndexContext::Private > s_inst
Definition: context.cpp:8105
TemplateVariant properties() const
Definition: context.cpp:8058
TemplateVariant all() const
Definition: context.cpp:8030
TemplateVariant subhighlight() const
Definition: context.cpp:8082
const bool TRUE
Definition: qglobal.h:371
TemplateVariant typedefs() const
Definition: context.cpp:8042
TemplateVariant relPath() const
Definition: context.cpp:8074

Member Function Documentation

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

Definition at line 8030 of file context.cpp.

8031  {
8033  }
bool isNotFriend() const
Definition: memberdef.cpp:5112
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
TemplateVariant ClassMembersIndexContext::Private::enums ( ) const
inline

Definition at line 8046 of file context.cpp.

8047  {
8049  }
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
bool isEnumerate() const
Definition: memberdef.cpp:4145
TemplateVariant ClassMembersIndexContext::Private::enumValues ( ) const
inline

Definition at line 8050 of file context.cpp.

8051  {
8053  }
SharedPtr< TemplateList > enumValues
Definition: context.cpp:8099
bool isEnumValue() const
Definition: memberdef.cpp:4150
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
TemplateVariant ClassMembersIndexContext::Private::events ( ) const
inline

Definition at line 8062 of file context.cpp.

8063  {
8065  }
bool isEvent() const
Definition: memberdef.cpp:4190
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
TemplateVariant ClassMembersIndexContext::Private::fileName ( ) const
inline

Definition at line 8070 of file context.cpp.

8071  {
8072  return "functions";
8073  }
TemplateVariant ClassMembersIndexContext::Private::functions ( ) const
inline

Definition at line 8034 of file context.cpp.

8035  {
8037  }
bool isFunctionOrSignalSlot() const
Definition: memberdef.cpp:5117
SharedPtr< TemplateList > functions
Definition: context.cpp:8095
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
TemplateVariant ClassMembersIndexContext::Private::get ( const char *  n) const
inline

Definition at line 7997 of file context.cpp.

7998  {
7999  return s_inst.get(this,n);
8000  }
static PropertyMapper< ClassMembersIndexContext::Private > s_inst
Definition: context.cpp:8105
std::void_t< T > n
TemplateVariant ClassMembersIndexContext::Private::getMembersFiltered ( SharedPtr< TemplateList > &  listRef,
MemberFunc  filter 
) const
inline

Definition at line 8002 of file context.cpp.

8003  {
8004  if (!listRef)
8005  {
8007  MemberName *mn;
8009  for (mnli.toFirst();(mn=mnli.current());++mnli)
8010  {
8011  MemberDef *md;
8012  MemberNameIterator mni(*mn);
8013  for (mni.toFirst();(md=mni.current());++mni)
8014  {
8015  ClassDef *cd = md->getClassDef();
8016  if (cd && cd->isLinkableInProject() && cd->templateMaster()==0 &&
8017  md->isLinkableInProject() && !md->name().isEmpty())
8018  {
8019  if (filter==0 || (md->*filter)())
8020  {
8021  list->append(MemberContext::alloc(md));
8022  }
8023  }
8024  }
8025  }
8026  listRef.reset(list);
8027  }
8028  return listRef.get();
8029  }
bool isLinkableInProject() const
Definition: classdef.cpp:2707
static TemplateList * alloc()
Definition: template.cpp:420
bool isEmpty() const
Definition: qcstring.h:189
bool isLinkableInProject() const
Definition: memberdef.cpp:1150
Default implementation of a context value of type list.
Definition: template.h:376
virtual void append(const TemplateVariant &v)
Definition: template.cpp:343
ClassDef * templateMaster() const
Definition: classdef.cpp:4439
const QCString & name() const
Definition: definition.h:114
void reset(T *p=0)
Definition: context.cpp:113
ClassDef * getClassDef() const
Definition: memberdef.cpp:4070
static MemberNameSDict * memberNameSDict
Definition: doxygen.h:115
T * get() const
Definition: context.cpp:111
friend class Iterator
Definition: sortdict.h:289
static MemberContext * alloc(MemberDef *md)
Definition: context.h:351
TemplateVariant ClassMembersIndexContext::Private::highlight ( ) const
inline

Definition at line 8078 of file context.cpp.

8079  {
8080  return "classes";
8081  }
TemplateVariant ClassMembersIndexContext::Private::macros ( ) const
inline

Definition at line 8054 of file context.cpp.

8055  {
8056  return FALSE;
8057  }
const bool FALSE
Definition: qglobal.h:370
TemplateVariant ClassMembersIndexContext::Private::properties ( ) const
inline

Definition at line 8058 of file context.cpp.

8059  {
8061  }
bool isProperty() const
Definition: memberdef.cpp:4185
SharedPtr< TemplateList > properties
Definition: context.cpp:8100
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
TemplateVariant ClassMembersIndexContext::Private::related ( ) const
inline

Definition at line 8066 of file context.cpp.

8067  {
8069  }
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
bool isRelated() const
Definition: memberdef.cpp:4195
TemplateVariant ClassMembersIndexContext::Private::relPath ( ) const
inline

Definition at line 8074 of file context.cpp.

8075  {
8076  return "";
8077  }
TemplateVariant ClassMembersIndexContext::Private::subhighlight ( ) const
inline

Definition at line 8082 of file context.cpp.

8083  {
8084  return "classmembers";
8085  }
TemplateVariant ClassMembersIndexContext::Private::title ( ) const
inline

Definition at line 8086 of file context.cpp.

8087  {
8088  return theTranslator->trCompoundMembers();
8089  }
Translator * theTranslator
Definition: language.cpp:157
virtual QCString trCompoundMembers()=0
TemplateVariant ClassMembersIndexContext::Private::typedefs ( ) const
inline

Definition at line 8042 of file context.cpp.

8043  {
8045  }
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002
bool isTypedef() const
Definition: memberdef.cpp:4155
SharedPtr< TemplateList > typedefs
Definition: context.cpp:8097
TemplateVariant ClassMembersIndexContext::Private::variables ( ) const
inline

Definition at line 8038 of file context.cpp.

8039  {
8041  }
bool isVariable() const
Definition: memberdef.cpp:4140
SharedPtr< TemplateList > variables
Definition: context.cpp:8096
TemplateVariant getMembersFiltered(SharedPtr< TemplateList > &listRef, MemberFunc filter) const
Definition: context.cpp:8002

Member Data Documentation

Cachable ClassMembersIndexContext::Private::m_cache
mutableprivate

Definition at line 8104 of file context.cpp.

PropertyMapper< ClassMembersIndexContext::Private > ClassMembersIndexContext::Private::s_inst
staticprivate

Definition at line 8105 of file context.cpp.


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