This class is used for DSO modules that impliment property extensions for scripting objects.
More...
#include <script3.h>
|
enum | scrAccess {
scrPUBLIC,
scrPROTECTED,
scrPRIVATE,
scrFUNCTION,
scrLOCAL
} |
|
typedef enum scrAccess | scrAccess |
|
enum | symType {
symNORMAL = 0,
symCONST,
symDYNAMIC,
symFIFO,
symSEQUENCE,
symSTACK,
symCOUNTER,
symPOINTER,
symREF,
symARRAY,
symASSOC,
symINITIAL,
symNUMBER,
symLOCK,
symPROPERTY,
symORIGINAL,
symMODIFIED,
symTIMER,
symBOOL
} |
|
typedef enum symType | symType |
|
typedef bool(ScriptInterp::* | Method )(void) |
|
typedef const char
*(ScriptCommand::* | Check )(Line *line, ScriptImage *img) |
|
typedef bool(* | Cond )(ScriptInterp *interp, const char *v) |
|
typedef long(* | Function )(long *args, unsigned prec) |
|
typedef const char *(* | Meta )(ScriptInterp *interp, const char *token) |
|
typedef const char *(* | Parse )(ScriptCompiler *img, const char *token) |
|
typedef void(* | Init )(void) |
|
typedef struct ost::Script::_symbol | Symbol |
|
typedef struct ost::Script::_array | Array |
|
|
virtual void | set (const char *data, char *temp, unsigned size)=0 |
| Set property method. More...
|
|
virtual unsigned | prec (void) |
| Precision for property type expressions. More...
|
|
virtual void | setValue (char *data, unsigned short size, long value) |
| Set property from integer value. More...
|
|
virtual bool | isProperty (const char *data) |
| See if should be computed as property. More...
|
|
virtual void | clear (char *data, unsigned size=0) |
| Initialize a new property through var definition. More...
|
|
virtual char | token (void) |
| Fetch a property specific seperator token. More...
|
|
virtual void | adjust (char *data, size_t size, long adjustment) |
| adjust value method. More...
|
|
virtual long | adjustValue (long value) |
| normalize values for scope and range. More...
|
|
virtual long | getValue (const char *data) |
| Get the "numeric" (or #var) value of this property symbol. More...
|
|
| ScriptProperty (const char *name) |
|
virtual | ~ScriptProperty () |
|
This class is used for DSO modules that impliment property extensions for scripting objects.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m ccScript property module
Definition at line 1692 of file script3.h.
typedef const char*(ScriptCommand::* ost::Script::Check)(Line *line, ScriptImage *img) |
|
inherited |
typedef bool(* ost::Script::Cond)(ScriptInterp *interp, const char *v) |
|
inherited |
typedef long(* ost::Script::Function)(long *args, unsigned prec) |
|
inherited |
typedef void(* ost::Script::Init)(void) |
|
inherited |
typedef bool(ScriptInterp::* ost::Script::Method)(void) |
|
inherited |
Enumerator |
---|
scrPUBLIC |
|
scrPROTECTED |
|
scrPRIVATE |
|
scrFUNCTION |
|
scrLOCAL |
|
Definition at line 113 of file script3.h.
Enumerator |
---|
symNORMAL |
|
symCONST |
|
symDYNAMIC |
|
symFIFO |
|
symSEQUENCE |
|
symSTACK |
|
symCOUNTER |
|
symPOINTER |
|
symREF |
|
symARRAY |
|
symASSOC |
|
symINITIAL |
|
symNUMBER |
|
symLOCK |
|
symPROPERTY |
|
symORIGINAL |
|
symMODIFIED |
|
symTIMER |
|
symBOOL |
|
Definition at line 123 of file script3.h.
ost::ScriptProperty::ScriptProperty |
( |
const char * |
name | ) |
|
virtual ost::ScriptProperty::~ScriptProperty |
( |
| ) |
|
|
virtual |
static void ost::Script::addConditional |
( |
const char * |
name, |
|
|
Cond |
test |
|
) |
| |
|
staticinherited |
static void ost::Script::addFunction |
( |
const char * |
name, |
|
|
unsigned |
count, |
|
|
Function |
i |
|
) |
| |
|
staticinherited |
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. |
static bool ost::Script::append |
( |
Symbol * |
sym, |
|
|
const char * |
value |
|
) |
| |
|
staticinherited |
static void ost::Script::clear |
( |
Symbol * |
sym | ) |
|
|
staticinherited |
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 bool ost::Script::commit |
( |
Symbol * |
sym, |
|
|
const char * |
value |
|
) |
| |
|
staticinherited |
static unsigned ost::Script::count |
( |
Symbol * |
sym | ) |
|
|
staticinherited |
static const char* ost::Script::extract |
( |
Symbol * |
sym | ) |
|
|
staticinherited |
static unsigned ost::Script::getIndex |
( |
const char * |
id | ) |
|
|
staticinherited |
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. |
static bool ost::Script::isFunction |
( |
Name * |
scr | ) |
|
|
staticinherited |
static bool ost::Script::isPrivate |
( |
Name * |
scr | ) |
|
|
staticinherited |
virtual bool ost::ScriptProperty::isProperty |
( |
const char * |
data | ) |
|
|
virtual |
See if should be computed as property.
- Returns
- true if property valid.
- Parameters
-
static bool ost::Script::isScript |
( |
Name * |
scr | ) |
|
|
staticinherited |
static bool ost::Script::isSymbol |
( |
const char * |
id | ) |
|
|
staticinherited |
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. |
static unsigned ost::Script::storage |
( |
Symbol * |
sym | ) |
|
|
staticinherited |
static bool ost::Script::symindex |
( |
Symbol * |
sym, |
|
|
short |
offset |
|
) |
| |
|
staticinherited |
virtual char ost::ScriptProperty::token |
( |
void |
| ) |
|
|
virtual |
Fetch a property specific seperator token.
- Returns
- seperator token used in foreach loops...
static bool ost::Script::use |
( |
const char * |
name | ) |
|
|
staticinherited |
const char* ost::Script::access_host |
|
staticinherited |
const char* ost::Script::access_pass |
|
staticinherited |
const char* ost::Script::access_user |
|
staticinherited |
const char* ost::Script::altplugins |
|
staticinherited |
const char* ost::Script::apps_extensions |
|
staticinherited |
const char* ost::Script::apps_prefix |
|
staticinherited |
unsigned ost::Script::autoStepping |
|
staticinherited |
char ost::Script::decimal |
|
staticinherited |
const char* ost::Script::etc_prefix |
|
staticinherited |
const char* ost::Script::exec_extensions |
|
staticinherited |
bool ost::Script::exec_funcs |
|
staticinherited |
const char* ost::Script::exec_prefix |
|
staticinherited |
const char* ost::Script::exec_token |
|
staticinherited |
const char* ost::Script::exit_token |
|
staticinherited |
bool ost::Script::fastStart |
|
staticinherited |
unsigned ost::Script::fastStepping |
|
staticinherited |
const char* ost::ScriptProperty::id |
|
private |
const char* ost::Script::log_prefix |
|
staticinherited |
size_t ost::Script::pagesize |
|
staticinherited |
const char* ost::Script::plugins |
|
staticinherited |
unsigned ost::Script::symlimit |
|
staticinherited |
unsigned ost::Script::symsize |
|
staticinherited |
bool ost::Script::use_definitions |
|
staticinherited |
bool ost::Script::use_funcs |
|
staticinherited |
bool ost::Script::use_macros |
|
staticinherited |
bool ost::Script::use_merge |
|
staticinherited |
bool ost::Script::use_prefix |
|
staticinherited |
bool ost::Script::useBigmem |
|
staticinherited |
const char* ost::Script::var_prefix |
|
staticinherited |
The documentation for this class was generated from the following file: