Script::Property 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 Member Functions

static Propertyfind (const char *name)

Protected Member Functions

virtual void setProperty (char *data, char *temp, size_t size)=0
 Set property method.
virtual void getProperty (char *data, char *temp, size_t size)=0
 Get property method.
virtual void adjProperty (char *data, size_t size, int adjust)
 adjust value method.
virtual size_t getPropertySize (void)
 Get default size of creation if override.
 Property (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

Script::Property::Property ( const char *  name  )  [protected]


Member Function Documentation

virtual void Script::Property::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.

static Property* Script::Property::find ( const char *  name  )  [static]

virtual void Script::Property::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 Script::Property::getPropertySize ( void   )  [inline, protected, virtual]

Get default size of creation if override.

Returns:
size to make.

virtual void Script::Property::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 on Mon Oct 23 00:53:17 2006 for ccScript by  doxygen 1.4.7