Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > f149f58f4a75af135bdb24f5dfe94165 > files > 1371

libdap-doc-3.9.3-3mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libdap++: parser-util.cc File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>parser-util.cc File Reference</h1><code>#include &quot;<a class="el" href="config_8h_source.html">config.h</a>&quot;</code><br>
<code>#include &lt;cerrno&gt;</code><br>
<code>#include &lt;cassert&gt;</code><br>
<code>#include &lt;cstring&gt;</code><br>
<code>#include &lt;cmath&gt;</code><br>
<code>#include &lt;iostream&gt;</code><br>
<code>#include &lt;sstream&gt;</code><br>
<code>#include &quot;<a class="el" href="debug_8h_source.html">debug.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="parser_8h_source.html">parser.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="dods-limits_8h_source.html">dods-limits.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="util_8h_source.html">util.h</a>&quot;</code><br>

<p>
<div class="dynheader">
Include dependency graph for parser-util.cc:</div>
<div class="dynsection">
<p><center><img src="parser-util_8cc__incl.png" border="0" usemap="#parser-util.cc_map" alt=""></center>
<map name="parser-util.cc_map">
<area shape="rect" id="node3" href="config_8h.html" title="config.h" alt="" coords="381,80,483,107"><area shape="rect" id="node17" href="debug_8h.html" title="debug.h" alt="" coords="2816,80,2907,107"><area shape="rect" id="node19" href="parser_8h.html" title="parser.h" alt="" coords="2315,155,2416,181"><area shape="rect" id="node28" href="dods-limits_8h.html" title="dods&#45;limits.h" alt="" coords="405,304,557,331"><area shape="rect" id="node30" href="util_8h.html" title="util.h" alt="" coords="987,80,1067,107"><area shape="rect" id="node21" href="Error_8h.html" title="Error.h" alt="" coords="2232,677,2323,704"><area shape="rect" id="node35" href="Byte_8h.html" title="Byte.h" alt="" coords="229,453,309,480"><area shape="rect" id="node51" href="BaseType_8h.html" title="BaseType.h" alt="" coords="1203,528,1323,555"><area shape="rect" id="node83" href="Int16_8h.html" title="Int16.h" alt="" coords="333,453,424,480"><area shape="rect" id="node88" href="UInt16_8h.html" title="UInt16.h" alt="" coords="861,453,963,480"><area shape="rect" id="node93" href="Int32_8h.html" title="Int32.h" alt="" coords="987,453,1077,480"><area shape="rect" id="node98" href="UInt32_8h.html" title="UInt32.h" alt="" coords="448,453,549,480"><area shape="rect" id="node103" href="Float32_8h.html" title="Float32.h" alt="" coords="93,453,205,480"><area shape="rect" id="node108" href="Float64_8h.html" title="Float64.h" alt="" coords="573,453,685,480"><area shape="rect" id="node113" href="Str_8h.html" title="Str.h" alt="" coords="536,229,608,256"><area shape="rect" id="node118" href="Url_8h.html" title="Url.h" alt="" coords="445,155,517,181"><area shape="rect" id="node124" href="Array_8h.html" title="Array.h" alt="" coords="1203,229,1293,256"><area shape="rect" id="node153" href="Structure_8h.html" title="Structure.h" alt="" coords="1669,304,1800,331"><area shape="rect" id="node160" href="Sequence_8h.html" title="Sequence.h" alt="" coords="1507,379,1627,405"><area shape="rect" id="node172" href="Grid_8h.html" title="Grid.h" alt="" coords="1280,155,1360,181"><area shape="rect" id="node37" href="dods-datatypes_8h.html" title="dods&#45;datatypes.h" alt="" coords="433,677,615,704"><area shape="rect" id="node41" href="ConstraintEvaluator_8h.html" title="ConstraintEvaluator.h" alt="" coords="516,528,748,555"><area shape="rect" id="node45" href="Clause_8h.html" title="Clause.h" alt="" coords="787,603,888,629"><area shape="rect" id="node49" href="RValue_8h.html" title="RValue.h" alt="" coords="787,677,888,704"><area shape="rect" id="node58" href="InternalErr_8h.html" title="InternalErr.h" alt="" coords="1464,603,1616,629"><area shape="rect" id="node63" href="Marshaller_8h.html" title="Marshaller.h" alt="" coords="1013,603,1155,629"><area shape="rect" id="node71" href="UnMarshaller_8h.html" title="UnMarshaller.h" alt="" coords="1179,603,1339,629"><area shape="rect" id="node77" href="AttrTable_8h.html" title="AttrTable.h" alt="" coords="2040,603,2171,629"><area shape="rect" id="node67" href="DapObj_8h.html" title="DapObj.h" alt="" coords="1208,677,1309,704"><area shape="rect" id="node128" href="Vector_8h.html" title="Vector.h" alt="" coords="1203,304,1304,331"><area shape="rect" id="node130" href="DDS_8h.html" title="DDS.h" alt="" coords="2145,379,2217,405"><area shape="rect" id="node137" href="Constructor_8h.html" title="Constructor.h" alt="" coords="1659,453,1811,480"><area shape="rect" id="node141" href="BaseTypeFactory_8h.html" title="BaseTypeFactory.h" alt="" coords="2080,528,2272,555"><area shape="rect" id="node144" href="DAS_8h.html" title="DAS.h" alt="" coords="2397,528,2469,555"><area shape="rect" id="node163" href="XDRUtils_8h.html" title="XDRUtils.h" alt="" coords="1885,453,2005,480"><area shape="rect" id="node166" href="xdr-datatypes_8h.html" title="xdr&#45;datatypes.h" alt="" coords="1733,528,1904,555"></map>
</div>

<p>
<a href="parser-util_8cc_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html">libdap</a></td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#6159f969729b3625cfb42b97b76a29b6">libdap::check_byte</a> (const char *val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the value a valid byte?  <a href="#6159f969729b3625cfb42b97b76a29b6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#8e3daffef90939dcbb46fb6f50b9a40e">libdap::check_float32</a> (const char *val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the value a valid float?  <a href="#8e3daffef90939dcbb46fb6f50b9a40e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#0004b07014e0ece91b7f363e805ceca1">libdap::check_float64</a> (const char *val)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#78501bb2d0a23568042d59281ed27072">libdap::check_int16</a> (const char *val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the value a valid integer?  <a href="#78501bb2d0a23568042d59281ed27072"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#a9db83b431346800f838b089fafb0066">libdap::check_int32</a> (const char *val)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#179d079ad6ee351b8944f44059e3e797">libdap::check_uint16</a> (const char *val)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#754cae6f64ff4052f6e694184a68938c">libdap::check_uint32</a> (const char *val)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#0e96bac2251d066910b2647830b6959c">libdap::check_url</a> (const char *val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the value a valid URL?  <a href="#0e96bac2251d066910b2647830b6959c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#f6521dec3b141314aab525bccfaa7bbe">libdap::is_keyword</a> (string id, const string &amp;keyword)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#891be0a66df84d19ae4c5c614794a7e5">libdap::parse_error</a> (const char *msg, const int line_num, const char *context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#859f196112f4facae9307314c18be6f1">libdap::save_str</a> (string &amp;dst, const char *src, const int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#88b0cc055e14caf84865c2d5730d4fb3">libdap::save_str</a> (char *dst, const char *src, const int line_num)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Save a string to a temporary variable during the parse.  <a href="#88b0cc055e14caf84865c2d5730d4fb3"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">parse_error</div></td></tr>
<tr><td colspan="2"><div class="groupText">Generate error messages for the various parsers.<p>
<code>parser_error()</code> generates error messages for the various parsers used by <a class="el" href="namespacelibdap.html">libdap</a>. There are two versions of the function, one which takes a <code>const char *message</code> and a <code>const int line_num</code> and writes the message and line number too stderr and a second which takes an additional <code>parser_arg arg</code> parameter and writes the error message into an Error object which is returned to the caller via the <code>arg</code> parameter.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>{The second version of this function also accepts a third parameter (<code>const char *context</code>) which can be used to provide an additional line of information beyond what is in the string <code>message</code>.}</dd></dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>void </dd></dl>
<br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#01787175503c9d6d90968046efe46e19">libdap::parse_error</a> (const string &amp;msg, const int line_num, const char *context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html#be3f160643e31cc5a43ab97b389a7d6f">libdap::parse_error</a> (parser_arg *arg, const char *msg, const int line_num, const char *context)</td></tr>

</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 19:58:02 2009 for libdap++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>