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

#include <context.h>

Inheritance diagram for SymbolContext:
RefCountedContext TemplateStructIntf

Classes

class  Private
 

Public Member Functions

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 SymbolContextalloc (const Definition *def, const Definition *prev, const Definition *next)
 

Private Member Functions

 SymbolContext (const Definition *def, const Definition *prev, const Definition *next)
 
 ~SymbolContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1182 of file context.h.

Constructor & Destructor Documentation

SymbolContext::SymbolContext ( const Definition def,
const Definition prev,
const Definition next 
)
private

Definition at line 9533 of file context.cpp.

9534  : RefCountedContext("SymbolContext")
9535 {
9536  p = new Private(def,prevDef,nextDef);
9537 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:1196
SymbolContext::~SymbolContext ( )
private

Definition at line 9539 of file context.cpp.

9540 {
9541  delete p;
9542 }
Private * p
Definition: context.h:1196

Member Function Documentation

virtual int SymbolContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 1190 of file context.h.

1190 { return RefCountedContext::addRef(); }
static SymbolContext* SymbolContext::alloc ( const Definition def,
const Definition prev,
const Definition next 
)
inlinestatic

Definition at line 1185 of file context.h.

1186  { return new SymbolContext(def,prev,next); }
SymbolContext(const Definition *def, const Definition *prev, const Definition *next)
Definition: context.cpp:9533
TemplateVariant SymbolContext::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 9544 of file context.cpp.

9545 {
9546  return p->get(name);
9547 }
static QCString name
Definition: declinfo.cpp:673
TemplateVariant get(const char *n) const
Definition: context.cpp:9439
Private * p
Definition: context.h:1196
virtual int SymbolContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 1191 of file context.h.

1191 { return RefCountedContext::release(); }

Member Data Documentation

Private* SymbolContext::p
private

Definition at line 1196 of file context.h.


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