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

#include <context.h>

Inheritance diagram for ArgumentContext:
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 ArgumentContextalloc (const Argument *arg, Definition *def, const QCString &relPath)
 

Private Member Functions

 ArgumentContext (const Argument *arg, Definition *def, const QCString &relPath)
 
 ~ArgumentContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1138 of file context.h.

Constructor & Destructor Documentation

ArgumentContext::ArgumentContext ( const Argument arg,
Definition def,
const QCString relPath 
)
private

Definition at line 9334 of file context.cpp.

9334  : RefCountedContext("ArgumentContext")
9335 {
9336  p = new Private(al,def,relPath);
9337 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:1152
ArgumentContext::~ArgumentContext ( )
private

Definition at line 9339 of file context.cpp.

9340 {
9341  delete p;
9342 }
Private * p
Definition: context.h:1152

Member Function Documentation

virtual int ArgumentContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 1146 of file context.h.

1146 { return RefCountedContext::addRef(); }
static ArgumentContext* ArgumentContext::alloc ( const Argument arg,
Definition def,
const QCString relPath 
)
inlinestatic

Definition at line 1141 of file context.h.

1142  { return new ArgumentContext(arg,def,relPath); }
ArgumentContext(const Argument *arg, Definition *def, const QCString &relPath)
Definition: context.cpp:9334
TemplateVariant ArgumentContext::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 9344 of file context.cpp.

9345 {
9346  return p->get(name);
9347 }
static QCString name
Definition: declinfo.cpp:673
Private * p
Definition: context.h:1152
TemplateVariant get(const char *n) const
Definition: context.cpp:9267
virtual int ArgumentContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 1147 of file context.h.

1147 { return RefCountedContext::release(); }

Member Data Documentation

Private* ArgumentContext::p
private

Definition at line 1152 of file context.h.


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