Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 070b5c05d42a76a25abd916d2fe11a39 > files > 81

ccscript-1.8.4-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ost::ScriptImage class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.10 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>ost::ScriptImage  Class Reference</h1>A derivable class to hold compiled script images for active processes. Script compiler image set. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="script_8h-source.html">script.h</a>&gt;</code>
<p>
<p>Inheritance diagram for ost::ScriptImage::
<p><center><img src="classost_1_1_script_image.gif" usemap="#ost::ScriptImage_map" border="0"></center>
<map name="ost::ScriptImage_map">
<area href="class_mem_pager.html" alt="MemPager" shape="rect" coords="0,0,100,24">
</map>
<a href="classost_1_1_script_image-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="namespaceost.html#a7">scriptname_t</a> *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#a0">getScript</a> (const char *name)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Fetch named script.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="namespaceost.html#a7">scriptname_t</a> *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#a1">dupScript</a> (const char *name, const char *target)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Duplicate script if needed.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>unsigned&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#a2">Gather</a> (const char *suffix, <a class="el" href="namespaceost.html#a7">scriptname_t</a> **array, unsigned size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Fetch list of relational scripts.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>std::istream *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#a3">getSource</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Used by embedded interpreters to fetch script from the current source file.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>char *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b0">getToken</a> (void)</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceost.html#a3">scriptmethod_t</a>&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b1">getHandler</a> (const char *keyword)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the interpreter method pointer for a given keyword.</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b2">ScriptImage</a> (<a class="el" href="classost_1_1_script_command.html">ScriptCommand</a> *cmdset)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Construct a new working image.</em> <a href="#b2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b3">Purge</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Purge and reload the script image workspace.</em> <a href="#b3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceost.html#a7">scriptname_t</a> *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b4">Include</a> (const char *scrfile)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>A method to invoke the script compiler to include a script only if it has not been included already.</em> <a href="#b4">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b5">Compile</a> (const char *scrfile)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The script compiler itself.</em> <a href="#b5">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b6">Compile</a> (const char *scrfile, char *name)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Compile a script from disk and give it a different internal "name" as passed.</em> <a href="#b6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b7">Compile</a> (std::istream *str, char *name, const char *scrname=NULL)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Compile an open stream object into a script.</em> <a href="#b7">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#b8">Commit</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Used in the derived constructor to "commit" the current image for new processes.</em> <a href="#b8">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>std::ifstream&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n0">scrSource</a></td></tr>
<tr><td nowrap align=right valign=top>std::istream *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n1">scrStream</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classost_1_1_script_command.html">ScriptCommand</a> *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n2">cmds</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n3">refcount</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceost.html#a7">scriptname_t</a> *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n4">index</a> [SCRIPT_INDEX_SIZE]</td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n5">buffer</a> [512]</td></tr>
<tr><td nowrap align=right valign=top>char *&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n6">bp</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n7">quote</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="class_mutex.html">Mutex</a>&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#n8">duplock</a></td></tr>
<tr><td colspan=2><br><h2>Friends</h2></td></tr>
<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#l0">ScriptInterp</a></td></tr>
<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classost_1_1_script_image.html#l1">ScriptModule</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A derivable class to hold compiled script images for active processes. Script compiler image set.
<p>
This includes the script image compiler itself. Typically, a script is compiled one file at a time from a directory, and the committed, during the constructor in a derived class.
<p>
<dl compact><dt><b>
Author: </b><dd>
David Sugar &lt;<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>&gt;. </dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="b2" doxytag="ost::ScriptImage::ScriptImage"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ost::ScriptImage::ScriptImage </td>
          <td class="md">(&nbsp;</td>
          <td class="md"><a class="el" href="classost_1_1_script_command.html">ScriptCommand</a> *</td>
          <td class="mdname1">&nbsp; <em>cmdset</em>          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new working image.
<p>
This must be derived to an application specific compiler that can scan directories and invoke the compiler as needed.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>cmdset
</em>&nbsp;</td><td>
of keyword table object used. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="b8" doxytag="ost::ScriptImage::Commit"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void ost::ScriptImage::Commit </td>
          <td class="md">(&nbsp;</td>
          <td class="md">void</td>
          <td class="mdname1">&nbsp;          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Used in the derived constructor to "commit" the current image for new processes.
<p>
This is usually the last statement in the derived constructor.     </td>
  </tr>
</table>
<a name="b7" doxytag="ost::ScriptImage::Compile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int ost::ScriptImage::Compile </td>
          <td class="md">(&nbsp;</td>
          <td class="md">std::istream *</td>
          <td class="mdname">&nbsp; <em>str</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">char *</td>
          <td class="mdname">&nbsp; <em>name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>scrname</em> = NULL</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Compile an open stream object into a script.
<p>
<dl compact><dt><b>
Returns: </b><dd>
lines of script compiled. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>stream
</em>&nbsp;</td><td>
object to use. </td></tr>
<tr><td valign=top><em>name
</em>&nbsp;</td><td>
of script save under. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="b6" doxytag="ost::ScriptImage::Compile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int ost::ScriptImage::Compile </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>scrfile</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">char *</td>
          <td class="mdname">&nbsp; <em>name</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Compile a script from disk and give it a different internal "name" as passed.
<p>
<dl compact><dt><b>
Returns: </b><dd>
lines of script compiled. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name
</em>&nbsp;</td><td>
of script file to compile. </td></tr>
<tr><td valign=top><em>name
</em>&nbsp;</td><td>
of script to save under. </td></tr>
<tr><td valign=top><em>test
</em>&nbsp;</td><td>
if script already loaded. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="b5" doxytag="ost::ScriptImage::Compile"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int ost::ScriptImage::Compile </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname1">&nbsp; <em>scrfile</em>          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The script compiler itself.
<p>
This linearly compiles a Bayonne script file that is specified. Normally used along with a dir scanner in the constructor.
<p>
<dl compact><dt><b>
Returns: </b><dd>
lines of script compiled. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name
</em>&nbsp;</td><td>
of script file to compile. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a2" doxytag="ost::ScriptImage::Gather"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned ost::ScriptImage::Gather </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>suffix</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md"><a class="el" href="namespaceost.html#a7">scriptname_t</a> **</td>
          <td class="mdname">&nbsp; <em>array</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">unsigned</td>
          <td class="mdname">&nbsp; <em>size</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Fetch list of relational scripts.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>suffix.
</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em>index.
</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em>max
</em>&nbsp;</td><td>
entries. </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
count of entries found. </dl>    </td>
  </tr>
</table>
<a name="b4" doxytag="ost::ScriptImage::Include"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceost.html#a7">scriptname_t</a>* ost::ScriptImage::Include </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname1">&nbsp; <em>scrfile</em>          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A method to invoke the script compiler to include a script only if it has not been included already.
<p>
<dl compact><dt><b>
Returns: </b><dd>
named script object. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name
</em>&nbsp;</td><td>
of script file to compile. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="b3" doxytag="ost::ScriptImage::Purge"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void ost::ScriptImage::Purge </td>
          <td class="md">(&nbsp;</td>
          <td class="md">void</td>
          <td class="mdname1">&nbsp;          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Purge and reload the script image workspace.
<p>
    </td>
  </tr>
</table>
<a name="a1" doxytag="ost::ScriptImage::dupScript"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceost.html#a7">scriptname_t</a>* ost::ScriptImage::dupScript </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>target</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Duplicate script if needed.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>script
</em>&nbsp;</td><td>
name to dup. </td></tr>
<tr><td valign=top><em>target
</em>&nbsp;</td><td>
name to dup as. </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
script or NULL. </dl>    </td>
  </tr>
</table>
<a name="b1" doxytag="ost::ScriptImage::getHandler"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceost.html#a3">scriptmethod_t</a> ost::ScriptImage::getHandler </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname1">&nbsp; <em>keyword</em>          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [inline, protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the interpreter method pointer for a given keyword.
<p>
<dl compact><dt><b>
Returns: </b><dd>
method handler. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>keyword
</em>&nbsp;</td><td>
to search. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a0" doxytag="ost::ScriptImage::getScript"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceost.html#a7">scriptname_t</a>* ost::ScriptImage::getScript </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname1">&nbsp; <em>name</em>          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Fetch named script.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>script
</em>&nbsp;</td><td>
name to find. </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
script or NULL. </dl>    </td>
  </tr>
</table>
<a name="a3" doxytag="ost::ScriptImage::getSource"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::istream* ost::ScriptImage::getSource </td>
          <td class="md">(&nbsp;</td>
          <td class="md">void</td>
          <td class="mdname1">&nbsp;          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Used by embedded interpreters to fetch script from the current source file.
<p>
<dl compact><dt><b>
Returns: </b><dd>
reference to source file stream. </dl>    </td>
  </tr>
</table>
<a name="b0" doxytag="ost::ScriptImage::getToken"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> char* ost::ScriptImage::getToken </td>
          <td class="md">(&nbsp;</td>
          <td class="md">void</td>
          <td class="mdname1">&nbsp;          </td>
          <td class="md">)&nbsp;</td>
          <td class="md"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="l0" doxytag="ost::ScriptImage::ScriptInterp"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend class ScriptInterp<code> [friend]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="l1" doxytag="ost::ScriptImage::ScriptModule"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend class ScriptModule<code> [friend]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="n6" doxytag="ost::ScriptImage::bp"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> char* ost::ScriptImage::bp<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n5" doxytag="ost::ScriptImage::buffer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> char ost::ScriptImage::buffer[512]<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n2" doxytag="ost::ScriptImage::cmds"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classost_1_1_script_command.html">ScriptCommand</a>* ost::ScriptImage::cmds<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n8" doxytag="ost::ScriptImage::duplock"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="class_mutex.html">Mutex</a> ost::ScriptImage::duplock<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n4" doxytag="ost::ScriptImage::index"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceost.html#a7">scriptname_t</a>* ost::ScriptImage::index[SCRIPT_INDEX_SIZE]<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n7" doxytag="ost::ScriptImage::quote"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool ost::ScriptImage::quote<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n3" doxytag="ost::ScriptImage::refcount"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int ost::ScriptImage::refcount<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n0" doxytag="ost::ScriptImage::scrSource"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::ifstream ost::ScriptImage::scrSource<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="n1" doxytag="ost::ScriptImage::scrStream"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::istream* ost::ScriptImage::scrStream<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="script_8h-source.html">script.h</a></ul>
<hr><address><small>Generated at Fri Nov 2 09:22:25 2001 for ccscript by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.10 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2001</small></address>
</body>
</html>