Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

Script::Property Class Reference

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

#include <bayonnescript.h>

List of all members.

Static Public Member Functions

static Propertyfind (const char *name)

Protected Member Functions

virtual void setProperty (char *data, char *temp, unsigned size)=0
 Set property method.
virtual long getValue (const char *data)
 Get property into numeric value.
virtual void setValue (char *data, unsigned len, long value)
 Set integer property to a value.
virtual bool isProperty (const char *data)
 See if should be computed as property.
virtual void getProperty (char *data, char *temp, unsigned size)=0
 Get property method.
virtual long adjustValue (long value)
 normalize values for scope and range.
virtual unsigned getPropertySize (void)
 Get default size of creation if override.
 Property (const char *name)

Friends

class __EXPORT 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 long Script::Property::adjustValue long  value  )  [inline, protected, virtual]
 

normalize values for scope and range.

Returns:
noramized value.
Parameters:
original value.

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

virtual void Script::Property::getProperty char *  data,
char *  temp,
unsigned  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 unsigned Script::Property::getPropertySize void   )  [inline, protected, virtual]
 

Get default size of creation if override.

Returns:
size to make.

virtual long Script::Property::getValue const char *  data  )  [inline, protected, virtual]
 

Get property into numeric value.

Parameters:
content. 
Returns:
numeric value for computations.

virtual bool Script::Property::isProperty const char *  data  )  [inline, protected, virtual]
 

See if should be computed as property.

Returns:
true if property valid.
Parameters:
string to test.

virtual void Script::Property::setProperty char *  data,
char *  temp,
unsigned  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.

virtual void Script::Property::setValue char *  data,
unsigned  len,
long  value
[inline, protected, virtual]
 

Set integer property to a value.

Parameters:
data to save.
size of data.
value. 


Friends And Related Function Documentation

friend class __EXPORT ScriptInterp [friend]
 


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 02:19:09 2005 for Bayonne by  doxygen 1.4.4