ost::Script Class Reference

Generic script class to hold master data types and various useful class encpasulated friend functions.Master script class. More...

#include <script3.h>

Inheritance diagram for ost::Script:

ost::Bayonne ost::ScriptBinder ost::ScriptCommand ost::ScriptImage ost::ScriptObject ost::ScriptProperty ost::ScriptRegistry ost::ScriptSymbols ost::ScriptThread List of all members.

Public Types

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 enum scrAccess scrAccess
typedef enum symType symType
typedef ost::Script::_symbol Symbol
typedef ost::Script::_array Array
enum  scrAccess {
  scrPUBLIC, scrPROTECTED, scrPRIVATE, scrFUNCTION,
  scrLOCAL
}
enum  symType {
  symNORMAL = 0, symCONST, symDYNAMIC, symFIFO,
  symSEQUENCE, symSTACK, symCOUNTER, symPOINTER,
  symREF, symARRAY, symASSOC, symINITIAL,
  symNUMBER, symLOCK, symPROPERTY, symORIGINAL,
  symMODIFIED, symTIMER
}

Static Public Member Functions

static bool isScript (Name *scr)
static bool isSymbol (const char *id)
static bool use (const char *name)
static unsigned getIndex (const char *id)
static Symbolderef (Symbol *sym)
static bool commit (Symbol *sym, const char *value)
static bool append (Symbol *sym, const char *value)
static bool symindex (Symbol *sym, short offset)
static const char * extract (Symbol *sym)
static unsigned count (Symbol *sym)
static unsigned storage (Symbol *sym)
static void clear (Symbol *sym)
static void addFunction (const char *name, unsigned count, Function i)
static void addConditional (const char *name, Cond test)
static bool isPrivate (Name *scr)
static bool isFunction (Name *scr)

Static Public Attributes

static bool fastStart
static bool useBigmem
static unsigned fastStepping
static unsigned autoStepping
static size_t pagesize
static unsigned symsize
static unsigned symlimit
static char decimal
static bool use_definitions
static bool use_macros
static bool use_prefix
static bool use_merge
static bool use_funcs
static const char * plugins
static const char * altplugins
static const char * access_user
static const char * access_pass
static const char * access_host
static bool exec_funcs
static const char * exec_extensions
static const char * exec_token
static const char * exec_prefix
static const char * exit_token
static const char * apps_extensions
static const char * apps_prefix
static const char * etc_prefix
static const char * var_prefix
static const char * log_prefix

Static Protected Attributes

static Testtest
static Funifun

Classes

struct  _array
struct  _symbol
class  Define
class  Fun
class  Initial
class  InitScript
class  Line
class  Name
class  NamedEvent
class  Package
class  Test

Detailed Description

Generic script class to hold master data types and various useful class encpasulated friend functions.Master script class.

Author:
David Sugar <dyfet@ostel.com>


Member Typedef Documentation

typedef struct ost::Script::_array ost::Script::Array
 

typedef const char*(ScriptCommand::* ost::Script::Check)(Line *line, ScriptImage *img)
 

typedef bool(* ost::Script::Cond)(ScriptInterp *interp, const char *v)
 

typedef long(* ost::Script::Function)(long *args, unsigned prec)
 

typedef void(* ost::Script::Init)(void)
 

typedef const char*(* ost::Script::Meta)(ScriptInterp *interp, const char *token)
 

typedef bool(ScriptInterp::* ost::Script::Method)(void)
 

typedef const char*(* ost::Script::Parse)(ScriptCompiler *img, const char *token)
 

typedef enum scrAccess ost::Script::scrAccess
 

typedef struct ost::Script::_symbol ost::Script::Symbol
 

typedef enum symType ost::Script::symType
 


Member Enumeration Documentation

enum ost::Script::scrAccess
 

Enumerator:
scrPUBLIC 
scrPROTECTED 
scrPRIVATE 
scrFUNCTION 
scrLOCAL 

enum ost::Script::symType
 

Enumerator:
symNORMAL 
symCONST 
symDYNAMIC 
symFIFO 
symSEQUENCE 
symSTACK 
symCOUNTER 
symPOINTER 
symREF 
symARRAY 
symASSOC 
symINITIAL 
symNUMBER 
symLOCK 
symPROPERTY 
symORIGINAL 
symMODIFIED 
symTIMER 


Member Function Documentation

static void ost::Script::addConditional const char *  name,
Cond  test
[static]
 

static void ost::Script::addFunction const char *  name,
unsigned  count,
Function  i
[static]
 

static bool ost::Script::append Symbol sym,
const char *  value
[static]
 

static void ost::Script::clear Symbol sym  )  [static]
 

static bool ost::Script::commit Symbol sym,
const char *  value
[static]
 

static unsigned ost::Script::count Symbol sym  )  [static]
 

static Symbol* ost::Script::deref Symbol sym  )  [static]
 

static const char* ost::Script::extract Symbol sym  )  [static]
 

static unsigned ost::Script::getIndex const char *  id  )  [static]
 

static bool ost::Script::isFunction Name scr  )  [static]
 

static bool ost::Script::isPrivate Name scr  )  [static]
 

static bool ost::Script::isScript Name scr  )  [static]
 

static bool ost::Script::isSymbol const char *  id  )  [static]
 

static unsigned ost::Script::storage Symbol sym  )  [static]
 

static bool ost::Script::symindex Symbol sym,
short  offset
[static]
 

static bool ost::Script::use const char *  name  )  [static]
 


Member Data Documentation

const char* ost::Script::access_host [static]
 

const char* ost::Script::access_pass [static]
 

const char* ost::Script::access_user [static]
 

const char* ost::Script::altplugins [static]
 

const char* ost::Script::apps_extensions [static]
 

const char* ost::Script::apps_prefix [static]
 

unsigned ost::Script::autoStepping [static]
 

char ost::Script::decimal [static]
 

const char* ost::Script::etc_prefix [static]
 

const char* ost::Script::exec_extensions [static]
 

bool ost::Script::exec_funcs [static]
 

const char* ost::Script::exec_prefix [static]
 

const char* ost::Script::exec_token [static]
 

const char* ost::Script::exit_token [static]
 

bool ost::Script::fastStart [static]
 

unsigned ost::Script::fastStepping [static]
 

Fun* ost::Script::ifun [static, protected]
 

const char* ost::Script::log_prefix [static]
 

size_t ost::Script::pagesize [static]
 

const char* ost::Script::plugins [static]
 

unsigned ost::Script::symlimit [static]
 

unsigned ost::Script::symsize [static]
 

Test* ost::Script::test [static, protected]
 

bool ost::Script::use_definitions [static]
 

bool ost::Script::use_funcs [static]
 

bool ost::Script::use_macros [static]
 

bool ost::Script::use_merge [static]
 

bool ost::Script::use_prefix [static]
 

bool ost::Script::useBigmem [static]
 

const char* ost::Script::var_prefix [static]
 


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