Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
MemberListInfoContext::Private Class Reference

Classes

struct  Cachable
 

Public Member Functions

 Private (Definition *def, const QCString &relPath, const MemberList *ml, const QCString &title, const QCString &subtitle)
 
TemplateVariant get (const char *n) const
 
TemplateVariant members () const
 
TemplateVariant title () const
 
TemplateVariant subtitle () const
 
TemplateVariant anchor () const
 
TemplateVariant memberGroups () const
 
TemplateVariant inherited () const
 

Private Attributes

Definitionm_def
 
const MemberListm_memberList
 
QCString m_relPath
 
QCString m_title
 
QCString m_subtitle
 
Cachable m_cache
 

Static Private Attributes

static PropertyMapper< MemberListInfoContext::Privates_inst
 

Detailed Description

Definition at line 8886 of file context.cpp.

Constructor & Destructor Documentation

MemberListInfoContext::Private::Private ( Definition def,
const QCString relPath,
const MemberList ml,
const QCString title,
const QCString subtitle 
)
inline

Definition at line 8889 of file context.cpp.

8889  :
8890  m_def(def),
8891  m_memberList(ml),
8892  m_relPath(relPath),
8893  m_title(title),
8894  m_subtitle(subtitle)
8895  {
8896  static bool init=FALSE;
8897  if (!init)
8898  {
8899  s_inst.addProperty("members", &Private::members);
8900  s_inst.addProperty("title", &Private::title);
8901  s_inst.addProperty("subtitle", &Private::subtitle);
8902  s_inst.addProperty("anchor", &Private::anchor);
8903  s_inst.addProperty("memberGroups", &Private::memberGroups);
8904  s_inst.addProperty("inherited", &Private::inherited);
8905  init=TRUE;
8906  }
8907  }
TemplateVariant anchor() const
Definition: context.cpp:8928
TemplateVariant inherited() const
Definition: context.cpp:8940
TemplateVariant subtitle() const
Definition: context.cpp:8924
const bool FALSE
Definition: qglobal.h:370
init
Definition: train.py:42
TemplateVariant memberGroups() const
Definition: context.cpp:8932
const MemberList * m_memberList
Definition: context.cpp:8960
TemplateVariant members() const
Definition: context.cpp:8912
TemplateVariant title() const
Definition: context.cpp:8920
static PropertyMapper< MemberListInfoContext::Private > s_inst
Definition: context.cpp:8971
const bool TRUE
Definition: qglobal.h:371

Member Function Documentation

TemplateVariant MemberListInfoContext::Private::anchor ( ) const
inline

Definition at line 8928 of file context.cpp.

8929  {
8931  }
MemberListType listType() const
Definition: memberlist.h:38
const MemberList * m_memberList
Definition: context.cpp:8960
static QCString listTypeAsString(MemberListType type)
Definition: memberlist.cpp:907
TemplateVariant MemberListInfoContext::Private::get ( const char *  n) const
inline

Definition at line 8908 of file context.cpp.

8909  {
8910  return s_inst.get(this,n);
8911  }
std::void_t< T > n
static PropertyMapper< MemberListInfoContext::Private > s_inst
Definition: context.cpp:8971
TemplateVariant MemberListInfoContext::Private::inherited ( ) const
inline

Definition at line 8940 of file context.cpp.

8941  {
8944  {
8947  m_cache.inherited.reset(ctx);
8948  }
8949  if (m_cache.inherited)
8950  {
8951  return m_cache.inherited.get();
8952  }
8953  else
8954  {
8955  return TemplateVariant(FALSE);
8956  }
8957  }
MemberListType listType() const
Definition: memberlist.h:38
const bool FALSE
Definition: qglobal.h:370
virtual DefType definitionType() const =0
SharedPtr< InheritedMemberInfoListContext > inherited
Definition: context.cpp:8968
void reset(T *p=0)
Definition: context.cpp:113
const MemberList * m_memberList
Definition: context.cpp:8960
Variant type which can hold one value of a fixed set of types.
Definition: template.h:90
void addMemberList(ClassDef *cd, MemberListType lt, const QCString &title, bool additionalList=TRUE)
Definition: context.cpp:9209
T * get() const
Definition: context.cpp:111
static InheritedMemberInfoListContext * alloc()
Definition: context.h:1094
TemplateVariant MemberListInfoContext::Private::memberGroups ( ) const
inline

Definition at line 8932 of file context.cpp.

8933  {
8934  if (!m_cache.memberGroups)
8935  {
8937  }
8938  return m_cache.memberGroups.get();
8939  }
MemberGroupList * getMemberGroupList() const
Definition: memberlist.h:78
SharedPtr< MemberGroupListContext > memberGroups
Definition: context.cpp:8967
void reset(T *p=0)
Definition: context.cpp:113
const MemberList * m_memberList
Definition: context.cpp:8960
static MemberGroupListContext * alloc()
Definition: context.h:1002
T * get() const
Definition: context.cpp:111
TemplateVariant MemberListInfoContext::Private::members ( ) const
inline

Definition at line 8912 of file context.cpp.

8913  {
8915  {
8917  }
8918  return m_cache.memberListContext.get();
8919  }
SharedPtr< MemberListContext > memberListContext
Definition: context.cpp:8966
static MemberListContext * alloc()
Definition: context.h:954
void reset(T *p=0)
Definition: context.cpp:113
const MemberList * m_memberList
Definition: context.cpp:8960
T * get() const
Definition: context.cpp:111
TemplateVariant MemberListInfoContext::Private::subtitle ( ) const
inline

Definition at line 8924 of file context.cpp.

8925  {
8926  return m_subtitle;
8927  }
TemplateVariant MemberListInfoContext::Private::title ( ) const
inline

Definition at line 8920 of file context.cpp.

8921  {
8922  return m_title;
8923  }

Member Data Documentation

Cachable MemberListInfoContext::Private::m_cache
mutableprivate

Definition at line 8970 of file context.cpp.

Definition* MemberListInfoContext::Private::m_def
private

Definition at line 8959 of file context.cpp.

const MemberList* MemberListInfoContext::Private::m_memberList
private

Definition at line 8960 of file context.cpp.

QCString MemberListInfoContext::Private::m_relPath
private

Definition at line 8961 of file context.cpp.

QCString MemberListInfoContext::Private::m_subtitle
private

Definition at line 8963 of file context.cpp.

QCString MemberListInfoContext::Private::m_title
private

Definition at line 8962 of file context.cpp.

PropertyMapper< MemberListInfoContext::Private > MemberListInfoContext::Private::s_inst
staticprivate

Definition at line 8971 of file context.cpp.


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