Script_Property(3)

Script_Property3

This class is used for dso modules that impliment property extensions for scripting objects. ccscript property module.

Usage

#include <script.h>

Static Public Methods

Property * find (const char *name)

Protected Methods

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 <[email 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.

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.

Author

Generated automatically by Doxygen for ccScript from the source code.

From libccscript-dev 2.5.7-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.