Reference

Script_Property(3cc)

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

NAME

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

SYNOPSIS

#include <script.h>

Static Public Member Functions

static Property * find (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 <[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.