My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 6378 of file context.cpp.

References p, and Private.

Referenced by alloc().

: RefCountedContext("NestingNodeContext")
{
p = new Private(parent,this,d,index,level,addClass,inherit,hideSuper);
}
NestingNodeContext::~NestingNodeContext ( )
private

Definition at line 6385 of file context.cpp.

References p.

{
delete p;
}

Member Function Documentation

virtual int NestingNodeContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 520 of file context.h.

References RefCountedContext::addRef().

static NestingNodeContext* NestingNodeContext::alloc ( const NestingNodeContext parent,
Definition def,
int  index,
int  level,
bool  addClasses,
bool  inherit,
bool  hideSuper 
)
inlinestatic
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 6390 of file context.cpp.

References NestingNodeContext::Private::get(), and p.

{
return p->get(n);
}
QCString NestingNodeContext::id ( ) const

Definition at line 6395 of file context.cpp.

References NestingNodeContext::Private::id(), p, and TemplateVariant::toString().

Referenced by NestingNodeContext::Private::id().

{
return p->id().toString();
}
virtual int NestingNodeContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 521 of file context.h.

References RefCountedContext::release().

Member Data Documentation

Private* NestingNodeContext::p
private

Definition at line 527 of file context.h.

Referenced by get(), id(), NestingNodeContext(), and ~NestingNodeContext().


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