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

#include <context.h>

Inheritance diagram for ExampleTreeContext:
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 ExampleTreeContextalloc ()
 

Private Member Functions

 ExampleTreeContext ()
 
 ~ExampleTreeContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 813 of file context.h.

Constructor & Destructor Documentation

ExampleTreeContext::ExampleTreeContext ( )
private

Definition at line 7795 of file context.cpp.

7795  : RefCountedContext("ExampleTreeContext")
7796 {
7797  p = new Private;
7798 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:826
ExampleTreeContext::~ExampleTreeContext ( )
private

Definition at line 7800 of file context.cpp.

7801 {
7802  delete p;
7803 }
Private * p
Definition: context.h:826

Member Function Documentation

virtual int ExampleTreeContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 820 of file context.h.

820 { return RefCountedContext::addRef(); }
static ExampleTreeContext* ExampleTreeContext::alloc ( )
inlinestatic

Definition at line 816 of file context.h.

816 { return new ExampleTreeContext; }
TemplateVariant ExampleTreeContext::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 7805 of file context.cpp.

7806 {
7807  return p->get(name);
7808 }
static QCString name
Definition: declinfo.cpp:673
Private * p
Definition: context.h:826
TemplateVariant get(const char *n) const
Definition: context.cpp:7732
virtual int ExampleTreeContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 821 of file context.h.

821 { return RefCountedContext::release(); }

Member Data Documentation

Private* ExampleTreeContext::p
private

Definition at line 826 of file context.h.


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