Default implementation of a context value of type struct. More...
#include <template.h>
Classes | |
class | Private |
Private data of a template struct object. More... | |
Public Member Functions | |
virtual TemplateVariant | get (const char *name) const |
virtual int | addRef () |
virtual int | release () |
virtual void | set (const char *name, const TemplateVariant &v) |
Public Member Functions inherited from TemplateStructIntf | |
virtual | ~TemplateStructIntf () |
Static Public Member Functions | |
static TemplateStruct * | alloc () |
Private Member Functions | |
TemplateStruct () | |
virtual | ~TemplateStruct () |
Private Attributes | |
Private * | p |
Default implementation of a context value of type struct.
Definition at line 426 of file template.h.
|
private |
|
privatevirtual |
Destroys the struct
Definition at line 255 of file template.cpp.
|
virtual |
Increase object's reference count
Implements TemplateStructIntf.
Definition at line 260 of file template.cpp.
|
static |
|
virtual |
Gets the value for a field name.
[in] | name | The name of the field. |
Implements TemplateStructIntf.
Definition at line 288 of file template.cpp.
|
virtual |
Decreases object's referenc count, destroy object if 0
Implements TemplateStructIntf.
Definition at line 265 of file template.cpp.
|
virtual |
Sets the value the field of a struct
[in] | name | The name of the field. |
[in] | v | The value to set. |
Definition at line 275 of file template.cpp.
|
private |
Definition at line 450 of file template.h.