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

#include <context.h>

Inheritance diagram for NestingNodeContext:
RefCountedContext TemplateStructIntf

Classes

class  Private
 

Public Member Functions

QCString id () const
 
virtual TemplateVariant get (const char *name) const
 
virtual int addRef ()
 
virtual int release ()
 
- Public Member Functions inherited from RefCountedContext
 RefCountedContext (const char *)
 
virtual ~RefCountedContext ()
 
int addRef ()
 
int release ()
 
- Public Member Functions inherited from TemplateStructIntf
virtual ~TemplateStructIntf ()
 

Static Public Member Functions

static NestingNodeContextalloc (const NestingNodeContext *parent, Definition *def, int index, int level, bool addClasses, bool inherit, bool hideSuper)
 

Private Member Functions

 NestingNodeContext (const NestingNodeContext *parent, Definition *, int index, int level, bool addClasses, bool inherit, bool hideSuper)
 
 ~NestingNodeContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 509 of file context.h.

Constructor & Destructor Documentation

NestingNodeContext::NestingNodeContext ( const NestingNodeContext parent,
Definition d,
int  index,
int  level,
bool  addClasses,
bool  inherit,
bool  hideSuper 
)
private

Definition at line 6363 of file context.cpp.

6365  : RefCountedContext("NestingNodeContext")
6366 {
6367  p = new Private(parent,this,d,index,level,addClass,inherit,hideSuper);
6368 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:527
NestingNodeContext::~NestingNodeContext ( )
private

Definition at line 6370 of file context.cpp.

6371 {
6372  delete p;
6373 }
Private * p
Definition: context.h:527

Member Function Documentation

virtual int NestingNodeContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 520 of file context.h.

520 { return RefCountedContext::addRef(); }
static NestingNodeContext* NestingNodeContext::alloc ( const NestingNodeContext parent,
Definition def,
int  index,
int  level,
bool  addClasses,
bool  inherit,
bool  hideSuper 
)
inlinestatic

Definition at line 512 of file context.h.

514  { return new NestingNodeContext(parent,def,index,level,addClasses,inherit,hideSuper); }
NestingNodeContext(const NestingNodeContext *parent, Definition *, int index, int level, bool addClasses, bool inherit, bool hideSuper)
Definition: context.cpp:6363
TemplateVariant NestingNodeContext::get ( const char *  name) const
virtual

Gets the value for a field name.

Parameters
[in]nameThe name of the field.

Implements TemplateStructIntf.

Definition at line 6375 of file context.cpp.

6376 {
6377  return p->get(n);
6378 }
TemplateVariant get(const char *n) const
Definition: context.cpp:6111
std::void_t< T > n
Private * p
Definition: context.h:527
QCString NestingNodeContext::id ( ) const

Definition at line 6380 of file context.cpp.

6381 {
6382  return p->id().toString();
6383 }
TemplateVariant id() const
Definition: context.cpp:6217
QCString toString() const
Definition: template.h:232
Private * p
Definition: context.h:527
virtual int NestingNodeContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 521 of file context.h.

521 { return RefCountedContext::release(); }

Member Data Documentation

Private* NestingNodeContext::p
private

Definition at line 527 of file context.h.


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