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

#include <context.h>

Inheritance diagram for GlobalsIndexContext:
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 GlobalsIndexContextalloc ()
 

Private Member Functions

 GlobalsIndexContext ()
 
 ~GlobalsIndexContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 832 of file context.h.

Constructor & Destructor Documentation

GlobalsIndexContext::GlobalsIndexContext ( )
private

Definition at line 7952 of file context.cpp.

7952  : RefCountedContext("GlobalsIndexContext")
7953 {
7954  p = new Private;
7955 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
GlobalsIndexContext::~GlobalsIndexContext ( )
private

Definition at line 7957 of file context.cpp.

7958 {
7959  delete p;
7960 }

Member Function Documentation

virtual int GlobalsIndexContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 839 of file context.h.

839 { return RefCountedContext::addRef(); }
static GlobalsIndexContext* GlobalsIndexContext::alloc ( )
inlinestatic

Definition at line 835 of file context.h.

835 { return new GlobalsIndexContext(); }
TemplateVariant GlobalsIndexContext::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 7962 of file context.cpp.

7963 {
7964  return p->get(name);
7965 }
static QCString name
Definition: declinfo.cpp:673
TemplateVariant get(const char *n) const
Definition: context.cpp:7840
virtual int GlobalsIndexContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 840 of file context.h.

840 { return RefCountedContext::release(); }

Member Data Documentation

Private* GlobalsIndexContext::p
private

Definition at line 845 of file context.h.


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