|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>VisualCalc Parser: CImplicitMultiplicationException Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.5 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<h1>CImplicitMultiplicationException Class Reference</h1><!-- doxytag: class="CImplicitMultiplicationException" --><!-- doxytag: inherits="CFunctionException" --><code>#include <<a class="el" href="_v_calc_parser_exception_8h-source.html">VCalcParserException.h</a>></code>
<p>
<p>Inheritance diagram for CImplicitMultiplicationException:
<p><center><img src="class_c_implicit_multiplication_exception.png" usemap="#CImplicitMultiplicationException_map" border="0" alt=""></center>
<map name="CImplicitMultiplicationException_map">
<area href="class_c_function_exception.html" alt="CFunctionException" shape="rect" coords="0,56,188,80">
<area href="class_c_v_calc_parser_exception.html" alt="CVCalcParserException" shape="rect" coords="0,0,188,24">
</map>
<a href="class_c_implicit_multiplication_exception-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Exception for when a variable name is used as a function.
<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_c_v_calc_parser_exception.html">CVCalcParserException</a> <p>
<a class="el" href="class_c_function_exception.html">CFunctionException</a></dd></dl>
This exception is thrown when the user uses a variable name as a function.<br>
This happens only if the identifier is an existing variable, that is assigned with a value, and that has not been deleted yet.<br>
For instance : <em>myVar = 1</em> then <em>myVar(1)</em><br>
(See also <a class="el" href="class_c_unknown_function_called_exception.html">CUnknownFunctionCalledException</a>).<br>
<br>
This class inherits from <a class="el" href="class_c_function_exception.html">CFunctionException</a> and is at a level lower enough for being instanciated.<br>
The description message for such an exception waits for the variable name in question.
<p>
<p>
Definition at line <a class="el" href="_v_calc_parser_exception_8h-source.html#l00467">467</a> of file <a class="el" href="_v_calc_parser_exception_8h-source.html">VCalcParserException.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_implicit_multiplication_exception.html#6b7404a0b17c1b181e2431df431d19e7">CImplicitMultiplicationException</a> (const std::string &strVariableName, int iErrorPos)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for an Implicit Multiplication Not Supported exception. <a href="#6b7404a0b17c1b181e2431df431d19e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_implicit_multiplication_exception.html#f0bfc4d8aaf1f0400b38bc2e2b1687d2">~CImplicitMultiplicationException</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor of an Implicit Multiplication Not Supported exception. <a href="#f0bfc4d8aaf1f0400b38bc2e2b1687d2"></a><br></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="6b7404a0b17c1b181e2431df431d19e7"></a><!-- doxytag: member="CImplicitMultiplicationException::CImplicitMultiplicationException" ref="6b7404a0b17c1b181e2431df431d19e7" args="(const std::string &strVariableName, int iErrorPos)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">CImplicitMultiplicationException::CImplicitMultiplicationException </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const std::string & </td>
<td class="mdname" nowrap> <em>strVariableName</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>int </td>
<td class="mdname" nowrap> <em>iErrorPos</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Constructor for an Implicit Multiplication Not Supported exception.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>strVariableName</em> </td><td>Name of the variable. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>iErrorPos</em> </td><td>The position of the error.</td></tr>
</table>
</dl>
Creates an Implicit Multiplication Not Supported exception.
<p>
Definition at line <a class="el" href="_v_calc_parser_exception_8cpp-source.html#l00413">413</a> of file <a class="el" href="_v_calc_parser_exception_8cpp-source.html">VCalcParserException.cpp</a>. </td>
</tr>
</table>
<a class="anchor" name="f0bfc4d8aaf1f0400b38bc2e2b1687d2"></a><!-- doxytag: member="CImplicitMultiplicationException::~CImplicitMultiplicationException" ref="f0bfc4d8aaf1f0400b38bc2e2b1687d2" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">CImplicitMultiplicationException::~CImplicitMultiplicationException </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Destructor of an Implicit Multiplication Not Supported exception.
<p>
<p>
Definition at line <a class="el" href="_v_calc_parser_exception_8cpp-source.html#l00422">422</a> of file <a class="el" href="_v_calc_parser_exception_8cpp-source.html">VCalcParserException.cpp</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_v_calc_parser_exception_8h-source.html">VCalcParserException.h</a><li><a class="el" href="_v_calc_parser_exception_8cpp-source.html">VCalcParserException.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 6 23:55:56 2006 for VisualCalc Parser by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.