\section{script.h File Reference} \label{script_8h}\index{script.h@{script.h}} {\tt \#include $<$cc++/misc.h$>$}\par {\tt \#include $<$cc++/file.h$>$}\par {\tt \#include $<$iostream$>$}\par {\tt \#include $<$fstream$>$}\par \subsection*{Compounds} \begin{CompactItemize} \item struct {\bf Script\-Command::\_\-keyword} \item struct {\bf \_\-line} \item struct {\bf \_\-script} \item struct {\bf \_\-symbol} \item class {\bf Script\-Command} \begin{CompactList}\small\item\em This class holds the bound keyword set for a given Bayonne style script interpreter. Bayonne script keyword binding tables and compiler constants.\item\end{CompactList}\item struct {\bf Script\-Interp::scriptcontext\_\-t} \item class {\bf Script\-Image} \begin{CompactList}\small\item\em A derivable class to hold compiled script images for active processes. Script compiler image set.\item\end{CompactList}\item class {\bf Script\-Interp} \begin{CompactList}\small\item\em System script interpreter core engine class. Extensible Bayonne Scripting Engine.\item\end{CompactList}\item class {\bf Script\-Locks} \begin{CompactList}\small\item\em This class holds a distributed lock set used for global script locks and the new lock/unlock commands. global lock table.\item\end{CompactList}\item class {\bf Script\-Module} \begin{CompactList}\small\item\em This class is used for generic cc\-Script {\bf DSO} {\rm (p.\,\pageref{class_d_s_o})} plugins. cc\-Script loadable module.\item\end{CompactList}\item class {\bf Script\-Package} \begin{CompactList}\small\item\em A class to represent internal cc\-Script loaded modules. loaded dso modules.\item\end{CompactList}\item class {\bf Script\-Property} \begin{CompactList}\small\item\em This class is used for {\bf DSO} {\rm (p.\,\pageref{class_d_s_o})} modules that impliment property extensions for scripting objects. cc\-Script property module.\item\end{CompactList}\item class {\bf Script\-Session} \begin{CompactList}\small\item\em This class holds an \char`\"{}active\char`\"{} session handler that has been created by a \char`\"{}slow\char`\"{} module handler. active session base class.\item\end{CompactList}\item class {\bf Script\-Symbol} \begin{CompactList}\small\item\em This class manages symbol tables for the scripting engine. Symbol table management for scripting engine.\item\end{CompactList}\item struct {\bf SCRKEYWORDS} \end{CompactItemize} \subsection*{Defines} \begin{CompactItemize} \item \#define {\bf MAX\_\-LOCKS}\ 8 \item \#define {\bf TRAP\_\-BITS}\ (sizeof(unsigned long) $\ast$ 8) \item \#define {\bf SCRIPT\_\-STACK\_\-SIZE}\ 20 \item \#define {\bf SCRIPT\_\-TEMP\_\-SPACE}\ 16 \item \#define {\bf KEYWORD\_\-INDEX\_\-SIZE}\ 37 \item \#define {\bf SYMBOL\_\-INDEX\_\-SIZE}\ 187 \item \#define {\bf SCRIPT\_\-INDEX\_\-SIZE}\ KEYWORD\_\-INDEX\_\-SIZE \end{CompactItemize} \subsection*{Typedefs} \begin{CompactItemize} \item typedef bool(Script\-Interp::$\ast$ {\bf scriptmethod\_\-t} )(void) \item typedef char $\ast$(Script\-Command::$\ast$ {\bf scriptcheck\_\-t} )(struct {\bf \_\-line} $\ast$line, {\bf Script\-Image} $\ast$img) \end{CompactItemize} \subsection*{Enumerations} \begin{CompactItemize} \item enum {\bf scriptsymtype\_\-t} \{ {\bf SYM\_\-TYPE\_\-NORMAL} = 0, {\bf SYM\_\-TYPE\_\-ALIAS}, {\bf SYM\_\-TYPE\_\-FIFO}, {\bf SYM\_\-TYPE\_\-INDEX}, {\bf SYM\_\-TYPE\_\-SEQUENCE}, {\bf SYM\_\-TYPE\_\-STACK}, {\bf SYM\_\-TYPE\_\-COUNTER}, {\bf SYM\_\-TYPE\_\-TRIGGER}, {\bf SYM\_\-TYPE\_\-POINTER} \} \end{CompactItemize} \subsection*{Variables} \begin{CompactItemize} \item CCXX\_\-CLASS\_\-EXPORT {\bf Script\-Command} \item CCXX\_\-CLASS\_\-EXPORT {\bf Script\-Image} \item CCXX\_\-CLASS\_\-EXPORT {\bf Script\-Interp} \item {\bf \_\-symbol} {\bf scriptsymbol\_\-t} \item {\bf \_\-line} {\bf scriptline\_\-t} \item {\bf \_\-script} {\bf scriptname\_\-t} \end{CompactItemize} \subsection{Define Documentation} \index{script.h@{script.h}!KEYWORD_INDEX_SIZE@{KEYWORD\_\-INDEX\_\-SIZE}} \index{KEYWORD_INDEX_SIZE@{KEYWORD\_\-INDEX\_\-SIZE}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define KEYWORD\_\-INDEX\_\-SIZE\ 37}\label{script_8h_a4} \index{script.h@{script.h}!MAX_LOCKS@{MAX\_\-LOCKS}} \index{MAX_LOCKS@{MAX\_\-LOCKS}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-LOCKS\ 8}\label{script_8h_a0} \index{script.h@{script.h}!SCRIPT_INDEX_SIZE@{SCRIPT\_\-INDEX\_\-SIZE}} \index{SCRIPT_INDEX_SIZE@{SCRIPT\_\-INDEX\_\-SIZE}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SCRIPT\_\-INDEX\_\-SIZE\ KEYWORD\_\-INDEX\_\-SIZE}\label{script_8h_a6} \index{script.h@{script.h}!SCRIPT_STACK_SIZE@{SCRIPT\_\-STACK\_\-SIZE}} \index{SCRIPT_STACK_SIZE@{SCRIPT\_\-STACK\_\-SIZE}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SCRIPT\_\-STACK\_\-SIZE\ 20}\label{script_8h_a2} \index{script.h@{script.h}!SCRIPT_TEMP_SPACE@{SCRIPT\_\-TEMP\_\-SPACE}} \index{SCRIPT_TEMP_SPACE@{SCRIPT\_\-TEMP\_\-SPACE}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SCRIPT\_\-TEMP\_\-SPACE\ 16}\label{script_8h_a3} \index{script.h@{script.h}!SYMBOL_INDEX_SIZE@{SYMBOL\_\-INDEX\_\-SIZE}} \index{SYMBOL_INDEX_SIZE@{SYMBOL\_\-INDEX\_\-SIZE}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SYMBOL\_\-INDEX\_\-SIZE\ 187}\label{script_8h_a5} \index{script.h@{script.h}!TRAP_BITS@{TRAP\_\-BITS}} \index{TRAP_BITS@{TRAP\_\-BITS}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define TRAP\_\-BITS\ (sizeof(unsigned long) $\ast$ 8)}\label{script_8h_a1} \subsection{Typedef Documentation} \index{script.h@{script.h}!scriptcheck_t@{scriptcheck\_\-t}} \index{scriptcheck_t@{scriptcheck\_\-t}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef char$\ast$ (Script\-Command::$\ast$ scriptcheck\_\-t)(struct {\bf \_\-line} $\ast$line, {\bf Script\-Image} $\ast$img)}\label{script_8h_a11} \index{script.h@{script.h}!scriptmethod_t@{scriptmethod\_\-t}} \index{scriptmethod_t@{scriptmethod\_\-t}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef bool (Script\-Interp::$\ast$ scriptmethod\_\-t)(void)}\label{script_8h_a10} \subsection{Enumeration Type Documentation} \index{script.h@{script.h}!scriptsymtype_t@{scriptsymtype\_\-t}} \index{scriptsymtype_t@{scriptsymtype\_\-t}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum scriptsymtype\_\-t}\label{script_8h_a24} \begin{Desc} \item[Enumeration values:]\par \begin{description} \index{SYM_TYPE_NORMAL@{SYM\_\-TYPE\_\-NORMAL}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_NORMAL@{SYM\_\-TYPE\_\-NORMAL}}\item[{\em {\em SYM\_\-TYPE\_\-NORMAL}\label{script_8h_a24a15} }]\index{SYM_TYPE_ALIAS@{SYM\_\-TYPE\_\-ALIAS}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_ALIAS@{SYM\_\-TYPE\_\-ALIAS}}\item[{\em {\em SYM\_\-TYPE\_\-ALIAS}\label{script_8h_a24a16} }]\index{SYM_TYPE_FIFO@{SYM\_\-TYPE\_\-FIFO}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_FIFO@{SYM\_\-TYPE\_\-FIFO}}\item[{\em {\em SYM\_\-TYPE\_\-FIFO}\label{script_8h_a24a17} }]\index{SYM_TYPE_INDEX@{SYM\_\-TYPE\_\-INDEX}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_INDEX@{SYM\_\-TYPE\_\-INDEX}}\item[{\em {\em SYM\_\-TYPE\_\-INDEX}\label{script_8h_a24a18} }]\index{SYM_TYPE_SEQUENCE@{SYM\_\-TYPE\_\-SEQUENCE}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_SEQUENCE@{SYM\_\-TYPE\_\-SEQUENCE}}\item[{\em {\em SYM\_\-TYPE\_\-SEQUENCE}\label{script_8h_a24a19} }]\index{SYM_TYPE_STACK@{SYM\_\-TYPE\_\-STACK}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_STACK@{SYM\_\-TYPE\_\-STACK}}\item[{\em {\em SYM\_\-TYPE\_\-STACK}\label{script_8h_a24a20} }]\index{SYM_TYPE_COUNTER@{SYM\_\-TYPE\_\-COUNTER}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_COUNTER@{SYM\_\-TYPE\_\-COUNTER}}\item[{\em {\em SYM\_\-TYPE\_\-COUNTER}\label{script_8h_a24a21} }]\index{SYM_TYPE_TRIGGER@{SYM\_\-TYPE\_\-TRIGGER}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_TRIGGER@{SYM\_\-TYPE\_\-TRIGGER}}\item[{\em {\em SYM\_\-TYPE\_\-TRIGGER}\label{script_8h_a24a22} }]\index{SYM_TYPE_POINTER@{SYM\_\-TYPE\_\-POINTER}!script.h@{script.h}}\index{script.h@{script.h}!SYM_TYPE_POINTER@{SYM\_\-TYPE\_\-POINTER}}\item[{\em {\em SYM\_\-TYPE\_\-POINTER}\label{script_8h_a24a23} }]\end{description} \end{Desc} \subsection{Variable Documentation} \index{script.h@{script.h}!ScriptCommand@{ScriptCommand}} \index{ScriptCommand@{ScriptCommand}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}class CCXX\_\-CLASS\_\-EXPORT Script\-Command}\label{script_8h_a7} \index{script.h@{script.h}!ScriptImage@{ScriptImage}} \index{ScriptImage@{ScriptImage}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}class CCXX\_\-CLASS\_\-EXPORT Script\-Image}\label{script_8h_a8} \index{script.h@{script.h}!ScriptInterp@{ScriptInterp}} \index{ScriptInterp@{ScriptInterp}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}class CCXX\_\-CLASS\_\-EXPORT Script\-Interp}\label{script_8h_a9} \index{script.h@{script.h}!scriptline_t@{scriptline\_\-t}} \index{scriptline_t@{scriptline\_\-t}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf \_\-line} scriptline\_\-t}\label{script_8h_a13} \index{script.h@{script.h}!scriptname_t@{scriptname\_\-t}} \index{scriptname_t@{scriptname\_\-t}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf \_\-script} scriptname\_\-t}\label{script_8h_a14} \index{script.h@{script.h}!scriptsymbol_t@{scriptsymbol\_\-t}} \index{scriptsymbol_t@{scriptsymbol\_\-t}!script.h@{script.h}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf \_\-symbol} scriptsymbol\_\-t}\label{script_8h_a12}