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

Public Member Functions

 Private (ClassDef *cd, const QCString &name)
 
TemplateVariant get (const char *n) const
 
TemplateVariant getClass () const
 
TemplateVariant name () const
 

Private Attributes

ClassDefm_classDef
 
SharedPtr< ClassContextm_classContext
 
QCString m_name
 

Static Private Attributes

static PropertyMapper< InheritanceNodeContext::Privates_inst
 

Detailed Description

Definition at line 8349 of file context.cpp.

Constructor & Destructor Documentation

InheritanceNodeContext::Private::Private ( ClassDef cd,
const QCString name 
)
inline

Definition at line 8352 of file context.cpp.

8352  : m_classDef(cd), m_name(name)
8353  {
8354  static bool init=FALSE;
8355  if (!init)
8356  {
8357  s_inst.addProperty("class",&Private::getClass);
8358  s_inst.addProperty("name", &Private::name);
8359  init=TRUE;
8360  }
8361  }
static PropertyMapper< InheritanceNodeContext::Private > s_inst
Definition: context.cpp:8382
TemplateVariant name() const
Definition: context.cpp:8374
const bool FALSE
Definition: qglobal.h:370
init
Definition: train.py:42
TemplateVariant getClass() const
Definition: context.cpp:8366
const bool TRUE
Definition: qglobal.h:371

Member Function Documentation

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

Definition at line 8362 of file context.cpp.

8363  {
8364  return s_inst.get(this,n);
8365  }
static PropertyMapper< InheritanceNodeContext::Private > s_inst
Definition: context.cpp:8382
std::void_t< T > n
TemplateVariant InheritanceNodeContext::Private::getClass ( ) const
inline

Definition at line 8366 of file context.cpp.

8367  {
8368  if (!m_classContext)
8369  {
8371  }
8372  return m_classContext.get();
8373  }
void reset(T *p=0)
Definition: context.cpp:113
T * get() const
Definition: context.cpp:111
SharedPtr< ClassContext > m_classContext
Definition: context.cpp:8380
static ClassContext * alloc(ClassDef *cd)
Definition: context.h:256
TemplateVariant InheritanceNodeContext::Private::name ( ) const
inline

Definition at line 8374 of file context.cpp.

8375  {
8376  return m_name;
8377  }

Member Data Documentation

SharedPtr<ClassContext> InheritanceNodeContext::Private::m_classContext
mutableprivate

Definition at line 8380 of file context.cpp.

ClassDef* InheritanceNodeContext::Private::m_classDef
private

Definition at line 8379 of file context.cpp.

QCString InheritanceNodeContext::Private::m_name
private

Definition at line 8381 of file context.cpp.

PropertyMapper< InheritanceNodeContext::Private > InheritanceNodeContext::Private::s_inst
staticprivate

Definition at line 8382 of file context.cpp.


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