aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a05374.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a05374.html370
1 files changed, 370 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a05374.html b/docs/doxygen/nel/a05374.html
new file mode 100644
index 00000000..c7950010
--- /dev/null
+++ b/docs/doxygen/nel/a05374.html
@@ -0,0 +1,370 @@
+<!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>NeL: NLGEORGES Namespace Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLGEORGES Namespace Reference</h1>
+<p>
+
+<p>
+<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02528.html">CFileHeader</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html">CForm</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02545.html">CForm::CParent</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02546.html">CFormDfn</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02548.html">CFormDfn::CEntry</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02549.html">CFormDfn::CParent</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html">CFormElm</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html">CFormElmArray</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02553.html">CFormElmArray::CElement</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02554.html">CFormElmAtom</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02555.html">CFormElmStruct</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02556.html">CFormElmStruct::CFormElmStructElm</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02557.html">CFormElmVirtualStruct</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02558.html">CFormLoader</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02979.html">CMyEvalNumExpr</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html">CType</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03624.html">CType::CDefinition</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03926.html">UForm</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02547.html">UFormDfn</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02551.html">UFormElm</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02559.html">UFormLoader</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03623.html">UType</a></td></tr>
+
+<tr><td colspan=2><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a05374.html#a3">buildError</a> (char *msg, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a586">offset</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a05374.html#a2">findSpecialCharacter</a> (const char *special, char c, <a class="el" href="a04558.html#a15">uint</a> startOffset)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a05374.html#a1">getNextToken</a> (const char *startString, string &amp;token, <a class="el" href="a04558.html#a15">uint</a> &amp;<a class="el" href="a04223.html#a586">offset</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a05374.html#a0">warning</a> (bool exception, const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr>
+
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a3" doxytag="NLGEORGES::buildError" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void buildError </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>msg</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>offset</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>
+
+<p>
+Definition at line <a class="el" href="a06586.html#l00533">533</a> of file <a class="el" href="a06586.html">type.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00645">offset</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00534 {
+00535 msg[0] = 0;
+00536 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a586">offset</a>&lt;512)
+00537 {
+00538 <a class="code" href="a04558.html#a15">uint</a> i;
+00539 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a04223.html#a586">offset</a>; i++)
+00540 msg[i] = <span class="charliteral">'-'</span>;
+00541 msg[i] = <span class="charliteral">'^'</span>;
+00542 msg[i+1] = 0;
+00543 }
+00544 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="NLGEORGES::findSpecialCharacter" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> findSpecialCharacter </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>special</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>char&nbsp;</td>
+ <td class="mdname" nowrap> <em>c</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>startOffset</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>
+
+<p>
+Definition at line <a class="el" href="a06586.html#l00509">509</a> of file <a class="el" href="a06586.html">type.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00645">offset</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00510 {
+00511 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a586">offset</a> = startOffset;
+00512 <span class="keywordflow">while</span> (special[<a class="code" href="a04223.html#a586">offset</a>])
+00513 {
+00514 <span class="keywordflow">if</span> (special[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'\\'</span>)
+00515 {
+00516 <span class="keywordflow">if</span> (special[<a class="code" href="a04223.html#a586">offset</a>+1])
+00517 <a class="code" href="a04223.html#a586">offset</a>++;
+00518 <span class="keywordflow">else</span>
+00519 <span class="keywordflow">break</span>;
+00520 }
+00521 <span class="keywordflow">else</span>
+00522 {
+00523 <span class="keywordflow">if</span> (special[<a class="code" href="a04223.html#a586">offset</a>] == c)
+00524 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a586">offset</a>;
+00525 }
+00526 <a class="code" href="a04223.html#a586">offset</a>++;
+00527 }
+00528 <span class="keywordflow">return</span> 0xffffffff;
+00529 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="NLGEORGES::getNextToken" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> getNextToken </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>startString</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>token</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>offset</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>
+
+<p>
+Definition at line <a class="el" href="a06586.html#l00459">459</a> of file <a class="el" href="a06586.html">type.cpp</a>.
+<p>
+References <a class="el" href="a06586.html#l00454">NL_TOKEN_DOUBLE_QUOTE</a>, <a class="el" href="a06586.html#l00457">NL_TOKEN_END</a>, <a class="el" href="a06586.html#l00456">NL_TOKEN_NAME</a>, <a class="el" href="a06586.html#l00455">NL_TOKEN_OPEN_BRACKET</a>, <a class="el" href="a06586.html#l00453">NL_TOKEN_STRING</a>, <a class="el" href="a05646.html#l00645">offset</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00460 {
+00461 <span class="keywordflow">if</span> (startString[<a class="code" href="a04223.html#a586">offset</a>] == 0)
+00462 <span class="keywordflow">return</span> <a class="code" href="a05163.html#a4">NL_TOKEN_END</a>;
+00463 <span class="keywordflow">if</span> (startString[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'"'</span>)
+00464 {
+00465 <a class="code" href="a04223.html#a586">offset</a>++;
+00466 <span class="keywordflow">return</span> <a class="code" href="a05163.html#a1">NL_TOKEN_DOUBLE_QUOTE</a>;
+00467 }
+00468 <span class="keywordflow">if</span> (startString[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'{'</span>)
+00469 {
+00470 <a class="code" href="a04223.html#a586">offset</a>++;
+00471 <span class="keywordflow">return</span> <a class="code" href="a05163.html#a2">NL_TOKEN_OPEN_BRACKET</a>;
+00472 }
+00473 <span class="keywordflow">if</span> ( (startString[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'$'</span>) &amp;&amp; (strncmp (startString+offset+1, <span class="stringliteral">"filename"</span>, 8) == 0) )
+00474 {
+00475 <a class="code" href="a04223.html#a586">offset</a> += 9;
+00476 <span class="keywordflow">return</span> <a class="code" href="a05163.html#a3">NL_TOKEN_NAME</a>;
+00477 }
+00478 token = <span class="stringliteral">""</span>;
+00479 <span class="keywordflow">while</span> (startString[<a class="code" href="a04223.html#a586">offset</a>])
+00480 {
+00481 <span class="keywordflow">if</span> (startString[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'\\'</span>)
+00482 {
+00483 <span class="keywordflow">if</span> (startString[<a class="code" href="a04223.html#a586">offset</a>+1])
+00484 {
+00485 token += startString[<a class="code" href="a04223.html#a586">offset</a>+1];
+00486 <a class="code" href="a04223.html#a586">offset</a>++;
+00487 }
+00488 <span class="keywordflow">else</span>
+00489 {
+00490 <a class="code" href="a04223.html#a586">offset</a>++;
+00491 <span class="keywordflow">break</span>;
+00492 }
+00493 }
+00494 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (startString[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'"'</span>)
+00495 <span class="keywordflow">break</span>;
+00496 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (startString[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'{'</span>)
+00497 <span class="keywordflow">break</span>;
+00498 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( (startString[<a class="code" href="a04223.html#a586">offset</a>] == <span class="charliteral">'$'</span>) &amp;&amp; (strncmp (startString+offset+1, <span class="stringliteral">"filename"</span>, 8) == 0) )
+00499 <span class="keywordflow">break</span>;
+00500 <span class="keywordflow">else</span>
+00501 token += startString[<a class="code" href="a04223.html#a586">offset</a>];
+00502 <a class="code" href="a04223.html#a586">offset</a>++;
+00503 }
+00504 <span class="keywordflow">return</span> <a class="code" href="a05163.html#a0">NL_TOKEN_STRING</a>;
+00505 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="a0" doxytag="NLGEORGES::warning" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLGEORGES::warning </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>exception</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>format</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>...&nbsp;</td>
+ <td class="mdname" nowrap></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>
+
+<p>
+Definition at line <a class="el" href="a05724.html#l00045">45</a> of file <a class="el" href="a05724.html">form.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05586.html#l00161">NLMISC::smprintf()</a>.
+<p>
+Referenced by <a class="el" href="a06586.html#l00822">NLGEORGES::CType::warning()</a>, <a class="el" href="a05773.html#l00250">NLGEORGES::CFileHeader::warning()</a>, <a class="el" href="a05730.html#l00316">NLGEORGES::CFormLoader::warning()</a>, <a class="el" href="a05728.html#l03057">NLGEORGES::CFormElmAtom::warning()</a>, <a class="el" href="a05728.html#l02754">NLGEORGES::CFormElmArray::warning()</a>, <a class="el" href="a05728.html#l02230">NLGEORGES::CFormElmVirtualStruct::warning()</a>, <a class="el" href="a05728.html#l02099">NLGEORGES::CFormElmStruct::warning()</a>, <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>, <a class="el" href="a05726.html#l00848">NLGEORGES::CFormDfn::warning()</a>, <a class="el" href="a05724.html#l00358">NLGEORGES::CForm::warning()</a>, and <a class="el" href="a06586.html#l00837">NLGEORGES::CType::warning2()</a>.
+<p>
+<div class="fragment"><pre>00046 {
+00047 <span class="comment">// Make a buffer string</span>
+00048 va_list args;
+00049 va_start( args, format );
+00050 <span class="keywordtype">char</span> <a class="code" href="a04223.html#a589">buffer</a>[1024];
+00051 vsnprintf( buffer, 1024, format, args );
+00052 va_end( args );
+00053
+00054 <span class="comment">// Set the warning</span>
+00055 <span class="keywordflow">if</span> (exception)
+00056 {
+00057 <span class="comment">// Make an error message</span>
+00058 <span class="keywordtype">char</span> tmp[1024];
+00059 <a class="code" href="a05378.html#a259">smprintf</a> (tmp, 1024, <span class="stringliteral">"NeL::Georges %s"</span>, buffer);
+00060 <span class="keywordflow">throw</span> <a class="code" href="a03830.html">EXmlParsingError</a> (tmp);
+00061 }
+00062 <span class="keywordflow">else</span>
+00063 {
+00064 <a class="code" href="a04199.html#a2">nlwarning</a> (<span class="stringliteral">"NeL::Georges %s"</span>, buffer);
+00065 }
+00066 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:39:40 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>