From: Chris S. <san...@us...> - 2005-07-14 18:53:44
|
Update of /cvsroot/stack/stack-1-0/api/lib/Stack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14993/api/lib/Stack Added Files: Axiom.html CASProcess.html Maxima.html StackCAS.html StackProcess.html StackRequest.html StackResponse.html StackSocket.html TexProcess.html _scripts_CASpool_stackCAS_php.html _scripts_CASpool_stackProcess_php.html _scripts_CASpool_stackRequest_php.html _scripts_CASpool_stackSocket_php.html Log Message: Updated API --- NEW FILE: TexProcess.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class TexProcess</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> TexProcess</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-vars">Vars</a> | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Class to support communication with a TeX-HTML converter.</p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackProcess_php.html">/scripts/CASpool/stackProcess.php</a> (line <span class="field">119</span>) </p> <pre><a href="../../lib/Stack/StackProcess.html">StackProcess</a> | --TexProcess</pre> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#TexProcess" title="details" class="method-name">TexProcess</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">boolean</span> <a href="#CPInitialise" title="details" class="method-name">CPInitialise</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPSend" title="details" class="method-name">CPSend</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <h4>Inherited Variables</h4> <A NAME='inherited_vars'><!-- --></A> <p>Inherited from <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpCmd">StackProcess::$cpCmd</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpDescriptors">StackProcess::$cpDescriptors</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpPipes">StackProcess::$cpPipes</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpProcess">StackProcess::$cpProcess</a></span><br> </span> </blockquote> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodTexProcess" id="TexProcess"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor TexProcess</span> (line <span class="line-number">129</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Initialises $cpCmd and $cpDescriptors according to values set in stacksettings.inc</p></p> <ul class="tags"> <li><span class="field">see:</span> <a href="../../lib/Stack/StackProcess.html#methodStackProcess">StackProcess::StackProcess()</a></li> </ul> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> TexProcess </span> () </div> </div> <a name="methodCPInitialise" id="CPInitialise"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPInitialise</span> (line <span class="line-number">148</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Opens communication with external process.</p> <ul class="tags"> <li><span class="field">return:</span> true if connected successfully, false otherwise</li> <li><span class="field">see:</span> <a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></li> </ul> <div class="method-signature"> <span class="method-result">boolean</span> <span class="method-name"> CPInitialise </span> () </div> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></dt> <dd>Opens communication with external process.</dd> </dl> </div> <a name="methodCPSend" id="CPSend"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPSend</span> (line <span class="line-number">162</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Send and receive data from stdin and stdout.</p> <p class="description"><p>Possible error: -'TEX-INVALID' if received from unknown source</p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains converted HTML string</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPSend </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span><span class="var-description">: Expecting $crType 'TEXCOMMAND', $crData contains TeX string to convert</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></dt> <dd>Send and receive data from external process.</dd> </dl> </div> <h4>Inherited Methods</h4> <a name='inherited_methods'><!-- --></a> <!-- =========== Summary =========== --> <p>Inherited From <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodStackProcess">StackProcess::StackProcess()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPClose">StackProcess::CPClose()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInterrupt">StackProcess::CPInterrupt()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></span><br> </blockquote> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:21 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_CASpool_stackProcess_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackProcess.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/CASpool/stackProcess.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">These classes send and receive data from an external process (e.g. CAS, TTH).</p> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> </div> <div class="info-box-body"> <a name="_{$stack_root}/scripts/CASpool/stackCAS_php"><!-- --></a> <div class="oddrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/CASpool/stackCAS.php"</span>) (line <span class="line-number">12</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> <a name="_{$stack_root}/scripts/CASpool/stackRequest_php"><!-- --></a> <div class="evenrow"> <div> <img src="../../media/images/Page.png" alt=" " /> <span class="include-title"> <span class="include-type">include_once</span> (<span class="include-name">"{$stack_root}/scripts/CASpool/stackRequest.php"</span>) (line <span class="line-number">17</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:20 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: CASProcess.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class CASProcess</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> CASProcess</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Class to support communication with an external CAS process.</p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackProcess_php.html">/scripts/CASpool/stackProcess.php</a> (line <span class="field">194</span>) </p> <pre><a href="../../lib/Stack/StackProcess.html">StackProcess</a> | --CASProcess</pre> </div> </div> <a name="sec-var-summary"></a> <div class="info-box"> <div class="info-box-title">Variable Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="var-summary"> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span> <a href="#$cpCAS" title="details" class="var-name">$cpCAS</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">char</span> <a href="#$cpOutputEndChar" title="details" class="var-name">$cpOutputEndChar</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">char</span> <a href="#$cpOutputStartChar" title="details" class="var-name">$cpOutputStartChar</a> </div> </div> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#CASProcess" title="details" class="method-name">CASProcess</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPAnswerTest" title="details" class="method-name">CPAnswerTest</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$testRequest</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">void</span> <a href="#CPClose" title="details" class="method-name">CPClose</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">boolean</span> <a href="#CPInitialise" title="details" class="method-name">CPInitialise</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPProcessVars" title="details" class="method-name">CPProcessVars</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <a href="#CPSend" title="details" class="method-name">CPSend</a> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <a name="var$cpCAS" id="$cpCAS"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span> <span class="var-name">$cpCAS</span> (line <span class="line-number">199</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Holds/produces CAS-specific information</li> </ul> </div> <a name="var$cpOutputEndChar" id="$cpOutputEndChar"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">char</span> <span class="var-name">$cpOutputEndChar</span> (line <span class="line-number">207</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Marks the end of expected CAS output</li> </ul> </div> <a name="var$cpOutputStartChar" id="$cpOutputStartChar"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">char</span> <span class="var-name">$cpOutputStartChar</span> (line <span class="line-number">203</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Marks the beginning of expected CAS output</li> </ul> </div> <h4>Inherited Variables</h4> <A NAME='inherited_vars'><!-- --></A> <p>Inherited from <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpCmd">StackProcess::$cpCmd</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpDescriptors">StackProcess::$cpDescriptors</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpPipes">StackProcess::$cpPipes</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackProcess.html#var$cpProcess">StackProcess::$cpProcess</a></span><br> </span> </blockquote> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodCASProcess" id="CASProcess"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor CASProcess</span> (line <span class="line-number">217</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Uses information from stacksettings.inc to initialise $cpCmd and $cpDescriptors. The initial release of STACK supports the Axiom CAS, which is available from <a href="http://www.nongnu.org/axiom">Axiom</a>.</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> CASProcess </span> () </div> </div> <a name="methodCPAnswerTest" id="CPAnswerTest"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPAnswerTest</span> (line <span class="line-number">368</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Evaluate an answer test.</p> <p class="description"><p>Possible errors: <ul><li>TEST-UNPACK : couldn't read the data sent in the request, $crReturn contains keys of empty variables</li><li>TEST-UNKNOWN : an unsupported answer test was requested, $crReturn contains name of unsupported answer test</li><li>TEST-TIMESTAMP : output from CAS did not match with input</li><li>TEST-PARSE : output from CAS could not be parsed, $crReturn contains errors</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains CAS output</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPAnswerTest </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$testRequest</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$testRequest</span><span class="var-description">: $crData contains answer test parameters</span> </li> </ul> </div> <a name="methodCPClose" id="CPClose"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPClose</span> (line <span class="line-number">544</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Closes communication with external process.</p> <p class="description"><p>Attempts to close CAS process nicely and terminates it if this doesn't work.</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> CPClose </span> () </div> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPClose">StackProcess::CPClose()</a></dt> <dd>Closes communication with external process.</dd> </dl> </div> <a name="methodCPInitialise" id="CPInitialise"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPInitialise</span> (line <span class="line-number">248</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Opens communication with external process.</p> <ul class="tags"> <li><span class="field">return:</span> true if connected successfully, false otherwise</li> </ul> <div class="method-signature"> <span class="method-result">boolean</span> <span class="method-name"> CPInitialise </span> () </div> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></dt> <dd>Opens communication with external process.</dd> </dl> </div> <a name="methodCPProcessVars" id="CPProcessVars"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPProcessVars</span> (line <span class="line-number">463</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Instantiate a list of local variables.</p> <p class="description"><p>Possible errors: <ul><li>VARS-UNPACK : request array was empty</li><li>VARS-CODEINST : error instantiating CAS-specific code</li><li>VARS-TIMESTAMP : output from CAS did not match with input</li><li>VARS-PARSE : output from CAS could not be parsed, any variables that could not be instantiated are restored to un-CASed value in $crReturn</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains the instantiated values</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPProcessVars </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$varRequest</span><span class="var-description">: $crData contains the list of local variables</span> </li> </ul> </div> <a name="methodCPSend" id="CPSend"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CPSend</span> (line <span class="line-number">275</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Send and receive data from stdin and stdout.</p> <p class="description"><p>Possible errors: <ul><li>CAS-INVALID : indicates syntax error with CAS Command (didn't produce expected output)</li><li>CAS-TIMEOUT : took more than $stack_timeout seconds to finish processing</li></ul></p></p> <ul class="tags"> <li><span class="field">return:</span> $crReturn contains the CAS' returned value</li> </ul> <div class="method-signature"> <span class="method-result"><a href="../../lib/Stack/StackResponse.html">StackResponse</a></span> <span class="method-name"> CPSend </span> (<span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span>) </div> <ul class="parameters"> <li> <span class="var-type"><a href="../../lib/Stack/StackRequest.html">StackRequest</a></span> <span class="var-name">$request</span><span class="var-description">: $crData contains the command to be sent to the CAS</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></dt> <dd>Send and receive data from external process.</dd> </dl> </div> <h4>Inherited Methods</h4> <a name='inherited_methods'><!-- --></a> <!-- =========== Summary =========== --> <p>Inherited From <span class="classname"><a href="../../lib/Stack/StackProcess.html">StackProcess</a></span></p> <blockquote> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodStackProcess">StackProcess::StackProcess()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPClose">StackProcess::CPClose()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInitialise">StackProcess::CPInitialise()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPInterrupt">StackProcess::CPInterrupt()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackProcess.html#methodCPSend">StackProcess::CPSend()</a></span><br> </blockquote> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:20 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: _scripts_CASpool_stackRequest_php.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page stackRequest.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/scripts/CASpool/stackRequest.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Classes for communicating between sockets, processes and the web client.</p> <p class="description"><p>These classes handle the following types of communication: <ol><li>Web Client to Stack Socket</li><li>Parent Stack Socket to Child Stack Socket</li><li>Child Stack Socket to its CASProcess</li><li>Between CASProcess functions (e.g. CPAnswerTest to CPSend)</li></ol> Currently supported request types: <ul><li>TEXCOMMAND : convert TEX to HTML</li><li>INITIALISE: send an initialisation command to the CAS</li><li>COMMAND : evaluate a simple CAS Command</li><li>TEST : apply an answer test</li><li>PROCESSVARS : instantiate a list of local variables</li><li>SOCKETCLOSE : shutdown the system</li><li>FINISH : acknowledge that response data has been received</li></ul></p></p> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:23 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: StackRequest.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class StackRequest</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> StackRequest</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">This class is used to send a request for data.</p> <p class="description"><p>Along with <a href="../../lib/Stack/StackResponse.html">StackResponse</a>, this class handles the following types of communication: <ol><li>Web Client to Stack Socket</li><li>Parent Stack Socket to Child Stack Socket</li><li>Child Stack Socket to its CASProcess</li><li>Between CASProcess functions (e.g. CPAnswerTest to CPSend)</li></ol> Currently supported request types: <ul><li>TEXCOMMAND : convert TEX to HTML</li><li>INITIALISE: send an initialisation command to the CAS</li><li>COMMAND : evaluate a simple CAS Command</li><li>TEST : apply an answer test</li><li>PROCESSVARS : instantiate a list of local variables</li><li>SOCKETCLOSE : shutdown the system</li><li>FINISH : acknowledge that response data has been received</li></ul></p></p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackRequest_php.html">/scripts/CASpool/stackRequest.php</a> (line <span class="field">47</span>) </p> <pre></pre> </div> </div> <a name="sec-var-summary"></a> <div class="info-box"> <div class="info-box-title">Variable Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="var-summary"> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">mixed</span> <a href="#$crData" title="details" class="var-name">$crData</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">int</span> <a href="#$crPID" title="details" class="var-name">$crPID</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">int</span> <a href="#$crPort" title="details" class="var-name">$crPort</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">int</span> <a href="#$crStackID" title="details" class="var-name">$crStackID</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">boolean</span> <a href="#$crTimed" title="details" class="var-name">$crTimed</a> </div> <div class="var-title"> <img src="../../media/images/Variable.png" alt=" " /> <span class="var-type">string</span> <a href="#$crType" title="details" class="var-name">$crType</a> </div> </div> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#StackRequest" title="details" class="method-name">StackRequest</a> (<span class="var-type">string</span> <span class="var-name">$type</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <a name="var$crData" id="$crData"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">mixed</span> <span class="var-name">$crData</span> (line <span class="line-number">67</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Data for the request</li> </ul> </div> <a name="var$crPID" id="$crPID"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">int</span> <span class="var-name">$crPID</span> (line <span class="line-number">51</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Process identifier</li> </ul> </div> <a name="var$crPort" id="$crPort"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">int</span> <span class="var-name">$crPort</span> (line <span class="line-number">55</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Port identifier</li> </ul> </div> <a name="var$crStackID" id="$crStackID"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">int</span> <span class="var-name">$crStackID</span> (line <span class="line-number">59</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Random number identifier (so that child StackSocket can only deal with requests from parent StackSocket)</li> </ul> </div> <a name="var$crTimed" id="$crTimed"><!-- --></A> <div class="evenrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">boolean</span> <span class="var-name">$crTimed</span> (line <span class="line-number">71</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Whether or not a timeout value should be used (e.g. don't want to time out when CASProcess is initialising, but do want to to when waiting for response from a user's CAS command)</li> </ul> </div> <a name="var$crType" id="$crType"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">string</span> <span class="var-name">$crType</span> (line <span class="line-number">63</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">var:</span> Must be one of the supported request types</li> </ul> </div> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodStackRequest" id="StackRequest"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor StackRequest</span> (line <span class="line-number">82</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Creates a request of the specified $type. Request is not timed by default</p></p> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> StackRequest </span> (<span class="var-type">string</span> <span class="var-name">$type</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$type</span> </li> </ul> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:23 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: Maxima.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class Maxima</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> Maxima</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-vars">Vars</a> | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">The base class for generating CAS specific code.</p> <p class="notes"> Located in <a class="field" href="_scripts_CASpool_stackCAS_php.html">/scripts/CASpool/stackCAS.php</a> (line <span class="field">287</span>) </p> <pre><a href="../../lib/Stack/StackCAS.html">StackCAS</a> | --Maxima</pre> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-result">void</span> <a href="#Maxima" title="details" class="method-name">Maxima</a> () </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">string</span> <a href="#CASAnsTestCmd" title="details" class="method-name">CASAnsTestCmd</a> (<span class="var-type">string</span> <span class="var-name">$exp1</span>, <span class="var-type">string</span> <span class="var-name">$exp2</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$OPT_OUTPUT</span>, <span class="var-type">string</span> <span class="var-name">$test</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">array</span> <a href="#CASAnsTestParse" title="details" class="method-name">CASAnsTestParse</a> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">string</span> <a href="#CASCodeInstantiate" title="details" class="method-name">CASCodeInstantiate</a> (<span class="var-type">array</span> <span class="var-name">$locvars</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$seed</span>, <span class="var-type">mixed</span> <span class="var-name">$displayopt</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">array</span> <a href="#CASParseCASOutput" title="details" class="method-name">CASParseCASOutput</a> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <div class="method-definition"> <img src="../../media/images/Method.png" alt=" "/> <span class="method-result">array</span> <a href="#CASParsePreparse" title="details" class="method-name">CASParsePreparse</a> (<span class="var-type">array</span> <span class="var-name">$strin</span>) </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <h4>Inherited Variables</h4> <A NAME='inherited_vars'><!-- --></A> <p>Inherited from <span class="classname"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span></p> <blockquote> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackCAS.html#var$casCloseCommand">StackCAS::$casCloseCommand</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackCAS.html#var$casCommand">StackCAS::$casCommand</a></span><br> </span> <img src="../../media/images/Variable.png" /> <span class="var-title"> <span class="var-name"><a href="../../lib/Stack/StackCAS.html#var$casInitCommand">StackCAS::$casInitCommand</a></span><br> </span> </blockquote> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-vars">Vars</a> <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodMaxima" id="Maxima"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Constructor.png" /> <span class="method-title">Constructor Maxima</span> (line <span class="line-number">297</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Constructor</p> <p class="description"><p>Uses parent StackCAS constructor</p></p> <ul class="tags"> <li><span class="field">see:</span> <a href="../../lib/Stack/StackCAS.html#methodStackCAS">StackCAS::StackCAS()</a></li> </ul> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> Maxima </span> () </div> </div> <a name="methodCASAnsTestCmd" id="CASAnsTestCmd"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASAnsTestCmd</span> (line <span class="line-number">437</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to produce the CAS command to apply a specific answer test.</p> <ul class="tags"> <li><span class="field">return:</span> The command to send to the CAS</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> CASAnsTestCmd </span> (<span class="var-type">string</span> <span class="var-name">$exp1</span>, <span class="var-type">string</span> <span class="var-name">$exp2</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$OPT_OUTPUT</span>, <span class="var-type">string</span> <span class="var-name">$test</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$exp1</span><span class="var-description">: The first expression (nominally the student's answer)</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$exp2</span><span class="var-description">: The second expression (nominally the teacher's answer)</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$t</span><span class="var-description">: Timestamp identifier used to match CAS input and output</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$display</span><span class="var-description">: The desired output format (a Stack Option)</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$test</span><span class="var-description">: The answer test to apply</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestCmd">StackCAS::CASAnsTestCmd()</a></dt> <dd>Produces the CAS specific command to apply an answer test.</dd> </dl> </div> <a name="methodCASAnsTestParse" id="CASAnsTestParse"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASAnsTestParse</span> (line <span class="line-number">487</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to parse the CAS output from an answer test into an array.</p> <ul class="tags"> <li><span class="field">return:</span> containing fields ['AnsValue'] and ['AnsDisplay']</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CASAnsTestParse </span> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$instr</span><span class="var-description">: the raw CAS output</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestParse">StackCAS::CASAnsTestParse()</a></dt> <dd>Parses CAS output from an answer test command.</dd> </dl> </div> <a name="methodCASCodeInstantiate" id="CASCodeInstantiate"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASCodeInstantiate</span> (line <span class="line-number">311</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to produce the code to process a list of local variables.</p> <ul class="tags"> <li><span class="field">return:</span> The command to send to the CAS</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> CASCodeInstantiate </span> (<span class="var-type">array</span> <span class="var-name">$locvars</span>, <span class="var-type">int</span> <span class="var-name">$t</span>, <span class="var-type">mixed</span> <span class="var-name">$seed</span>, <span class="var-type">mixed</span> <span class="var-name">$displayopt</span>, <span class="var-type">string</span> <span class="var-name">$display</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$locvars</span><span class="var-description">: List of local variables to be instantiated</span> </li> <li> <span class="var-type">int</span> <span class="var-name">$t</span><span class="var-description">: Timestamp identifier used to match CAS input and output</span> </li> <li> <span class="var-type">string</span> <span class="var-name">$display</span><span class="var-description">: The desired output format (a Stack Option)</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASCodeInstantiate">StackCAS::CASCodeInstantiate()</a></dt> <dd>Produces the CAS specific command for instantiating a list of local variables.</dd> </dl> </div> <a name="methodCASParseCASOutput" id="CASParseCASOutput"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASParseCASOutput</span> (line <span class="line-number">391</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to parse CAS output of instantiated local variables into an array.</p> <ul class="tags"> <li><span class="field">return:</span> Has field ['questionVarsInst'] containing the array of instantiated local variables</li> </ul> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CASParseCASOutput </span> (<span class="var-type">string</span> <span class="var-name">$instr</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$instr</span><span class="var-description">: The raw CAS output</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASParseCASOutput">StackCAS::CASParseCASOutput()</a></dt> <dd>Parses CAS output into an array of local variables.</dd> </dl> </div> <a name="methodCASParsePreparse" id="CASParsePreparse"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../../media/images/Method.png" /> <span class="method-title">CASParsePreparse</span> (line <span class="line-number">348</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Maxima-specific function used to parse CAS output into an array.</p> <div class="method-signature"> <span class="method-result">array</span> <span class="method-name"> CASParsePreparse </span> (<span class="var-type">array</span> <span class="var-name">$strin</span>) </div> <ul class="parameters"> <li> <span class="var-type">array</span> <span class="var-name">$strin</span><span class="var-description">: Raw CAS output</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefinition of:</div> <dl> <dt><a href="../../lib/Stack/StackCAS.html#methodCASParsePreparse">StackCAS::CASParsePreparse()</a></dt> <dd>Parses CAS output into an array.</dd> </dl> </div> <h4>Inherited Methods</h4> <a name='inherited_methods'><!-- --></a> <!-- =========== Summary =========== --> <p>Inherited From <span class="classname"><a href="../../lib/Stack/StackCAS.html">StackCAS</a></span></p> <blockquote> <img src="../../media/images/Constructor.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodStackCAS">StackCAS::StackCAS()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestCmd">StackCAS::CASAnsTestCmd()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASAnsTestParse">StackCAS::CASAnsTestParse()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASCodeInstantiate">StackCAS::CASCodeInstantiate()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASParseCASOutput">StackCAS::CASParseCASOutput()</a></span><br> <img src="../../media/images/Method.png" alt=" "/> <span class="method-name"><a href="../../lib/Stack/StackCAS.html#methodCASParsePreparse">StackCAS::CASParsePreparse()</a></span><br> </blockquote> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 14 Jul 2005 19:45:17 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> </p> </div></body> </html> --- NEW FILE: StackProcess.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class StackProcess</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../../media/images/Class_logo.png" alt=" Class" title=" Class" style="vertical-align: middle"> StackProcess</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Desc... [truncated message content] |