Sophie

Sophie

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

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++: libdap::Clause Struct 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 class="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&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacelibdap.html">libdap</a>::<a class="el" href="structlibdap_1_1Clause.html">Clause</a>
  </div>
</div>
<div class="contents">
<h1>libdap::Clause Struct Reference</h1><!-- doxytag: class="libdap::Clause" -->Holds a fragment of a constraint expression.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="Clause_8h_source.html">Clause.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for libdap::Clause:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause__coll__graph.png" border="0" usemap="#libdap_1_1Clause__coll__map" alt="Collaboration graph"></center>
<map name="libdap_1_1Clause__coll__map">
<area shape="rect" id="node6" href="classlibdap_1_1rvalue.html" title="{libdap::rvalue\n|&#45; d_args\l&#45; d_func\l&#45; d_value\l|+ bvalue()\l+ rvalue()\l+ rvalue()\l+ rvalue()\l+ value_name()\l+ ~rvalue()\l}" alt="" coords="249,2454,409,2634"><area shape="rect" id="node11" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types." alt="" coords="463,1373,714,2389"><area shape="rect" id="node13" href="classlibdap_1_1DapObj.html" title="libdap base object for common functionality of libdap objects" alt="" coords="47,6,207,98"><area shape="rect" id="node17" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset." alt="" coords="165,163,437,1267"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structlibdap_1_1Clause-members.html">List of all members.</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">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlibdap_1_1Clause.html#80d81003665b96012ee3ba175d80e608">boolean_clause</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if the clause returns a boolean value.  <a href="#80d81003665b96012ee3ba175d80e608"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlibdap_1_1Clause.html#86f7ce9fd2b9db982268cc2b121989f3">Clause</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlibdap_1_1Clause.html#c8c43eee6cceb5613379d8b2917b1641">Clause</a> (btp_func func, <a class="el" href="namespacelibdap.html#443d3b7d9ceaa4ec25e5bfcc555ce056">rvalue_list</a> *rv)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlibdap_1_1Clause.html#e932a2f99ee42df567e1b5581040d643">Clause</a> (bool_func func, <a class="el" href="namespacelibdap.html#443d3b7d9ceaa4ec25e5bfcc555ce056">rvalue_list</a> *rv)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlibdap_1_1Clause.html#f59809927231f35f29eae3ab972bf8ce">Clause</a> (const int oper, <a class="el" href="classlibdap_1_1rvalue.html">rvalue</a> *a1, <a class="el" href="namespacelibdap.html#443d3b7d9ceaa4ec25e5bfcc555ce056">rvalue_list</a> *rv)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473">OK</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks the "representation invariant" of a clause.  <a href="#eaccc72688521a8b08aeae970d983473"></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="structlibdap_1_1Clause.html#7b124a939247dce1320c494a3b18f6a1">value</a> (<a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds, <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> **value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate a clause that returns a value via a <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> pointer. This method must only be evaluated for clauses with relational expressions or boolean functions.  <a href="#7b124a939247dce1320c494a3b18f6a1"></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="structlibdap_1_1Clause.html#bfff44c4db49ad7462d14665b2458588">value</a> (<a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate a clause which returns a boolean value This method must only be evaluated for clauses with relational expressions or boolean functions.  <a href="#bfff44c4db49ad7462d14665b2458588"></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="structlibdap_1_1Clause.html#7bd5122be1851f0bf32ec1c58b46eaa9">value_clause</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if the clause returns a value in a <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> pointer.  <a href="#7bd5122be1851f0bf32ec1c58b46eaa9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlibdap_1_1Clause.html#aaeec48bcba4c7a9608c1bb3ef72983a">~Clause</a> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The selection part of a a DAP constraint expression may contain one or more clauses, separated by ampersands (&amp;). This is modeled in the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> class structure as a singly-linked list of <a class="el" href="structlibdap_1_1Clause.html" title="Holds a fragment of a constraint expression.">Clause</a> objects. In addition, a constraint expression may be a single function call, also represented in the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> using an instance of <a class="el" href="structlibdap_1_1Clause.html" title="Holds a fragment of a constraint expression.">Clause</a>.<p>
Each clause object can contain a representation of one of three possible forms:<p>
<ol>
<li>
A relational clause, where an operator tests the relation between two operands. This kind of clause evaluates to a boolean value. For example: <code>a &gt; b</code>.<p>
</li>
<li>
A boolean function, where some function operates on arguments in the clause to return a boolean value. For example, consider a scalar A and a list L. The clause <code>find(A,L)</code> might return TRUE if A is a member of L (if the <code>find()</code> function is defined).<p>
</li>
<li>
A clause that returns a pointer to a DAP <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> value. This is a clause that evaluates to some data value (be it scalar or vector). For example, <code>sig0()</code> might be included in the constraint expression parser to calculate density from pressure, temperature, and salinity. In this case, <code>sig0(p,t,s)</code> would be a clause that evaluates to a data value.<p>
</li>
</ol>
<p>
This might be a bit confusing; in the first, and by far more common, form of constraint expressions (CEs) only the first two types of clauses may appear. In the second form of the CE only the last type of clause may occur. The <a class="el" href="structlibdap_1_1Clause.html" title="Holds a fragment of a constraint expression.">Clause</a> class, however, can store them all.<p>
The <a class="el" href="structlibdap_1_1Clause.html" title="Holds a fragment of a constraint expression.">Clause</a> object holds the constraint expression <em>after</em> it has been parsed. The parser renders the relational operator into an integer, and the functions into pointers.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>DDS::parse_constraint </dd></dl>

<p>Definition at line <a class="el" href="Clause_8h_source.html#l00090">90</a> of file <a class="el" href="Clause_8h_source.html">Clause.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="f59809927231f35f29eae3ab972bf8ce"></a><!-- doxytag: member="libdap::Clause::Clause" ref="f59809927231f35f29eae3ab972bf8ce" args="(const int oper, rvalue *a1, rvalue_list *rv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Clause::Clause           </td>
          <td>(</td>
          <td class="paramtype">const int&nbsp;</td>
          <td class="paramname"> <em>oper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1rvalue.html">rvalue</a> *&nbsp;</td>
          <td class="paramname"> <em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacelibdap.html#443d3b7d9ceaa4ec25e5bfcc555ce056">rvalue_list</a> *&nbsp;</td>
          <td class="paramname"> <em>rv</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00054">54</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>References <a class="el" href="Clause_8cc_source.html#l00107">OK()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause_f59809927231f35f29eae3ab972bf8ce_cgraph.png" border="0" usemap="#structlibdap_1_1Clause_f59809927231f35f29eae3ab972bf8ce_cgraph_map" alt=""></center>
<map name="structlibdap_1_1Clause_f59809927231f35f29eae3ab972bf8ce_cgraph_map">
<area shape="rect" id="node3" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473" title="Checks the &quot;representation invariant&quot; of a clause." alt="" coords="297,5,497,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="e932a2f99ee42df567e1b5581040d643"></a><!-- doxytag: member="libdap::Clause::Clause" ref="e932a2f99ee42df567e1b5581040d643" args="(bool_func func, rvalue_list *rv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Clause::Clause           </td>
          <td>(</td>
          <td class="paramtype">bool_func&nbsp;</td>
          <td class="paramname"> <em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacelibdap.html#443d3b7d9ceaa4ec25e5bfcc555ce056">rvalue_list</a> *&nbsp;</td>
          <td class="paramname"> <em>rv</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00060">60</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>References <a class="el" href="Clause_8cc_source.html#l00107">OK()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause_e932a2f99ee42df567e1b5581040d643_cgraph.png" border="0" usemap="#structlibdap_1_1Clause_e932a2f99ee42df567e1b5581040d643_cgraph_map" alt=""></center>
<map name="structlibdap_1_1Clause_e932a2f99ee42df567e1b5581040d643_cgraph_map">
<area shape="rect" id="node3" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473" title="Checks the &quot;representation invariant&quot; of a clause." alt="" coords="297,5,497,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="c8c43eee6cceb5613379d8b2917b1641"></a><!-- doxytag: member="libdap::Clause::Clause" ref="c8c43eee6cceb5613379d8b2917b1641" args="(btp_func func, rvalue_list *rv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Clause::Clause           </td>
          <td>(</td>
          <td class="paramtype">btp_func&nbsp;</td>
          <td class="paramname"> <em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacelibdap.html#443d3b7d9ceaa4ec25e5bfcc555ce056">rvalue_list</a> *&nbsp;</td>
          <td class="paramname"> <em>rv</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00071">71</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>References <a class="el" href="Clause_8cc_source.html#l00107">OK()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause_c8c43eee6cceb5613379d8b2917b1641_cgraph.png" border="0" usemap="#structlibdap_1_1Clause_c8c43eee6cceb5613379d8b2917b1641_cgraph_map" alt=""></center>
<map name="structlibdap_1_1Clause_c8c43eee6cceb5613379d8b2917b1641_cgraph_map">
<area shape="rect" id="node3" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473" title="Checks the &quot;representation invariant&quot; of a clause." alt="" coords="297,5,497,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="86f7ce9fd2b9db982268cc2b121989f3"></a><!-- doxytag: member="libdap::Clause::Clause" ref="86f7ce9fd2b9db982268cc2b121989f3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Clause::Clause           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00082">82</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="aaeec48bcba4c7a9608c1bb3ef72983a"></a><!-- doxytag: member="libdap::Clause::~Clause" ref="aaeec48bcba4c7a9608c1bb3ef72983a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Clause::~Clause           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00091">91</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="80d81003665b96012ee3ba175d80e608"></a><!-- doxytag: member="libdap::Clause::boolean_clause" ref="80d81003665b96012ee3ba175d80e608" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Clause::boolean_clause           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00130">130</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>References <a class="el" href="Clause_8cc_source.html#l00107">OK()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause_80d81003665b96012ee3ba175d80e608_cgraph.png" border="0" usemap="#structlibdap_1_1Clause_80d81003665b96012ee3ba175d80e608_cgraph_map" alt=""></center>
<map name="structlibdap_1_1Clause_80d81003665b96012ee3ba175d80e608_cgraph_map">
<area shape="rect" id="node3" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473" title="Checks the &quot;representation invariant&quot; of a clause." alt="" coords="377,5,577,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="eaccc72688521a8b08aeae970d983473"></a><!-- doxytag: member="libdap::Clause::OK" ref="eaccc72688521a8b08aeae970d983473" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Clause::OK           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00107">107</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>Referenced by <a class="el" href="Clause_8cc_source.html#l00130">boolean_clause()</a>, <a class="el" href="Clause_8cc_source.html#l00054">Clause()</a>, <a class="el" href="Clause_8cc_source.html#l00185">value()</a>, and <a class="el" href="Clause_8cc_source.html#l00139">value_clause()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7b124a939247dce1320c494a3b18f6a1"></a><!-- doxytag: member="libdap::Clause::value" ref="7b124a939247dce1320c494a3b18f6a1" args="(DDS &amp;dds, BaseType **value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Clause::value           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> **&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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>dataset</em>&nbsp;</td><td>This is passed to the function. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dds</em>&nbsp;</td><td>Use variables from this <a class="el" href="classlibdap_1_1DDS.html">DDS</a> when evaluating the expression </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>A value-result parameter </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the the <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> pointer is not null, false otherwise. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classlibdap_1_1InternalErr.html" title="A class for software fault reporting.">InternalErr</a></em>&nbsp;</td><td>if called for a clause that returns a boolean value. Not that this method itself <em>does</em> return a boolean value. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00234">234</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>References <a class="el" href="RValue_8cc_source.html#l00093">libdap::build_btp_args()</a>, <a class="el" href="Clause_8cc_source.html#l00107">OK()</a>, and <a class="el" href="BaseType_8cc_source.html#l00503">libdap::BaseType::set_send_p()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause_7b124a939247dce1320c494a3b18f6a1_cgraph.png" border="0" usemap="#structlibdap_1_1Clause_7b124a939247dce1320c494a3b18f6a1_cgraph_map" alt=""></center>
<map name="structlibdap_1_1Clause_7b124a939247dce1320c494a3b18f6a1_cgraph_map">
<area shape="rect" id="node3" href="namespacelibdap.html#928b16257bc714971a2a3c91cb42d882" title="libdap::build_btp_args" alt="" coords="316,31,556,57"><area shape="rect" id="node11" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473" title="Checks the &quot;representation invariant&quot; of a clause." alt="" coords="336,81,536,108"><area shape="rect" id="node13" href="classlibdap_1_1BaseType.html#ba7b27635c95b74536de18393133628e" title="libdap::BaseType::set_send_p" alt="" coords="285,132,587,159"><area shape="rect" id="node5" href="namespacelibdap.html#317edea830aab50d2137a5bd313cc86a" title="libdap::long_to_string" alt="" coords="636,5,876,32"><area shape="rect" id="node9" href="namespacelibdap.html#d29f8fc547919875e3369fefbf92fb15" title="sanitize the size of an array. Test for integer overflow when dynamically allocating..." alt="" coords="671,56,841,83"><area shape="rect" id="node7" href="namespacelibdap.html#576580781bca7dcd4b5a84cc06892aff" title="libdap::append_long_to_string" alt="" coords="925,5,1237,32"><area shape="rect" id="node15" href="classlibdap_1_1BaseType.html#0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="636,132,876,159"></map>
</div>

</div>
</div><p>
<a class="anchor" name="bfff44c4db49ad7462d14665b2458588"></a><!-- doxytag: member="libdap::Clause::value" ref="bfff44c4db49ad7462d14665b2458588" args="(DDS &amp;dds)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Clause::value           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dds</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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>dataset</em>&nbsp;</td><td>This is passed to the <a class="el" href="classlibdap_1_1rvalue.html#5ec1d2d66b162aa9ad82b658e70ce7de">rvalue::bvalue()</a> method. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dds</em>&nbsp;</td><td>Use variables from this <a class="el" href="classlibdap_1_1DDS.html">DDS</a> when evaluating the expression </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the clause is true, false otherwise. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classlibdap_1_1InternalErr.html" title="A class for software fault reporting.">InternalErr</a></em>&nbsp;</td><td>if called for a clause that returns a <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> pointer. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00185">185</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>References <a class="el" href="RValue_8cc_source.html#l00093">libdap::build_btp_args()</a>, <a class="el" href="RValue_8cc_source.html#l00160">libdap::rvalue::bvalue()</a>, <a class="el" href="Clause_8cc_source.html#l00107">OK()</a>, and <a class="el" href="BaseType_8cc_source.html#l01009">libdap::BaseType::ops()</a>.</p>

<p>Referenced by <a class="el" href="ConstraintEvaluator_8cc_source.html#l00285">libdap::ConstraintEvaluator::eval_function()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause_bfff44c4db49ad7462d14665b2458588_cgraph.png" border="0" usemap="#structlibdap_1_1Clause_bfff44c4db49ad7462d14665b2458588_cgraph_map" alt=""></center>
<map name="structlibdap_1_1Clause_bfff44c4db49ad7462d14665b2458588_cgraph_map">
<area shape="rect" id="node3" href="namespacelibdap.html#928b16257bc714971a2a3c91cb42d882" title="libdap::build_btp_args" alt="" coords="577,31,817,57"><area shape="rect" id="node11" href="classlibdap_1_1rvalue.html#5ec1d2d66b162aa9ad82b658e70ce7de" title="libdap::rvalue::bvalue" alt="" coords="287,56,527,83"><area shape="rect" id="node14" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473" title="Checks the &quot;representation invariant&quot; of a clause." alt="" coords="307,107,507,133"><area shape="rect" id="node16" href="classlibdap_1_1BaseType.html#8a0000be2a244e3e07abda3020af8800" title="Evaluate relational operators." alt="" coords="291,157,523,184"><area shape="rect" id="node5" href="namespacelibdap.html#317edea830aab50d2137a5bd313cc86a" title="libdap::long_to_string" alt="" coords="868,5,1108,32"><area shape="rect" id="node9" href="namespacelibdap.html#d29f8fc547919875e3369fefbf92fb15" title="sanitize the size of an array. Test for integer overflow when dynamically allocating..." alt="" coords="903,56,1073,83"><area shape="rect" id="node7" href="namespacelibdap.html#576580781bca7dcd4b5a84cc06892aff" title="libdap::append_long_to_string" alt="" coords="1157,5,1469,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="7bd5122be1851f0bf32ec1c58b46eaa9"></a><!-- doxytag: member="libdap::Clause::value_clause" ref="7bd5122be1851f0bf32ec1c58b46eaa9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Clause::value_clause           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Clause_8cc_source.html#l00139">139</a> of file <a class="el" href="Clause_8cc_source.html">Clause.cc</a>.</p>

<p>References <a class="el" href="Clause_8cc_source.html#l00107">OK()</a>.</p>

<p>Referenced by <a class="el" href="ConstraintEvaluator_8cc_source.html#l00274">libdap::ConstraintEvaluator::functional_expression()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="structlibdap_1_1Clause_7bd5122be1851f0bf32ec1c58b46eaa9_cgraph.png" border="0" usemap="#structlibdap_1_1Clause_7bd5122be1851f0bf32ec1c58b46eaa9_cgraph_map" alt=""></center>
<map name="structlibdap_1_1Clause_7bd5122be1851f0bf32ec1c58b46eaa9_cgraph_map">
<area shape="rect" id="node3" href="structlibdap_1_1Clause.html#eaccc72688521a8b08aeae970d983473" title="Checks the &quot;representation invariant&quot; of a clause." alt="" coords="356,5,556,32"></map>
</div>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following files:<ul>
<li><a class="el" href="Clause_8h_source.html">Clause.h</a><li><a class="el" href="Clause_8cc_source.html">Clause.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 19:59:05 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>