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

#include <context.h>

Inheritance diagram for ModuleTreeContext:
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 ModuleTreeContextalloc ()
 

Private Member Functions

 ModuleTreeContext ()
 
 ~ModuleTreeContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 772 of file context.h.

Constructor & Destructor Documentation

ModuleTreeContext::ModuleTreeContext ( )
private

Definition at line 7592 of file context.cpp.

7592  : RefCountedContext("ModuleTreeContext")
7593 {
7594  p = new Private;
7595 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:785
ModuleTreeContext::~ModuleTreeContext ( )
private

Definition at line 7597 of file context.cpp.

7598 {
7599  delete p;
7600 }
Private * p
Definition: context.h:785

Member Function Documentation

virtual int ModuleTreeContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 779 of file context.h.

779 { return RefCountedContext::addRef(); }
static ModuleTreeContext* ModuleTreeContext::alloc ( )
inlinestatic

Definition at line 775 of file context.h.

775 { return new ModuleTreeContext(); }
TemplateVariant ModuleTreeContext::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 7602 of file context.cpp.

7603 {
7604  return p->get(name);
7605 }
static QCString name
Definition: declinfo.cpp:673
TemplateVariant get(const char *n) const
Definition: context.cpp:7529
Private * p
Definition: context.h:785
virtual int ModuleTreeContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 780 of file context.h.

780 { return RefCountedContext::release(); }

Member Data Documentation

Private* ModuleTreeContext::p
private

Definition at line 785 of file context.h.


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