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

Classes

struct  Cachable
 

Public Member Functions

 Private (const SearchIndexList *sl, const QCString &name)
 
TemplateVariant get (const char *n) const
 
TemplateVariant name () const
 
TemplateVariant letter () const
 
TemplateVariant symbolGroups () const
 

Private Attributes

const SearchIndexListm_searchList
 
QCString m_name
 
Cachable m_cache
 

Static Private Attributes

static PropertyMapper< SymbolIndexContext::Privates_inst
 

Detailed Description

Definition at line 9712 of file context.cpp.

Constructor & Destructor Documentation

SymbolIndexContext::Private::Private ( const SearchIndexList sl,
const QCString name 
)
inline

Definition at line 9715 of file context.cpp.

9715  : m_searchList(sl), m_name(name)
9716  {
9717  static bool init=FALSE;
9718  if (!init)
9719  {
9720  s_inst.addProperty("name", &Private::name);
9721  s_inst.addProperty("letter", &Private::letter);
9722  s_inst.addProperty("symbolGroups",&Private::symbolGroups);
9723  init=TRUE;
9724  }
9725  }
TemplateVariant name() const
Definition: context.cpp:9730
static PropertyMapper< SymbolIndexContext::Private > s_inst
Definition: context.cpp:9754
const bool FALSE
Definition: qglobal.h:370
const SearchIndexList * m_searchList
Definition: context.cpp:9747
TemplateVariant letter() const
Definition: context.cpp:9734
init
Definition: train.py:42
const bool TRUE
Definition: qglobal.h:371
TemplateVariant symbolGroups() const
Definition: context.cpp:9738

Member Function Documentation

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

Definition at line 9726 of file context.cpp.

9727  {
9728  return s_inst.get(this,n);
9729  }
static PropertyMapper< SymbolIndexContext::Private > s_inst
Definition: context.cpp:9754
std::void_t< T > n
TemplateVariant SymbolIndexContext::Private::letter ( ) const
inline

Definition at line 9734 of file context.cpp.

9735  {
9736  return QString(QChar(m_searchList->letter())).utf8();
9737  }
const SearchIndexList * m_searchList
Definition: context.cpp:9747
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
The QChar class provides a light-weight Unicode character.
Definition: qstring.h:56
uint letter() const
QCString utf8() const
Definition: qstring.cpp:14507
TemplateVariant SymbolIndexContext::Private::name ( ) const
inline

Definition at line 9730 of file context.cpp.

9731  {
9732  return m_name;
9733  }
TemplateVariant SymbolIndexContext::Private::symbolGroups ( ) const
inline

Definition at line 9738 of file context.cpp.

9739  {
9740  if (!m_cache.symbolGroups)
9741  {
9743  }
9744  return m_cache.symbolGroups.get();
9745  }
SharedPtr< SymbolGroupListContext > symbolGroups
Definition: context.cpp:9751
const SearchIndexList * m_searchList
Definition: context.cpp:9747
static SymbolGroupListContext * alloc(const SearchIndexList *sil)
Definition: context.h:1247
void reset(T *p=0)
Definition: context.cpp:113
T * get() const
Definition: context.cpp:111

Member Data Documentation

Cachable SymbolIndexContext::Private::m_cache
mutableprivate

Definition at line 9753 of file context.cpp.

QCString SymbolIndexContext::Private::m_name
private

Definition at line 9748 of file context.cpp.

const SearchIndexList* SymbolIndexContext::Private::m_searchList
private

Definition at line 9747 of file context.cpp.

PropertyMapper< SymbolIndexContext::Private > SymbolIndexContext::Private::s_inst
staticprivate

Definition at line 9754 of file context.cpp.


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