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
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 9349 of file context.cpp.

References p, and Private.

Referenced by alloc().

: RefCountedContext("ArgumentContext")
{
p = new Private(al,def,relPath);
}
ArgumentContext::~ArgumentContext ( )
private

Definition at line 9354 of file context.cpp.

References p.

{
delete p;
}

Member Function Documentation

virtual int ArgumentContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 1146 of file context.h.

References RefCountedContext::addRef().

static ArgumentContext* ArgumentContext::alloc ( const Argument arg,
Definition def,
const QCString &  relPath 
)
inlinestatic

Definition at line 1141 of file context.h.

References ArgumentContext().

Referenced by ArgumentListContext::Private::addArgument().

{ return new ArgumentContext(arg,def,relPath); }
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 9359 of file context.cpp.

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

{
return p->get(name);
}
virtual int ArgumentContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 1147 of file context.h.

References RefCountedContext::release().

Member Data Documentation

Private* ArgumentContext::p
private

Definition at line 1152 of file context.h.

Referenced by ArgumentContext(), get(), and ~ArgumentContext().


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