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

Classes

struct  Cachable
 

Public Member Functions

 Private (const SearchDefinitionList *sdl)
 
TemplateVariant get (const char *n) const
 
TemplateVariant id () const
 
TemplateVariant name () const
 
TemplateVariant symbolList () const
 

Private Attributes

const SearchDefinitionListm_sdl
 
Cachable m_cache
 

Static Private Attributes

static PropertyMapper< SymbolGroupContext::Privates_inst
 

Detailed Description

Definition at line 9601 of file context.cpp.

Constructor & Destructor Documentation

SymbolGroupContext::Private::Private ( const SearchDefinitionList sdl)
inline

Definition at line 9604 of file context.cpp.

9604  : m_sdl(sdl)
9605  {
9606  static bool init=FALSE;
9607  if (!init)
9608  {
9609  s_inst.addProperty("id", &Private::id);
9610  s_inst.addProperty("name", &Private::name);
9611  s_inst.addProperty("symbols",&Private::symbolList);
9612  init=TRUE;
9613  }
9614  }
const bool FALSE
Definition: qglobal.h:370
init
Definition: train.py:42
TemplateVariant id() const
Definition: context.cpp:9619
TemplateVariant name() const
Definition: context.cpp:9623
TemplateVariant symbolList() const
Definition: context.cpp:9627
const SearchDefinitionList * m_sdl
Definition: context.cpp:9636
const bool TRUE
Definition: qglobal.h:371
static PropertyMapper< SymbolGroupContext::Private > s_inst
Definition: context.cpp:9642

Member Function Documentation

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

Definition at line 9615 of file context.cpp.

9616  {
9617  return s_inst.get(this,n);
9618  }
std::void_t< T > n
static PropertyMapper< SymbolGroupContext::Private > s_inst
Definition: context.cpp:9642
TemplateVariant SymbolGroupContext::Private::id ( ) const
inline

Definition at line 9619 of file context.cpp.

9620  {
9621  return m_sdl->id();
9622  }
QCString id() const
Definition: searchindex.h:136
const SearchDefinitionList * m_sdl
Definition: context.cpp:9636
TemplateVariant SymbolGroupContext::Private::name ( ) const
inline

Definition at line 9623 of file context.cpp.

9624  {
9625  return m_sdl->name();
9626  }
const SearchDefinitionList * m_sdl
Definition: context.cpp:9636
QCString name() const
Definition: searchindex.h:137
TemplateVariant SymbolGroupContext::Private::symbolList ( ) const
inline

Definition at line 9627 of file context.cpp.

9628  {
9629  if (!m_cache.symbolList)
9630  {
9632  }
9633  return m_cache.symbolList.get();
9634  }
static SymbolListContext * alloc(const SearchDefinitionList *sdl)
Definition: context.h:1205
void reset(T *p=0)
Definition: context.cpp:113
SharedPtr< SymbolListContext > symbolList
Definition: context.cpp:9639
T * get() const
Definition: context.cpp:111
const SearchDefinitionList * m_sdl
Definition: context.cpp:9636

Member Data Documentation

Cachable SymbolGroupContext::Private::m_cache
mutableprivate

Definition at line 9641 of file context.cpp.

const SearchDefinitionList* SymbolGroupContext::Private::m_sdl
private

Definition at line 9636 of file context.cpp.

PropertyMapper< SymbolGroupContext::Private > SymbolGroupContext::Private::s_inst
staticprivate

Definition at line 9642 of file context.cpp.


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