ost::ScriptProperty Class Reference

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

#include <script3.h>

Inheritance diagram for ost::ScriptProperty:

ost::Script List of all members.

Public Member Functions

virtual void set (const char *data, char *temp, unsigned size)=0
 Set property method.
virtual unsigned prec (void)
 Precision for property type expressions.
virtual void setValue (char *data, unsigned short size, long value)
 Set property from integer value.
virtual bool isProperty (const char *data)
 See if should be computed as property.
virtual void clear (char *data, unsigned size=0)
 Initialize a new property through var definition.
virtual char token (void)
 Fetch a property specific seperator token.
virtual void adjust (char *data, size_t size, long adjustment)
 adjust value method.
virtual long adjustValue (long value)
 normalize values for scope and range.
virtual long getValue (const char *data)
 Get the "numeric" (or var) value of this property symbol.
 ScriptProperty (const char *name)
virtual ~ScriptProperty ()

Static Public Member Functions

static ScriptPropertyfind (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

ost::ScriptProperty::ScriptProperty const char *  name  ) 
 

virtual ost::ScriptProperty::~ScriptProperty  )  [virtual]
 


Member Function Documentation

virtual void ost::ScriptProperty::adjust char *  data,
size_t  size,
long  adjustment
[virtual]
 

adjust value method.

Performs inc.xxx conversions.

Parameters:
data buffer to work from.
size of data buffer.
adjustment offset to apply.

virtual long ost::ScriptProperty::adjustValue long  value  )  [virtual]
 

normalize values for scope and range.

Returns:
noramized value.
Parameters:
value prior to normalization.

virtual void ost::ScriptProperty::clear char *  data,
unsigned  size = 0
[virtual]
 

Initialize a new property through var definition.

Returns:
property value.
Parameters:
data location to clear.
size of workspace to clear.

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

virtual long ost::ScriptProperty::getValue const char *  data  )  [virtual]
 

Get the "numeric" (or var) value of this property symbol.

Returns:
numeric value of this property object.
Parameters:
data being examined from property object.

virtual bool ost::ScriptProperty::isProperty const char *  data  )  [virtual]
 

See if should be computed as property.

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

virtual unsigned ost::ScriptProperty::prec void   )  [virtual]
 

Precision for property type expressions.

Returns:
precision.

virtual void ost::ScriptProperty::set const char *  data,
char *  temp,
unsigned  size
[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 temp area.

virtual void ost::ScriptProperty::setValue char *  data,
unsigned short  size,
long  value
[virtual]
 

Set property from integer value.

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

virtual char ost::ScriptProperty::token void   )  [virtual]
 

Fetch a property specific seperator token.

Returns:
seperator token used in foreach loops...


Friends And Related Function Documentation

friend class ScriptInterp [friend]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 6 09:03:08 2006 for Bayonne Framework by  doxygen 1.4.6