Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ScriptProperty Class Reference

This class is used for DSO modules that impliment property extensions for scripting objects. ccScript property module. More...

#include <script.h>

List of all members.

Static Public Methods

ScriptProperty * find (const char *name)

Protected Methods

virtual void setProperty (char *data, char *temp, size_t size)=0
 Set property method. More...

virtual void getProperty (char *data, char *temp, size_t size)=0
 Get property method. More...

virtual void adjProperty (char *data, size_t size, int adjust)
 adjust value method. More...

virtual size_t getPropertySize (void)
 Get default size of creation if override. More...

 ScriptProperty (const char *name)

Friends

class ScriptInterp


Detailed Description

This class is used for DSO modules that impliment property extensions for scripting objects. ccScript property module.

Author:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

ScriptProperty::ScriptProperty const char *   name [protected]
 


Member Function Documentation

virtual void ScriptProperty::adjProperty char *   data,
size_t   size,
int   adjust
[inline, protected, virtual]
 

adjust value method.

Performs inc.xxx conversions.

Parameters:
data   buffer to work from.
size   of data buffer.
accumulated   offset.

ScriptProperty* ScriptProperty::find const char *   name [static]
 

virtual void ScriptProperty::getProperty char *   data,
char *   temp,
size_t   size
[protected, pure virtual]
 

Get property method.

Performs var.xxx conversions.

Parameters:
data   buffer to copy from.
temp   workspace to save to.
size   of temp workspace.

virtual size_t ScriptProperty::getPropertySize void   [inline, protected, virtual]
 

Get default size of creation if override.

Returns:
size to make.

virtual void ScriptProperty::setProperty char *   data,
char *   temp,
size_t   size
[protected, pure virtual]
 

Set property method.

Performs set.xxx and init.xxx methods.

Parameters:
data   buffer to work from.
temp   workspace buffer to use.
size   of data area.
size   of temp area.


Friends And Related Function Documentation

friend class ScriptInterp [friend]
 


The documentation for this class was generated from the following file:
Generated at Sat Jan 5 09:07:11 2002 for ccScript by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001