ISLEman
Classes | Public Member Functions | Static Public Member Functions | List of all members
TemplateStruct Class Reference

Default implementation of a context value of type struct. More...

#include <template.h>

Inheritance diagram for TemplateStruct:
TemplateStructIntf

Classes

class  Private
 Private data of a template struct object. More...
 

Public Member Functions

virtual TemplateVariant get (const char *name) const
 Gets the value for a field name. More...
 
virtual int addRef ()
 Increase object's reference count.
 
virtual int release ()
 Decreases object's referenc count, destroy object if 0.
 
virtual void set (const char *name, const TemplateVariant &v)
 Sets the value the field of a struct. More...
 
- Public Member Functions inherited from TemplateStructIntf
virtual ~TemplateStructIntf ()
 Destroys the struct.
 

Static Public Member Functions

static TemplateStructalloc ()
 Creates an instance with ref count set to 0. More...
 

Detailed Description

Default implementation of a context value of type struct.

Member Function Documentation

§ alloc()

TemplateStruct * TemplateStruct::alloc ( )
static

Creates an instance with ref count set to 0.

§ get()

TemplateVariant TemplateStruct::get ( const char *  name) const
virtual

Gets the value for a field name.

Parameters
[in]nameThe name of the field.

Implements TemplateStructIntf.

§ set()

void TemplateStruct::set ( const char *  name,
const TemplateVariant v 
)
virtual

Sets the value the field of a struct.

Parameters
[in]nameThe name of the field.
[in]vThe value to set.

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