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

References p, and Private.

Referenced by alloc().

: RefCountedContext("ExampleTreeContext")
{
p = new Private;
}
ExampleTreeContext::~ExampleTreeContext ( )
private

Definition at line 7815 of file context.cpp.

References p.

{
delete p;
}

Member Function Documentation

virtual int ExampleTreeContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 820 of file context.h.

References RefCountedContext::addRef().

static ExampleTreeContext* ExampleTreeContext::alloc ( )
inlinestatic

Definition at line 816 of file context.h.

References ExampleTreeContext().

Referenced by generateOutputViaTemplate().

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

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

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

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 821 of file context.h.

References RefCountedContext::release().

Member Data Documentation

Private* ExampleTreeContext::p
private

Definition at line 826 of file context.h.

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


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