Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > c9cfbd1355daacaf3b34517a6d7b18cc > files > 911

libdap-doc-3.11.0-2.fc15.i686.rpm

<!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>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libdap++: libdap::Structure Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libdap++&#160;<span id="projectnumber">Updated for version 3.8.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classlibdap_1_1Structure.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<h1>libdap::Structure Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="libdap::Structure" --><!-- doxytag: inherits="libdap::Constructor" -->
<p>Holds a structure (aggregate) type.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Structure_8h_source.html">Structure.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for libdap::Structure:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure__inherit__graph.png" border="0" usemap="#libdap_1_1Structure_inherit__map" alt="Inheritance graph"/></div>
<map name="libdap_1_1Structure_inherit__map" id="libdap_1_1Structure_inherit__map">
<area shape="rect" id="node2" href="classlibdap_1_1Constructor.html" title="{libdap::Constructor\n|# _vars\l|+ dump()\l+ get_var_index()\l+ get_vars_iter()\l+ is_linear()\l+ operator=()\l+ print_decl()\l+ print_xml()\l+ transfer_attributes()\l+ var_begin()\l+ var_end()\l+ var_rbegin()\l+ var_rend()\l+ ~Constructor()\l# _duplicate()\l# Constructor()\l# Constructor()\l# Constructor()\l&#45; Constructor()\l&#45; find_hdf4_dimension_attribute_home()\l}" alt="" coords="5,1168,408,1509"/><area shape="rect" id="node4" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types." alt="" coords="81,147,332,1119"/><area shape="rect" id="node6" href="classlibdap_1_1DapObj.html" title="libdap base object for common functionality of libdap objects" alt="" coords="125,6,288,98"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for libdap::Structure:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure__coll__graph.png" border="0" usemap="#libdap_1_1Structure_coll__map" alt="Collaboration graph"/></div>
<map name="libdap_1_1Structure_coll__map" id="libdap_1_1Structure_coll__map">
<area shape="rect" id="node2" href="classlibdap_1_1Constructor.html" title="{libdap::Constructor\n|# _vars\l|+ dump()\l+ get_var_index()\l+ get_vars_iter()\l+ is_linear()\l+ operator=()\l+ print_decl()\l+ print_xml()\l+ transfer_attributes()\l+ var_begin()\l+ var_end()\l+ var_rbegin()\l+ var_rend()\l+ ~Constructor()\l# _duplicate()\l# Constructor()\l# Constructor()\l# Constructor()\l&#45; Constructor()\l&#45; find_hdf4_dimension_attribute_home()\l}" alt="" coords="460,2472,863,2813"/><area shape="rect" id="node4" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types." alt="" coords="263,1435,513,2407"/><area shape="rect" id="node6" href="classlibdap_1_1DapObj.html" title="libdap base object for common functionality of libdap objects" alt="" coords="5,6,168,98"/><area shape="rect" id="node10" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset." alt="" coords="243,163,533,1370"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classlibdap_1_1Structure-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef stack&lt; <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * &gt;<br class="typebreak"/>
::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a5a585c58a099833c4ca26561963e0f83">Vars_citer</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * &gt;<br class="typebreak"/>
::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">Vars_iter</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * &gt;<br class="typebreak"/>
::reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a6122400e3f40d457751fb0372a650d03">Vars_riter</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#aa2e403ad2ce9b78f279a18799f61b353">add_var</a> (<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *bt, <a class="el" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695">Part</a> part=nil)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a8bab11f73a37413415203aefb6fb41dc">buf2val</a> (void **val)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Never call this.  <a href="#a8bab11f73a37413415203aefb6fb41dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#ae1437dd52b168306b96858e1072f59e2">check_semantics</a> (string &amp;msg, bool all=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare an object's current state with the semantics of its type.  <a href="#ae1437dd52b168306b96858e1072f59e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a9f102f5cc17ac7d2d80f9921e10d3baf">dataset</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the dataset used to create this instance.  <a href="#a9f102f5cc17ac7d2d80f9921e10d3baf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#abd4007d70af3ca2550daea14a1da7ce1">del_var</a> (const string &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a0bfa72d262ac4f1d798dda8a696c712f">deserialize</a> (<a class="el" href="classlibdap_1_1UnMarshaller.html">UnMarshaller</a> &amp;um, <a class="el" href="classlibdap_1_1DDS.html">DDS</a> *dds, bool reuse=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Receive data from the net.  <a href="#a0bfa72d262ac4f1d798dda8a696c712f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#ad7aacbec3d542618fa6ba4f42e3dde9a">dump</a> (ostream &amp;strm) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">dumps information about this object  <a href="#ad7aacbec3d542618fa6ba4f42e3dde9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#add0e4690737cb99c6cf594b4d71d1fe9">element_count</a> (bool leaves=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Count the members of constructor types.  <a href="#add0e4690737cb99c6cf594b4d71d1fe9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classlibdap_1_1AttrTable.html">AttrTable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a1fcd9537c67e3bf88964b2656ff5bac1">get_attr_table</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#aeabb771d731dbcef92fff731fb429f85">get_parent</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#ac2b4b28ed9d6f435129aa599ab809799">get_var_index</a> (int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">Vars_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a1e6d8224e04d75e3d2a21263957cd42f">get_vars_iter</a> (int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a22c9ae6a09a40c9f8e44d2a25d6464a4">intern_data</a> (<a class="el" href="classlibdap_1_1ConstraintEvaluator.html">ConstraintEvaluator</a> &amp;eval, <a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a9eb6cae7f3490723180131345c85cfc7">is_constructor_type</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the instance is a constructor (i.e., <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>, <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a> or <a class="el" href="classlibdap_1_1Grid.html" title="Holds the Grid data type.">Grid</a>) type variable.  <a href="#a9eb6cae7f3490723180131345c85cfc7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#ae302ab2ec26e9fc5b575bf5d3d09aa5c">is_in_selection</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Is this variable part of the current selection?  <a href="#ae302ab2ec26e9fc5b575bf5d3d09aa5c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#ac4687a4edb60d00fd781c82de40d53a4">is_linear</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Check to see whether this variable can be printed simply.  <a href="#ac4687a4edb60d00fd781c82de40d53a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a614ce462dc6236791630f373bf75ad49">is_simple_type</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the instance is a numeric, string or URL type variable.  <a href="#a614ce462dc6236791630f373bf75ad49"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#ad1d57be80c8e89b8a9e59bed48779556">is_vector_type</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the instance is a vector (i.e., array) type variable.  <a href="#ad1d57be80c8e89b8a9e59bed48779556"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc">name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the class instance.  <a href="#a0a0c6b5d57813607dc06255b8e0b9bdc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#aebf03bb4b5ce61f556edace7b1dd8db7">operator=</a> (const <a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a8a0000be2a244e3e07abda3020af8800">ops</a> (<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *b, int op)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluate relational operators.  <a href="#a8a0000be2a244e3e07abda3020af8800"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#ab7fb094be8da2a9f80f6d3b85e452934">print_decl</a> (ostream &amp;out, string space=&quot;    &quot;, bool print_semi=true, bool constraint_info=false, bool constrained=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Print an ASCII representation of the variable structure.  <a href="#ab7fb094be8da2a9f80f6d3b85e452934"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#af1652b61251339b9199d080504de453f">print_val</a> (ostream &amp;out, string space=&quot;&quot;, bool print_decl_p=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints the value of the variable.  <a href="#af1652b61251339b9199d080504de453f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a32de0413045173aa8803f540a6cea39b">print_xml</a> (ostream &amp;out, string space=&quot;    &quot;, bool constrained=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#ae20b384171ecded1940c3cb9780eda7e">ptr_duplicate</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#ab49e61a5cf9dc60c5c8510b1ad1e7ef1">read</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">simple implementation of reat that iterates through vars and calls read on them  <a href="#ab49e61a5cf9dc60c5c8510b1ad1e7ef1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a38ff819a432217c55db2e9071928d20c">read_p</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Has this variable been read?  <a href="#a38ff819a432217c55db2e9071928d20c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a980c0013817836aa77ef74aeec7fb192">send_p</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Should this variable be sent?  <a href="#a980c0013817836aa77ef74aeec7fb192"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a751397fbb6334d1a6b8f424036ecd979">serialize</a> (<a class="el" href="classlibdap_1_1ConstraintEvaluator.html">ConstraintEvaluator</a> &amp;eval, <a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds, <a class="el" href="classlibdap_1_1Marshaller.html">Marshaller</a> &amp;m, bool ce_eval=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Move data to the net.  <a href="#a751397fbb6334d1a6b8f424036ecd979"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a572a1d76a75981abac83a4241e90c0fa">set_attr_table</a> (const <a class="el" href="classlibdap_1_1AttrTable.html">AttrTable</a> &amp;at)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#ad0d08ebc3100995977dcae0d7f086a9c">set_in_selection</a> (bool state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <em>in_selection</em> property.  <a href="#ad0d08ebc3100995977dcae0d7f086a9c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a69851299078fd4bfc39d722c8cdc3cb9">set_leaf_sequence</a> (int level=1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Traverse <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>, set <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a> leaf nodes.  <a href="#a69851299078fd4bfc39d722c8cdc3cb9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a86504564f45a3e6748c6f1cc0ff4e9fa">set_name</a> (const string &amp;n)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of the class instance.  <a href="#a86504564f45a3e6748c6f1cc0ff4e9fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a5b6a39f6ce6594fa74f3fc899ac9a966">set_parent</a> (<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *parent)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a61dd97e239b8abf740b03bec7f302b18">set_read_p</a> (bool state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value of the <em>read_p</em> property.  <a href="#a61dd97e239b8abf740b03bec7f302b18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a3b8c155448a06407a36cfb76a27fdcbc">set_send_p</a> (bool state)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a595cb4059cff24f801a1b6da79bd2f9e">set_synthesized_p</a> (bool state)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#af74f8d1ef57c9fcca46f620f75d175a3">set_type</a> (const <a class="el" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6">Type</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the type of the class instance.  <a href="#af74f8d1ef57c9fcca46f620f75d175a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a469f0fe441ac54689db27d7527d28748">Structure</a> (const <a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a4187f25219b1fc7ec93e761795047e0a">Structure</a> (const string &amp;n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#aa48289fa5979febe73ae74a90f2d246b">Structure</a> (const string &amp;n, const string &amp;d)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#ae64e677da27249473cdba0b60cdbb90a">synthesized_p</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a701eb3361f5b5628329ece019cd34519">toString</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a6ec34211fae83a2a39a32d8c002bc185">transfer_attributes</a> (<a class="el" href="classlibdap_1_1AttrTable.html">AttrTable</a> *at_container)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#abc6b2d7099f00bb5f324ec129bff2a17">type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type of the class instance.  <a href="#abc6b2d7099f00bb5f324ec129bff2a17"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#ac4461c9e287b167871acade5e5472116">type_name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type of the class instance as a string.  <a href="#ac4461c9e287b167871acade5e5472116"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a01d94322cbae3e64becac5dcfd90936c">val2buf</a> (void *val, bool reuse=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Never call this.  <a href="#a01d94322cbae3e64becac5dcfd90936c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#acfeeb97a574cedb90fd8ec2cadefbd0c">var</a> (const string &amp;n, <a class="el" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a> &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a049967f250fca1b3949bd2a1c8649890">var</a> (const string &amp;name, bool exact_match=true, <a class="el" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a> *s=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to a member of a constructor class.  <a href="#a049967f250fca1b3949bd2a1c8649890"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">Vars_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#adeafe3d6c82d07b456a598a7b446c2c6">var_begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">Vars_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a936b38c7c35ffb4fe17c5b8e85bdaaa2">var_end</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1Constructor.html#a6122400e3f40d457751fb0372a650d03">Vars_riter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#aa025cf546ca35250454653c1ec684d91">var_rbegin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1Constructor.html#a6122400e3f40d457751fb0372a650d03">Vars_riter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#aede7cf5889e101db1ea8f22c3a84a5d3">var_rend</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a913b94ec0a92ceb3dedb93c8b21a9845">width</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the size of the class instance data.  <a href="#a913b94ec0a92ceb3dedb93c8b21a9845"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a6ed7d2f86ea9f6e59c9a97ac5de3c7ae">~Structure</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Structure.html#a636999981643db72bad417ee8602dcff">_duplicate</a> (const <a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1BaseType.html#a38d80d3b1e35aa40da1fd5c8ddb8ccd1">_duplicate</a> (const <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> &amp;bt)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform a deep copy.  <a href="#a38d80d3b1e35aa40da1fd5c8ddb8ccd1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#a81c19aba3541299630c39bfb298522d7">_duplicate</a> (const <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> &amp;s)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Constructor.html#ac9830d0abf882c915fe714e127b48b55">_vars</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This data type is used to hold a collection of related data types, in a manner roughly corresponding to a C structure. The member types can be simple or compound types, and can include other Structures.</p>
<p>The DAP2 structure is defined as a singly-linked list. This means that <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> elements can be accessed either by name, with the <code><a class="el" href="classlibdap_1_1Structure.html#a049967f250fca1b3949bd2a1c8649890" title="Returns a pointer to a member of a constructor class.">var()</a></code> function, or by their position in the list, either with the overloaded version of <code><a class="el" href="classlibdap_1_1Structure.html#a049967f250fca1b3949bd2a1c8649890" title="Returns a pointer to a member of a constructor class.">var()</a></code>, or the combination of the <code>first_var()</code> and <code>next_var()</code> functions.</p>
<p>The <code><a class="el" href="classlibdap_1_1Structure.html#a01d94322cbae3e64becac5dcfd90936c" title="Never call this.">val2buf()</a></code> and <code><a class="el" href="classlibdap_1_1Structure.html#a8bab11f73a37413415203aefb6fb41dc" title="Never call this.">buf2val()</a></code> functions only return the size of the structure. To read parts of a DAP2 <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> into an application program, use the <code><a class="el" href="classlibdap_1_1Structure.html#a8bab11f73a37413415203aefb6fb41dc" title="Never call this.">buf2val()</a></code> function of the element of the <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> in question.</p>
<p>Note that the predicate-setting functions <code><a class="el" href="classlibdap_1_1Structure.html#a3b8c155448a06407a36cfb76a27fdcbc">set_send_p()</a></code> and <code><a class="el" href="classlibdap_1_1Structure.html#a61dd97e239b8abf740b03bec7f302b18" title="Sets the value of the read_p property.">set_read_p()</a></code> set their flags for the <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> as well as for each of the Structure's member elements.</p>
<p>Similar to C, you can refer to members of <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> elements with a ``.'' notation. For example, if the <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> has a member <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> called ``Tom'' and Tom has a member <a class="el" href="classlibdap_1_1Float32.html" title="Holds a 32-bit floating point value.">Float32</a> called ``shoe_size'', then you can refer to Tom's shoe size as ``Tom.shoe_size''.</p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000033">Todo:</a></b></dt><dd>Refactor with <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a> moving methods up into <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a>.</dd></dl>

<p>Definition at line <a class="el" href="Structure_8h_source.html#l00100">100</a> of file <a class="el" href="Structure_8h_source.html">Structure.h</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ae9c6e71855b90a0e552713011c9ab81f"></a><!-- doxytag: member="libdap::Structure::btp_stack" ref="ae9c6e71855b90a0e552713011c9ab81f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef stack&lt;<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&gt; <a class="el" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">libdap::BaseType::btp_stack</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="BaseType_8h_source.html#l00214">214</a> of file <a class="el" href="BaseType_8h_source.html">BaseType.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5a585c58a099833c4ca26561963e0f83"></a><!-- doxytag: member="libdap::Structure::Vars_citer" ref="a5a585c58a099833c4ca26561963e0f83" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&gt;::const_iterator <a class="el" href="classlibdap_1_1Constructor.html#a5a585c58a099833c4ca26561963e0f83">libdap::Constructor::Vars_citer</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Constructor_8h_source.html#l00060">60</a> of file <a class="el" href="Constructor_8h_source.html">Constructor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2b73df890f61ebb628359c8fd12839b0"></a><!-- doxytag: member="libdap::Structure::Vars_iter" ref="a2b73df890f61ebb628359c8fd12839b0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&gt;::iterator <a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">libdap::Constructor::Vars_iter</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Constructor_8h_source.html#l00061">61</a> of file <a class="el" href="Constructor_8h_source.html">Constructor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6122400e3f40d457751fb0372a650d03"></a><!-- doxytag: member="libdap::Structure::Vars_riter" ref="a6122400e3f40d457751fb0372a650d03" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&gt;::reverse_iterator <a class="el" href="classlibdap_1_1Constructor.html#a6122400e3f40d457751fb0372a650d03">libdap::Constructor::Vars_riter</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Constructor_8h_source.html#l00062">62</a> of file <a class="el" href="Constructor_8h_source.html">Constructor.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4187f25219b1fc7ec93e761795047e0a"></a><!-- doxytag: member="libdap::Structure::Structure" ref="a4187f25219b1fc7ec93e761795047e0a" args="(const string &amp;n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Structure::Structure </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> constructor requires only the name of the variable to be created. The name may be omitted, which will create a nameless variable. This may be adequate for some applications.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>A string containing the name of the variable to be created. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Referenced by <a class="el" href="Structure_8cc_source.html#l00353">buf2val()</a>, <a class="el" href="Structure_8cc_source.html#l00122">ptr_duplicate()</a>, and <a class="el" href="Structure_8cc_source.html#l00344">val2buf()</a>.</p>

</div>
</div>
<a class="anchor" id="aa48289fa5979febe73ae74a90f2d246b"></a><!-- doxytag: member="libdap::Structure::Structure" ref="aa48289fa5979febe73ae74a90f2d246b" args="(const string &amp;n, const string &amp;d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Structure::Structure </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> server-side constructor requires the name of the variable to be created and the dataset name from which this variable is being created. Used on server-side handlers.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>A string containing the name of the variable to be created. </td></tr>
    <tr><td class="paramname">d</td><td>A string containing the name of the dataset from which this variable is being created. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00103">103</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a469f0fe441ac54689db27d7527d28748"></a><!-- doxytag: member="libdap::Structure::Structure" ref="a469f0fe441ac54689db27d7527d28748" args="(const Structure &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Structure::Structure </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> copy constructor. </p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00108">108</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Structure_8cc_source.html#l00065">_duplicate()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a469f0fe441ac54689db27d7527d28748_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a469f0fe441ac54689db27d7527d28748_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a469f0fe441ac54689db27d7527d28748_cgraph" id="classlibdap_1_1Structure_a469f0fe441ac54689db27d7527d28748_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1Structure.html#a636999981643db72bad417ee8602dcff" title="libdap::Structure::_duplicate" alt="" coords="357,56,669,83"/><area shape="rect" id="node5" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="763,5,1005,32"/><area shape="rect" id="node7" href="classlibdap_1_1BaseType.html#a0b130311c9901fb8a7ab11ea19090ef0" title="libdap::BaseType::ptr_duplicate" alt="" coords="719,56,1049,83"/><area shape="rect" id="node9" href="classlibdap_1_1BaseType.html#a5b6a39f6ce6594fa74f3fc899ac9a966" title="libdap::BaseType::set_parent" alt="" coords="733,107,1035,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6ed7d2f86ea9f6e59c9a97ac5de3c7ae"></a><!-- doxytag: member="libdap::Structure::~Structure" ref="a6ed7d2f86ea9f6e59c9a97ac5de3c7ae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Structure::~Structure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00113">113</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a636999981643db72bad417ee8602dcff"></a><!-- doxytag: member="libdap::Structure::_duplicate" ref="a636999981643db72bad417ee8602dcff" args="(const Structure &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::_duplicate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00065">65</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, <a class="el" href="debug_8h_source.html#l00058">DBG</a>, <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, <a class="el" href="classlibdap_1_1BaseType.html#a0b130311c9901fb8a7ab11ea19090ef0">libdap::BaseType::ptr_duplicate()</a>, and <a class="el" href="BaseType_8cc_source.html#l00638">libdap::BaseType::set_parent()</a>.</p>

<p>Referenced by <a class="el" href="Structure_8cc_source.html#l00128">operator=()</a>, and <a class="el" href="Structure_8cc_source.html#l00108">Structure()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a636999981643db72bad417ee8602dcff_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a636999981643db72bad417ee8602dcff_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a636999981643db72bad417ee8602dcff_cgraph" id="classlibdap_1_1Structure_a636999981643db72bad417ee8602dcff_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="411,5,653,32"/><area shape="rect" id="node5" href="classlibdap_1_1BaseType.html#a0b130311c9901fb8a7ab11ea19090ef0" title="libdap::BaseType::ptr_duplicate" alt="" coords="367,56,697,83"/><area shape="rect" id="node7" href="classlibdap_1_1BaseType.html#a5b6a39f6ce6594fa74f3fc899ac9a966" title="libdap::BaseType::set_parent" alt="" coords="381,107,683,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a81c19aba3541299630c39bfb298522d7"></a><!-- doxytag: member="libdap::Structure::_duplicate" ref="a81c19aba3541299630c39bfb298522d7" args="(const Constructor &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Constructor::_duplicate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00057">57</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>Referenced by <a class="el" href="Constructor_8cc_source.html#l00087">libdap::Constructor::operator=()</a>.</p>

</div>
</div>
<a class="anchor" id="a38d80d3b1e35aa40da1fd5c8ddb8ccd1"></a><!-- doxytag: member="libdap::Structure::_duplicate" ref="a38d80d3b1e35aa40da1fd5c8ddb8ccd1" args="(const BaseType &amp;bt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::BaseType::_duplicate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> &amp;&#160;</td>
          <td class="paramname"><em>bt</em></td><td>)</td>
          <td><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Perform a deep copy. Copies the values of <em>bt</em> into <code>*this</code>. Pointers are dereferenced and their values are copied into a newly allocated instance.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">bt</td><td>The source object. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00080">80</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>References <a class="el" href="debug_8h_source.html#l00058">DBG</a>.</p>

<p>Referenced by <a class="el" href="BaseType_8cc_source.html#l00134">libdap::BaseType::BaseType()</a>, and <a class="el" href="BaseType_8cc_source.html#l00146">libdap::BaseType::operator=()</a>.</p>

</div>
</div>
<a class="anchor" id="aa2e403ad2ce9b78f279a18799f61b353"></a><!-- doxytag: member="libdap::Structure::add_var" ref="aa2e403ad2ce9b78f279a18799f61b353" args="(BaseType *bt, Part part=nil)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::add_var </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td>
          <td class="paramname"><em>bt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695">Part</a>&#160;</td>
          <td class="paramname"><em>part</em> = <code>nil</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds an element to a <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">bt</td><td>A pointer to the DAP2 type variable to add to this <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>. </td></tr>
    <tr><td class="paramname">part</td><td>Not used by this class, defaults to nil </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#adca3c2621c4a509537c18362005d7f7f">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00220">220</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, <a class="el" href="classlibdap_1_1BaseType.html#a0b130311c9901fb8a7ab11ea19090ef0">libdap::BaseType::ptr_duplicate()</a>, and <a class="el" href="BaseType_8cc_source.html#l00638">libdap::BaseType::set_parent()</a>.</p>

<p>Referenced by <a class="el" href="DDS_8cc_source.html#l00572">libdap::DDS::add_var()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_aa2e403ad2ce9b78f279a18799f61b353_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_aa2e403ad2ce9b78f279a18799f61b353_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_aa2e403ad2ce9b78f279a18799f61b353_cgraph" id="classlibdap_1_1Structure_aa2e403ad2ce9b78f279a18799f61b353_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a0b130311c9901fb8a7ab11ea19090ef0" title="libdap::BaseType::ptr_duplicate" alt="" coords="337,5,668,32"/><area shape="rect" id="node5" href="classlibdap_1_1BaseType.html#a5b6a39f6ce6594fa74f3fc899ac9a966" title="libdap::BaseType::set_parent" alt="" coords="352,56,653,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8bab11f73a37413415203aefb6fb41dc"></a><!-- doxytag: member="libdap::Structure::buf2val" ref="a8bab11f73a37413415203aefb6fb41dc" args="(void **val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int libdap::Structure::buf2val </td>
          <td>(</td>
          <td class="paramtype">void **&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1Structure.html#a01d94322cbae3e64becac5dcfd90936c" title="Never call this.">val2buf()</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the size of the structure. </dd></dl>

<p>Implements <a class="el" href="classlibdap_1_1BaseType.html#accb15b7411e1988ef0a085ebdc88ce5d">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00353">353</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Structure_8cc_source.html#l00091">Structure()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a8bab11f73a37413415203aefb6fb41dc_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a8bab11f73a37413415203aefb6fb41dc_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a8bab11f73a37413415203aefb6fb41dc_cgraph" id="classlibdap_1_1Structure_a8bab11f73a37413415203aefb6fb41dc_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1Structure.html#a4187f25219b1fc7ec93e761795047e0a" title="libdap::Structure::Structure" alt="" coords="337,5,639,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae1437dd52b168306b96858e1072f59e2"></a><!-- doxytag: member="libdap::Structure::check_semantics" ref="ae1437dd52b168306b96858e1072f59e2" args="(string &amp;msg, bool all=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Structure::check_semantics </td>
          <td>(</td>
          <td class="paramtype">string &amp;&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>all</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function checks the class instance for internal consistency. This is important to check for complex constructor classes. For <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a>, an object is semantically correct if it has both a non-null name and type.</p>
<p>For example, an <a class="el" href="classlibdap_1_1Int32.html" title="Holds a 32-bit signed integer.">Int32</a> instance would return FALSE if it had no name or no type defined. A <a class="el" href="classlibdap_1_1Grid.html" title="Holds the Grid data type.">Grid</a> instance might return FALSE for more complex reasons, such as having Map arrays of the wrong size or shape.</p>
<p>This function is used by the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> class, and will rarely, if ever, be explicitly called by a DODS application program. A variable must pass this test before it is sent, but there may be many other stages in a retrieve operation where it would fail.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns FALSE when the current state violates some aspect of the type semantics, TRUE otherwise.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">msg</td><td>A returned string, containing a message indicating the source of any problem. </td></tr>
    <tr><td class="paramname">all</td><td>For complex constructor types (<a class="el" href="classlibdap_1_1Grid.html" title="Holds the Grid data type.">Grid</a>, <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a>, <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>), this flag indicates whether to check the semantics of the member variables, too.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1DDS.html#a0d1bf35c18c77a15bb266a895f99f1c6" title="Check the semantics of each of the variables represented in the DDS.">DDS::check_semantics</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#aec503abec2fd3090e7738c0a575491f8">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00492">492</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, <a class="el" href="BaseType_8cc_source.html#l01036">libdap::BaseType::check_semantics()</a>, <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, <a class="el" href="BaseType_8cc_source.html#l00252">libdap::BaseType::type_name()</a>, and <a class="el" href="util_8cc_source.html#l00119">libdap::unique_names()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_ae1437dd52b168306b96858e1072f59e2_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_ae1437dd52b168306b96858e1072f59e2_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_ae1437dd52b168306b96858e1072f59e2_cgraph" id="classlibdap_1_1Structure_ae1437dd52b168306b96858e1072f59e2_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#aec503abec2fd3090e7738c0a575491f8" title="Compare an object&#39;s current state with the semantics of its type." alt="" coords="416,5,768,32"/><area shape="rect" id="node5" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="471,56,713,83"/><area shape="rect" id="node7" href="classlibdap_1_1BaseType.html#ac4461c9e287b167871acade5e5472116" title="Returns the type of the class instance as a string." alt="" coords="447,107,737,133"/><area shape="rect" id="node9" href="namespacelibdap.html#afabf64c5d4c1900f1c05ac655895f7ee" title="libdap::unique_names" alt="" coords="481,157,703,184"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9f102f5cc17ac7d2d80f9921e10d3baf"></a><!-- doxytag: member="libdap::Structure::dataset" ref="a9f102f5cc17ac7d2d80f9921e10d3baf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::BaseType::dataset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A dataset from which the data is to be read. The meaning of this string will vary among different types of data sources. It <em>may</em> be the name of a data file or an identifier used to read data from a relational database. </p>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00231">231</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Sequence_8cc_source.html#l00606">libdap::Sequence::read_row()</a>, <a class="el" href="Vector_8cc_source.html#l00636">libdap::Vector::serialize()</a>, <a class="el" href="UInt32_8cc_source.html#l00121">libdap::UInt32::serialize()</a>, <a class="el" href="UInt16_8cc_source.html#l00120">libdap::UInt16::serialize()</a>, <a class="el" href="Structure_8cc_source.html#l00300">serialize()</a>, <a class="el" href="Str_8cc_source.html#l00132">libdap::Str::serialize()</a>, <a class="el" href="Int32_8cc_source.html#l00129">libdap::Int32::serialize()</a>, <a class="el" href="Int16_8cc_source.html#l00118">libdap::Int16::serialize()</a>, <a class="el" href="Grid_8cc_source.html#l00236">libdap::Grid::serialize()</a>, <a class="el" href="Float64_8cc_source.html#l00127">libdap::Float64::serialize()</a>, <a class="el" href="Float32_8cc_source.html#l00125">libdap::Float32::serialize()</a>, and <a class="el" href="Byte_8cc_source.html#l00132">libdap::Byte::serialize()</a>.</p>

</div>
</div>
<a class="anchor" id="abd4007d70af3ca2550daea14a1da7ce1"></a><!-- doxytag: member="libdap::Structure::del_var" ref="abd4007d70af3ca2550daea14a1da7ce1" args="(const string &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::del_var </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Removed an element from a <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>name of the variable to remove </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00242">242</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

<p>Referenced by <a class="el" href="DDS_8cc_source.html#l00603">libdap::DDS::del_var()</a>.</p>

</div>
</div>
<a class="anchor" id="a0bfa72d262ac4f1d798dda8a696c712f"></a><!-- doxytag: member="libdap::Structure::deserialize" ref="a0bfa72d262ac4f1d798dda8a696c712f" args="(UnMarshaller &amp;um, DDS *dds, bool reuse=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Structure::deserialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1UnMarshaller.html">UnMarshaller</a> &amp;&#160;</td>
          <td class="paramname"><em>um</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> *&#160;</td>
          <td class="paramname"><em>dds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>reuse</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Receives data from the network connection identified by the <code>source</code> parameter. The data is put into the class data buffer according to the input <code>dds</code>.</p>
<p>This function is only used on the client side of the DODS client/server connection.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">um</td><td>An <a class="el" href="classlibdap_1_1UnMarshaller.html" title="abstract base class used to unmarshall/deserialize dap data objects">UnMarshaller</a> that knows how to deserialize data types </td></tr>
    <tr><td class="paramname">dds</td><td>The Data Descriptor <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> object corresponding to this dataset. See <em>The DODS User Manual</em> for information about this structure. This would have been received from the server in an earlier transmission. </td></tr>
    <tr><td class="paramname">reuse</td><td>A boolean value, indicating whether the class internal data storage can be reused or not. If this argument is TRUE, the class buffer is assumed to be large enough to hold the incoming data, and it is <em>not</em> reallocated. If FALSE, new storage is allocated. If the internal buffer has not been allocated at all, this argument has no effect. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Always returns TRUE. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a></td><td>when a problem reading from the <a class="el" href="classlibdap_1_1UnMarshaller.html" title="abstract base class used to unmarshall/deserialize dap data objects">UnMarshaller</a> is found. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1DDS.html">DDS</a> </dd></dl>

<p>Implements <a class="el" href="classlibdap_1_1BaseType.html#aa14891b5342c1ce06399343de8b716d0">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00325">325</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="ad7aacbec3d542618fa6ba4f42e3dde9a"></a><!-- doxytag: member="libdap::Structure::dump" ref="ad7aacbec3d542618fa6ba4f42e3dde9a" args="(ostream &amp;strm) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::dump </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>strm</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Displays the pointer value of this instance and information about this instance.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">strm</td><td>C++ i/o stream to dump the information to </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1Constructor.html#af411561f4f57c632b4d0a6f091f98ce4">libdap::Constructor</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00525">525</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="DapIndent_8cc_source.html#l00043">libdap::DapIndent::Indent()</a>, <a class="el" href="DapIndent_8cc_source.html#l00078">libdap::DapIndent::LMarg()</a>, and <a class="el" href="DapIndent_8cc_source.html#l00049">libdap::DapIndent::UnIndent()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_ad7aacbec3d542618fa6ba4f42e3dde9a_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_ad7aacbec3d542618fa6ba4f42e3dde9a_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_ad7aacbec3d542618fa6ba4f42e3dde9a_cgraph" id="classlibdap_1_1Structure_ad7aacbec3d542618fa6ba4f42e3dde9a_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1DapIndent.html#a4ed2cce66dbff9ad4320e89142103c6c" title="libdap::DapIndent::Indent" alt="" coords="317,5,589,32"/><area shape="rect" id="node5" href="classlibdap_1_1DapIndent.html#a45ca36e552f70fbdbca0599da4320aab" title="libdap::DapIndent::LMarg" alt="" coords="323,56,584,83"/><area shape="rect" id="node7" href="classlibdap_1_1DapIndent.html#a65c519d0916b031bcf60ca8d26fc82f8" title="libdap::DapIndent::UnIndent" alt="" coords="308,107,599,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="add0e4690737cb99c6cf594b4d71d1fe9"></a><!-- doxytag: member="libdap::Structure::element_count" ref="add0e4690737cb99c6cf594b4d71d1fe9" args="(bool leaves=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int libdap::Structure::element_count </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>leaves</em> = <code>false</code></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a count of the total number of variables in this variable. This is used to count the number of variables held by a constructor variable - for simple type and vector variables it always returns 1.</p>
<p>For compound data types, there are two ways to count members. You can count the members, or you can count the simple members and add that to the count of the compound members. For example, if a <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> contains an <a class="el" href="classlibdap_1_1Int32.html" title="Holds a 32-bit signed integer.">Int32</a> and another <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> that itself contains two <a class="el" href="classlibdap_1_1Int32.html" title="Holds a 32-bit signed integer.">Int32</a> members, the element count of the top-level structure could be two (one <a class="el" href="classlibdap_1_1Int32.html" title="Holds a 32-bit signed integer.">Int32</a> and one <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>) or three (one <a class="el" href="classlibdap_1_1Int32.html" title="Holds a 32-bit signed integer.">Int32</a> by itself and two Int32's in the subsidiary <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>). Use the <em>leaves</em> parameter to control which kind of counting you desire.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns 1 for simple types. For compound members, the count depends on the <em>leaves</em> argument. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">leaves</td><td>This parameter is only relevant if the object contains other compound data types. If FALSE, the function counts only the data variables mentioned in the object's declaration. If TRUE, it counts the simple members, and adds that to the sum of the counts for the compound members. This parameter has no effect for simple type variables. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#a5c2235737737b482bfa7536b8aeab810">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00141">141</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="a1fcd9537c67e3bf88964b2656ff5bac1"></a><!-- doxytag: member="libdap::Structure::get_attr_table" ref="a1fcd9537c67e3bf88964b2656ff5bac1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1AttrTable.html">AttrTable</a> &amp; libdap::BaseType::get_attr_table </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get this variable's <a class="el" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset.">AttrTable</a>. It's generally a bad idea to return a reference to a contained object, but in this case it seems that building an interface inside <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> is overkill.</p>
<p>Use the <a class="el" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset.">AttrTable</a> methods to manipulate the table. </p>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00531">531</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Grid_8cc_source.html#l00912">libdap::Grid::print_xml()</a>, <a class="el" href="Constructor_8cc_source.html#l00448">libdap::Constructor::print_xml()</a>, <a class="el" href="BaseType_8cc_source.html#l00976">libdap::BaseType::print_xml()</a>, <a class="el" href="Array_8cc_source.html#l00687">libdap::Array::print_xml_core()</a>, <a class="el" href="Grid_8cc_source.html#l00612">libdap::Grid::transfer_attributes()</a>, <a class="el" href="Constructor_8cc_source.html#l00260">libdap::Constructor::transfer_attributes()</a>, and <a class="el" href="BaseType_8cc_source.html#l00571">libdap::BaseType::transfer_attributes()</a>.</p>

</div>
</div>
<a class="anchor" id="aeabb771d731dbcef92fff731fb429f85"></a><!-- doxytag: member="libdap::Structure::get_parent" ref="aeabb771d731dbcef92fff731fb429f85" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * libdap::BaseType::get_parent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a pointer to the <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> or <a class="el" href="classlibdap_1_1Vector.html" title="Holds a one-dimensional collection of DAP2 data types.">Vector</a> which holds (contains) this variable. If this variable is at the top level, this method returns null.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> pointer to the variable's parent. </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00655">655</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="ce__functions_8cc_source.html#l00785">libdap::function_linear_scale()</a>, <a class="el" href="Sequence_8cc_source.html#l01074">libdap::Sequence::intern_data_for_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l01024">libdap::Sequence::intern_data_parent_part_two()</a>, <a class="el" href="Sequence_8cc_source.html#l00841">libdap::Sequence::serialize_leaf()</a>, and <a class="el" href="Sequence_8cc_source.html#l00809">libdap::Sequence::serialize_parent_part_two()</a>.</p>

</div>
</div>
<a class="anchor" id="ac2b4b28ed9d6f435129aa599ab809799"></a><!-- doxytag: member="libdap::Structure::get_var_index" ref="ac2b4b28ed9d6f435129aa599ab809799" args="(int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * libdap::Constructor::get_var_index </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> pointer for the <em>ith</em> variable. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>This index </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The corresponding BaseType*. </dd></dl>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00328">328</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="a1e6d8224e04d75e3d2a21263957cd42f"></a><!-- doxytag: member="libdap::Structure::get_vars_iter" ref="a1e6d8224e04d75e3d2a21263957cd42f" args="(int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">Constructor::Vars_iter</a> libdap::Constructor::get_vars_iter </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the iterator for the <em>ith</em> variable. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>the index </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The corresponding Vars_iter </dd></dl>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00319">319</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="a22c9ae6a09a40c9f8e44d2a25d6464a4"></a><!-- doxytag: member="libdap::Structure::intern_data" ref="a22c9ae6a09a40c9f8e44d2a25d6464a4" args="(ConstraintEvaluator &amp;eval, DDS &amp;dds)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::intern_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1ConstraintEvaluator.html">ConstraintEvaluator</a> &amp;&#160;</td>
          <td class="paramname"><em>eval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&#160;</td>
          <td class="paramname"><em>dds</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Similar to using <a class="el" href="classlibdap_1_1Structure.html#a751397fbb6334d1a6b8f424036ecd979" title="Move data to the net.">serialize()</a> and <a class="el" href="classlibdap_1_1Structure.html#a0bfa72d262ac4f1d798dda8a696c712f" title="Receive data from the net.">deserialize()</a> together in one object. Data are read as for serialize and those values are stored in the objects as <a class="el" href="classlibdap_1_1Structure.html#a0bfa72d262ac4f1d798dda8a696c712f" title="Receive data from the net.">deserialize()</a> does but does not write and then read data to/from a stream.</p>
<p>This method is defined by the various data type classes. It calls the <a class="el" href="classlibdap_1_1Structure.html#ab49e61a5cf9dc60c5c8510b1ad1e7ef1" title="simple implementation of reat that iterates through vars and calls read on them">read()</a> abstract method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">eval</td><td>Use this as the constraint expression evaluator. </td></tr>
    <tr><td class="paramname">dds</td><td>The Data Descriptor <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> object corresponding to this dataset. See <em>The DODS User Manual</em> for information about this structure. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#a722d33783aa0272d339b0301a4f77e59">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00286">286</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, <a class="el" href="debug_8h_source.html#l00058">DBG</a>, <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, <a class="el" href="Structure_8cc_source.html#l00260">read()</a>, and <a class="el" href="BaseType_8cc_source.html#l00444">libdap::BaseType::read_p()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a22c9ae6a09a40c9f8e44d2a25d6464a4_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a22c9ae6a09a40c9f8e44d2a25d6464a4_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a22c9ae6a09a40c9f8e44d2a25d6464a4_cgraph" id="classlibdap_1_1Structure_a22c9ae6a09a40c9f8e44d2a25d6464a4_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="381,5,624,32"/><area shape="rect" id="node5" href="classlibdap_1_1Structure.html#ab49e61a5cf9dc60c5c8510b1ad1e7ef1" title="simple implementation of reat that iterates through vars and calls read on them" alt="" coords="377,107,628,133"/><area shape="rect" id="node7" href="classlibdap_1_1BaseType.html#a38ff819a432217c55db2e9071928d20c" title="Has this variable been read?" alt="" coords="703,56,964,83"/><area shape="rect" id="node9" href="classlibdap_1_1Structure.html#a61dd97e239b8abf740b03bec7f302b18" title="Sets the value of the read_p property." alt="" coords="677,107,989,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9eb6cae7f3490723180131345c85cfc7"></a><!-- doxytag: member="libdap::Structure::is_constructor_type" ref="a9eb6cae7f3490723180131345c85cfc7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::is_constructor_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the instance is a <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>, <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a> or <a class="el" href="classlibdap_1_1Grid.html" title="Holds the Grid data type.">Grid</a>, False otherwise. </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00356">356</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>References <a class="el" href="BaseType_8h_source.html#l00142">libdap::dods_array_c</a>, <a class="el" href="BaseType_8h_source.html#l00133">libdap::dods_byte_c</a>, <a class="el" href="BaseType_8h_source.html#l00138">libdap::dods_float32_c</a>, <a class="el" href="BaseType_8h_source.html#l00139">libdap::dods_float64_c</a>, <a class="el" href="BaseType_8h_source.html#l00145">libdap::dods_grid_c</a>, <a class="el" href="BaseType_8h_source.html#l00134">libdap::dods_int16_c</a>, <a class="el" href="BaseType_8h_source.html#l00136">libdap::dods_int32_c</a>, <a class="el" href="BaseType_8h_source.html#l00132">libdap::dods_null_c</a>, <a class="el" href="BaseType_8h_source.html#l00144">libdap::dods_sequence_c</a>, <a class="el" href="BaseType_8h_source.html#l00140">libdap::dods_str_c</a>, <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_structure_c</a>, <a class="el" href="BaseType_8h_source.html#l00135">libdap::dods_uint16_c</a>, <a class="el" href="BaseType_8h_source.html#l00137">libdap::dods_uint32_c</a>, <a class="el" href="BaseType_8h_source.html#l00141">libdap::dods_url_c</a>, and <a class="el" href="BaseType_8cc_source.html#l00238">libdap::BaseType::type()</a>.</p>

<p>Referenced by <a class="el" href="DDXParserSAX2_8cc_source.html#l00798">libdap::DDXParser::ddx_sax2_end_element()</a>, <a class="el" href="DDS_8cc_source.html#l00697">libdap::DDS::leaf_match()</a>, and <a class="el" href="Vector_8cc_source.html#l00383">libdap::Vector::var()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1BaseType_a9eb6cae7f3490723180131345c85cfc7_cgraph.png" border="0" usemap="#classlibdap_1_1BaseType_a9eb6cae7f3490723180131345c85cfc7_cgraph" alt=""/></div>
<map name="classlibdap_1_1BaseType_a9eb6cae7f3490723180131345c85cfc7_cgraph" id="classlibdap_1_1BaseType_a9eb6cae7f3490723180131345c85cfc7_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#abc6b2d7099f00bb5f324ec129bff2a17" title="Returns the type of the class instance." alt="" coords="445,5,688,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae302ab2ec26e9fc5b575bf5d3d09aa5c"></a><!-- doxytag: member="libdap::Structure::is_in_selection" ref="ae302ab2ec26e9fc5b575bf5d3d09aa5c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::is_in_selection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Does this variable appear in either the selection part or as a function argument in the current constrain expression. If this property is set (true) then implementations of the <a class="el" href="classlibdap_1_1BaseType.html#a1da003c53f2e663223f603ab3fbd7c8e" title="Read data into a local buffer.">read()</a> method should read this variable.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This method does not check, nor does it know about the semantics of, string arguments passed to functions. Those functions might include variable names in strings; they are responsible for reading those variables. See the grid (func_grid_select()) for an example. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1BaseType.html#a1da003c53f2e663223f603ab3fbd7c8e" title="Read data into a local buffer.">BaseType::read()</a> </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00610">610</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac4687a4edb60d00fd781c82de40d53a4"></a><!-- doxytag: member="libdap::Structure::is_linear" ref="ac4687a4edb60d00fd781c82de40d53a4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Structure::is_linear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>True if the instance can be flattened and printed as a single table of values. For Arrays and Grids this is always false. For Structures and Sequences the conditions are more complex. The implementation provided by this class always returns false. Other classes should override this implementation.</p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000009">Todo:</a></b></dt><dd>Change the name to is_flattenable or something like that. 05/16/03 jhrg</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the instance can be printed as a single table of values, false otherwise. </dd></dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1Constructor.html#af26f89e9c0732a9c32bd5e15d716a7d7">libdap::Constructor</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00155">155</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, and <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_structure_c</a>.</p>

</div>
</div>
<a class="anchor" id="a614ce462dc6236791630f373bf75ad49"></a><!-- doxytag: member="libdap::Structure::is_simple_type" ref="a614ce462dc6236791630f373bf75ad49" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::is_simple_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the instance is a scalar numeric, String or URL variable, False otherwise. Arrays (even of simple types) return False. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1BaseType.html#ad1d57be80c8e89b8a9e59bed48779556" title="Returns true if the instance is a vector (i.e., array) type variable.">is_vector_type()</a> </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00295">295</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>References <a class="el" href="BaseType_8h_source.html#l00142">libdap::dods_array_c</a>, <a class="el" href="BaseType_8h_source.html#l00133">libdap::dods_byte_c</a>, <a class="el" href="BaseType_8h_source.html#l00138">libdap::dods_float32_c</a>, <a class="el" href="BaseType_8h_source.html#l00139">libdap::dods_float64_c</a>, <a class="el" href="BaseType_8h_source.html#l00145">libdap::dods_grid_c</a>, <a class="el" href="BaseType_8h_source.html#l00134">libdap::dods_int16_c</a>, <a class="el" href="BaseType_8h_source.html#l00136">libdap::dods_int32_c</a>, <a class="el" href="BaseType_8h_source.html#l00132">libdap::dods_null_c</a>, <a class="el" href="BaseType_8h_source.html#l00144">libdap::dods_sequence_c</a>, <a class="el" href="BaseType_8h_source.html#l00140">libdap::dods_str_c</a>, <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_structure_c</a>, <a class="el" href="BaseType_8h_source.html#l00135">libdap::dods_uint16_c</a>, <a class="el" href="BaseType_8h_source.html#l00137">libdap::dods_uint32_c</a>, <a class="el" href="BaseType_8h_source.html#l00141">libdap::dods_url_c</a>, and <a class="el" href="BaseType_8cc_source.html#l00238">libdap::BaseType::type()</a>.</p>

<p>Referenced by <a class="el" href="Grid_8cc_source.html#l01022">libdap::Grid::check_semantics()</a>, <a class="el" href="ce__functions_8cc_source.html#l00239">libdap::extract_double_array()</a>, <a class="el" href="ce__functions_8cc_source.html#l00284">libdap::extract_double_value()</a>, and <a class="el" href="ce__functions_8cc_source.html#l00166">libdap::set_array_using_double()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1BaseType_a614ce462dc6236791630f373bf75ad49_cgraph.png" border="0" usemap="#classlibdap_1_1BaseType_a614ce462dc6236791630f373bf75ad49_cgraph" alt=""/></div>
<map name="classlibdap_1_1BaseType_a614ce462dc6236791630f373bf75ad49_cgraph" id="classlibdap_1_1BaseType_a614ce462dc6236791630f373bf75ad49_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#abc6b2d7099f00bb5f324ec129bff2a17" title="Returns the type of the class instance." alt="" coords="397,5,640,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad1d57be80c8e89b8a9e59bed48779556"></a><!-- doxytag: member="libdap::Structure::is_vector_type" ref="ad1d57be80c8e89b8a9e59bed48779556" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::is_vector_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the instance is an <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a>, False otherwise. </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00324">324</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>References <a class="el" href="BaseType_8h_source.html#l00142">libdap::dods_array_c</a>, <a class="el" href="BaseType_8h_source.html#l00133">libdap::dods_byte_c</a>, <a class="el" href="BaseType_8h_source.html#l00138">libdap::dods_float32_c</a>, <a class="el" href="BaseType_8h_source.html#l00139">libdap::dods_float64_c</a>, <a class="el" href="BaseType_8h_source.html#l00145">libdap::dods_grid_c</a>, <a class="el" href="BaseType_8h_source.html#l00134">libdap::dods_int16_c</a>, <a class="el" href="BaseType_8h_source.html#l00136">libdap::dods_int32_c</a>, <a class="el" href="BaseType_8h_source.html#l00132">libdap::dods_null_c</a>, <a class="el" href="BaseType_8h_source.html#l00144">libdap::dods_sequence_c</a>, <a class="el" href="BaseType_8h_source.html#l00140">libdap::dods_str_c</a>, <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_structure_c</a>, <a class="el" href="BaseType_8h_source.html#l00135">libdap::dods_uint16_c</a>, <a class="el" href="BaseType_8h_source.html#l00137">libdap::dods_uint32_c</a>, <a class="el" href="BaseType_8h_source.html#l00141">libdap::dods_url_c</a>, and <a class="el" href="BaseType_8cc_source.html#l00238">libdap::BaseType::type()</a>.</p>

<p>Referenced by <a class="el" href="DDXParserSAX2_8cc_source.html#l00798">libdap::DDXParser::ddx_sax2_end_element()</a>, and <a class="el" href="DDS_8cc_source.html#l00697">libdap::DDS::leaf_match()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1BaseType_ad1d57be80c8e89b8a9e59bed48779556_cgraph.png" border="0" usemap="#classlibdap_1_1BaseType_ad1d57be80c8e89b8a9e59bed48779556_cgraph" alt=""/></div>
<map name="classlibdap_1_1BaseType_ad1d57be80c8e89b8a9e59bed48779556_cgraph" id="classlibdap_1_1BaseType_ad1d57be80c8e89b8a9e59bed48779556_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#abc6b2d7099f00bb5f324ec129bff2a17" title="Returns the type of the class instance." alt="" coords="397,5,640,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0a0c6b5d57813607dc06255b8e0b9bdc"></a><!-- doxytag: member="libdap::Structure::name" ref="a0a0c6b5d57813607dc06255b8e0b9bdc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::BaseType::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00210">210</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Structure_8cc_source.html#l00065">_duplicate()</a>, <a class="el" href="Vector_8cc_source.html#l01543">libdap::Vector::add_var()</a>, <a class="el" href="Structure_8cc_source.html#l00492">check_semantics()</a>, <a class="el" href="Sequence_8cc_source.html#l01443">libdap::Sequence::check_semantics()</a>, <a class="el" href="Grid_8cc_source.html#l01022">libdap::Grid::check_semantics()</a>, <a class="el" href="Sequence_8cc_source.html#l01153">libdap::Sequence::deserialize()</a>, <a class="el" href="DDS_8cc_source.html#l00733">libdap::DDS::exact_match()</a>, <a class="el" href="ce__functions_8cc_source.html#l00239">libdap::extract_double_array()</a>, <a class="el" href="ce__functions_8cc_source.html#l00785">libdap::function_linear_scale()</a>, <a class="el" href="GSEClause_8cc_source.html#l00288">libdap::GSEClause::get_map_name()</a>, <a class="el" href="GridGeoConstraint_8cc_source.html#l00064">libdap::GridGeoConstraint::GridGeoConstraint()</a>, <a class="el" href="GSEClause_8cc_source.html#l00209">libdap::GSEClause::GSEClause()</a>, <a class="el" href="Vector_8cc_source.html#l00570">libdap::Vector::intern_data()</a>, <a class="el" href="Structure_8cc_source.html#l00286">intern_data()</a>, <a class="el" href="Sequence_8cc_source.html#l00928">libdap::Sequence::intern_data()</a>, <a class="el" href="BaseType_8cc_source.html#l00799">libdap::BaseType::intern_data()</a>, <a class="el" href="Sequence_8cc_source.html#l01074">libdap::Sequence::intern_data_for_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l00959">libdap::Sequence::intern_data_parent_part_one()</a>, <a class="el" href="Sequence_8cc_source.html#l01024">libdap::Sequence::intern_data_parent_part_two()</a>, <a class="el" href="Sequence_8cc_source.html#l00946">libdap::Sequence::intern_data_private()</a>, <a class="el" href="DDS_8cc_source.html#l00697">libdap::DDS::leaf_match()</a>, <a class="el" href="DDS_8cc_source.html#l01254">libdap::DDS::mark()</a>, <a class="el" href="Grid_8cc_source.html#l00776">libdap::Grid::print_decl()</a>, <a class="el" href="Constructor_8cc_source.html#l00361">libdap::Constructor::print_decl()</a>, <a class="el" href="Grid_8cc_source.html#l00912">libdap::Grid::print_xml()</a>, <a class="el" href="Constructor_8cc_source.html#l00448">libdap::Constructor::print_xml()</a>, <a class="el" href="Array_8cc_source.html#l00687">libdap::Array::print_xml_core()</a>, <a class="el" href="Sequence_8cc_source.html#l00606">libdap::Sequence::read_row()</a>, <a class="el" href="DODSFilter_8cc_source.html#l01268">libdap::DODSFilter::send_data_ddx()</a>, <a class="el" href="Str_8cc_source.html#l00132">libdap::Str::serialize()</a>, <a class="el" href="Sequence_8cc_source.html#l00726">libdap::Sequence::serialize()</a>, <a class="el" href="Sequence_8cc_source.html#l00841">libdap::Sequence::serialize_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l00743">libdap::Sequence::serialize_parent_part_one()</a>, <a class="el" href="Sequence_8cc_source.html#l00809">libdap::Sequence::serialize_parent_part_two()</a>, <a class="el" href="Sequence_8cc_source.html#l01498">libdap::Sequence::set_leaf_sequence()</a>, <a class="el" href="BaseType_8cc_source.html#l00217">libdap::BaseType::set_name()</a>, <a class="el" href="BaseType_8cc_source.html#l00483">libdap::BaseType::set_read_p()</a>, <a class="el" href="BaseType_8cc_source.html#l00517">libdap::BaseType::set_send_p()</a>, <a class="el" href="Grid_8cc_source.html#l00612">libdap::Grid::transfer_attributes()</a>, <a class="el" href="Constructor_8cc_source.html#l00260">libdap::Constructor::transfer_attributes()</a>, <a class="el" href="BaseType_8cc_source.html#l00571">libdap::BaseType::transfer_attributes()</a>, <a class="el" href="RValue_8cc_source.html#l00143">libdap::rvalue::value_name()</a>, <a class="el" href="Vector_8cc_source.html#l00383">libdap::Vector::var()</a>, <a class="el" href="Structure_8cc_source.html#l00371">var()</a>, <a class="el" href="Sequence_8cc_source.html#l00355">libdap::Sequence::var()</a>, <a class="el" href="Grid_8cc_source.html#l00312">libdap::Grid::var()</a>, and <a class="el" href="Sequence_8cc_source.html#l00466">libdap::Sequence::var_value()</a>.</p>

</div>
</div>
<a class="anchor" id="aebf03bb4b5ce61f556edace7b1dd8db7"></a><!-- doxytag: member="libdap::Structure::operator=" ref="aebf03bb4b5ce61f556edace7b1dd8db7" args="(const Structure &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp; libdap::Structure::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1Structure.html">Structure</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00128">128</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Structure_8cc_source.html#l00065">_duplicate()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_aebf03bb4b5ce61f556edace7b1dd8db7_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_aebf03bb4b5ce61f556edace7b1dd8db7_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_aebf03bb4b5ce61f556edace7b1dd8db7_cgraph" id="classlibdap_1_1Structure_aebf03bb4b5ce61f556edace7b1dd8db7_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1Structure.html#a636999981643db72bad417ee8602dcff" title="libdap::Structure::_duplicate" alt="" coords="357,56,669,83"/><area shape="rect" id="node5" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="763,5,1005,32"/><area shape="rect" id="node7" href="classlibdap_1_1BaseType.html#a0b130311c9901fb8a7ab11ea19090ef0" title="libdap::BaseType::ptr_duplicate" alt="" coords="719,56,1049,83"/><area shape="rect" id="node9" href="classlibdap_1_1BaseType.html#a5b6a39f6ce6594fa74f3fc899ac9a966" title="libdap::BaseType::set_parent" alt="" coords="733,107,1035,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8a0000be2a244e3e07abda3020af8800"></a><!-- doxytag: member="libdap::Structure::ops" ref="a8a0000be2a244e3e07abda3020af8800" args="(BaseType *b, int op)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::ops </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method contains the relational operators used by the constraint expression evaluator in the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> class. Each class that wants to be able to evaluate relational expressions must overload this function. The implementation in <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> throws an <a class="el" href="classlibdap_1_1InternalErr.html" title="A class for software fault reporting.">InternalErr</a> exception. The DAP library classes <a class="el" href="classlibdap_1_1Byte.html" title="Holds a single byte.">Byte</a>, ..., <a class="el" href="classlibdap_1_1Url.html" title="Holds an Internet address (URL).">Url</a> provide specializations of this method. It is not meaningful for classes such as <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a> because relational expressions using <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a> are not supported.</p>
<p>The <em>op</em> argument refers to a table generated by bison from the constraint expression parser. Use statements like the following to correctly interpret its value:</p>
<div class="fragment"><pre class="fragment">
    switch (op) {
        case EQUAL: return i1 == i2;
        case NOT_EQUAL: return i1 != i2;
        case GREATER: return i1 &gt; i2;
        case GREATER_EQL: return i1 &gt;= i2;
        case LESS: return i1 &lt; i2;
        case LESS_EQL: return i1 &lt;= i2;
        case REGEXP: throw Error("Regular expressions are not supported for integer values");
        default: throw Error("Unknown operator");
    }
    </pre></div><p>This function is used by the constraint expression evaluator.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>Compare the value of this instance with <em>b</em>. </td></tr>
    <tr><td class="paramname">op</td><td>An integer index indicating which relational operator is implied. Choose one from the following: <code>EQUAL</code>, <code>NOT_EQUAL</code>, <code>GREATER</code>, <code>GREATER_EQL</code>, <code>LESS</code>, <code>LESS_EQL</code>, and <code>REGEXP</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The boolean value of the comparison. </dd></dl>

<p>Reimplemented in <a class="el" href="classlibdap_1_1Byte.html#ad97b380875f85f6e7c3d02488f209afa">libdap::Byte</a>, <a class="el" href="classlibdap_1_1Float32.html#accebf037e94f4e455cce505295c4cb0a">libdap::Float32</a>, <a class="el" href="classlibdap_1_1Float64.html#a32114121abfd8b081b4834fb87dc19ac">libdap::Float64</a>, <a class="el" href="classlibdap_1_1Int16.html#ad72c7db64b35bf1e8ad8aa7e27526cb9">libdap::Int16</a>, <a class="el" href="classlibdap_1_1Int32.html#ac319d1cdae57d4fc7bfbd972f2f8d4a1">libdap::Int32</a>, <a class="el" href="classlibdap_1_1Str.html#a5b74994fb52ceb3248c558015c4520a5">libdap::Str</a>, <a class="el" href="classlibdap_1_1UInt16.html#a0f82046f304407cb218bfbe88e89518b">libdap::UInt16</a>, and <a class="el" href="classlibdap_1_1UInt32.html#a33a7ffcc50faa13ed94a48e7766ffd1e">libdap::UInt32</a>.</p>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l01081">1081</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Clause_8cc_source.html#l00156">libdap::Clause::value()</a>.</p>

</div>
</div>
<a class="anchor" id="ab7fb094be8da2a9f80f6d3b85e452934"></a><!-- doxytag: member="libdap::Structure::print_decl" ref="ab7fb094be8da2a9f80f6d3b85e452934" args="(ostream &amp;out, string space=&quot;    &quot;, bool print_semi=true, bool constraint_info=false, bool constrained=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Constructor::print_decl </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>space</em> = <code>&quot;&#160;&#160;&#160;&#160;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>print_semi</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>constraint_info</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>constrained</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write the variable's declaration in a C-style syntax. This function is used to create textual representation of the Data Descriptor <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> (<a class="el" href="classlibdap_1_1DDS.html">DDS</a>). See <em>The DODS User Manual</em> for information about this structure.</p>
<p>A simple array declaration might look like this: </p>
<div class="fragment"><pre class="fragment">
    Float64 lat[lat = 180];
    </pre></div><p> While a more complex declaration (for a <a class="el" href="classlibdap_1_1Grid.html" title="Holds the Grid data type.">Grid</a>, in this case), would look like this: </p>
<div class="fragment"><pre class="fragment">
    Grid {
    ARRAY:
    Int32 sst[time = 404][lat = 180][lon = 360];
    MAPS:
    Float64 time[time = 404];
    Float64 lat[lat = 180];
    Float64 lon[lon = 360];
    } sst;
    </pre></div><dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">out</td><td>The output stream on which to print the declaration. </td></tr>
    <tr><td class="paramname">space</td><td>Each line of the declaration will begin with the characters in this string. Usually used for leading spaces. </td></tr>
    <tr><td class="paramname">print_semi</td><td>A boolean value indicating whether to print a semicolon at the end of the declaration. </td></tr>
    <tr><td class="paramname">constraint_info</td><td>A boolean value indicating whether constraint information is to be printed with the declaration. If the value of this parameter is TRUE, <code><a class="el" href="classlibdap_1_1Constructor.html#ab7fb094be8da2a9f80f6d3b85e452934" title="Print an ASCII representation of the variable structure.">print_decl()</a></code> prints the value of the variable's <code><a class="el" href="classlibdap_1_1BaseType.html#a980c0013817836aa77ef74aeec7fb192" title="Should this variable be sent?">send_p()</a></code> flag after the declaration. </td></tr>
    <tr><td class="paramname">constrained</td><td>If this boolean value is TRUE, the variable's declaration is only printed if is the <code><a class="el" href="classlibdap_1_1BaseType.html#a980c0013817836aa77ef74aeec7fb192" title="Should this variable be sent?">send_p()</a></code> flag is TRUE. If a constraint expression is in place, and this variable is not requested, the <code><a class="el" href="classlibdap_1_1BaseType.html#a980c0013817836aa77ef74aeec7fb192" title="Should this variable be sent?">send_p()</a></code> flag is FALSE.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1DDS.html">DDS</a> </dd>
<dd>
DDS::CE </dd></dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#afd744b0ddeb04e7b173c9e83423ec572">libdap::BaseType</a>.</p>

<p>Reimplemented in <a class="el" href="classlibdap_1_1Grid.html#a5a239b053928636e13e3a478faf8e334">libdap::Grid</a>.</p>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00361">361</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, <a class="el" href="escaping_8cc_source.html#l00151">libdap::id2www()</a>, <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, <a class="el" href="BaseType_8cc_source.html#l00503">libdap::BaseType::send_p()</a>, and <a class="el" href="BaseType_8cc_source.html#l00252">libdap::BaseType::type_name()</a>.</p>

<p>Referenced by <a class="el" href="Structure_8cc_source.html#l00472">print_val()</a>, and <a class="el" href="Sequence_8cc_source.html#l01403">libdap::Sequence::print_val_by_rows()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Constructor_ab7fb094be8da2a9f80f6d3b85e452934_cgraph.png" border="0" usemap="#classlibdap_1_1Constructor_ab7fb094be8da2a9f80f6d3b85e452934_cgraph" alt=""/></div>
<map name="classlibdap_1_1Constructor_ab7fb094be8da2a9f80f6d3b85e452934_cgraph" id="classlibdap_1_1Constructor_ab7fb094be8da2a9f80f6d3b85e452934_cgraph">
<area shape="rect" id="node3" href="namespacelibdap.html#afbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="452,5,615,32"/><area shape="rect" id="node7" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="412,56,655,83"/><area shape="rect" id="node9" href="classlibdap_1_1BaseType.html#a980c0013817836aa77ef74aeec7fb192" title="Should this variable be sent?" alt="" coords="403,107,664,133"/><area shape="rect" id="node11" href="classlibdap_1_1BaseType.html#ac4461c9e287b167871acade5e5472116" title="Returns the type of the class instance as a string." alt="" coords="388,157,679,184"/><area shape="rect" id="node5" href="namespacelibdap.html#a58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="728,5,920,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af1652b61251339b9199d080504de453f"></a><!-- doxytag: member="libdap::Structure::print_val" ref="af1652b61251339b9199d080504de453f" args="(ostream &amp;out, string space=&quot;&quot;, bool print_decl_p=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::print_val </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>space</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>print_decl_p</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prints the value of the variable, with its declaration. This function is primarily intended for debugging DODS applications. However, it can be overloaded and used to do some useful things. Take a look at the asciival and writeval clients, both of which overload this to output the values of variables in different ways.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">out</td><td>The output ostream on which to print the value. </td></tr>
    <tr><td class="paramname">space</td><td>This value is passed to the <a class="el" href="classlibdap_1_1Constructor.html#ab7fb094be8da2a9f80f6d3b85e452934" title="Print an ASCII representation of the variable structure.">print_decl()</a> function, and controls the leading spaces of the output. </td></tr>
    <tr><td class="paramname">print_decl_p</td><td>A boolean value controlling whether the variable declaration is printed as well as the value. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classlibdap_1_1BaseType.html#a94edd5b610afb1432144158740710488">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00472">472</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, and <a class="el" href="Constructor_8cc_source.html#l00361">libdap::Constructor::print_decl()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_af1652b61251339b9199d080504de453f_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_af1652b61251339b9199d080504de453f_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_af1652b61251339b9199d080504de453f_cgraph" id="classlibdap_1_1Structure_af1652b61251339b9199d080504de453f_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1Constructor.html#ab7fb094be8da2a9f80f6d3b85e452934" title="Print an ASCII representation of the variable structure." alt="" coords="359,81,689,108"/><area shape="rect" id="node5" href="namespacelibdap.html#afbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="804,5,967,32"/><area shape="rect" id="node9" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="764,56,1007,83"/><area shape="rect" id="node11" href="classlibdap_1_1BaseType.html#a980c0013817836aa77ef74aeec7fb192" title="Should this variable be sent?" alt="" coords="755,107,1016,133"/><area shape="rect" id="node13" href="classlibdap_1_1BaseType.html#ac4461c9e287b167871acade5e5472116" title="Returns the type of the class instance as a string." alt="" coords="740,157,1031,184"/><area shape="rect" id="node7" href="namespacelibdap.html#a58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="1080,5,1272,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a32de0413045173aa8803f540a6cea39b"></a><!-- doxytag: member="libdap::Structure::print_xml" ref="a32de0413045173aa8803f540a6cea39b" args="(ostream &amp;out, string space=&quot;    &quot;, bool constrained=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Constructor::print_xml </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>space</em> = <code>&quot;&#160;&#160;&#160;&#160;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>constrained</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write the XML representation of this variable. This method is used to build the DDX XML response. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">out</td><td>Destination output stream </td></tr>
    <tr><td class="paramname">space</td><td>Use this to indent child declarations. Default is "". </td></tr>
    <tr><td class="paramname">constrained</td><td>If true, only print this if it's part part of the current projection. Default is False. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#a8bd2c7682edd48c64b210bdf247bdef7">libdap::BaseType</a>.</p>

<p>Reimplemented in <a class="el" href="classlibdap_1_1Grid.html#a29d53347639f843c164f19e3a3f19b7d">libdap::Grid</a>.</p>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00448">448</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="BaseType_8cc_source.html#l00531">libdap::BaseType::get_attr_table()</a>, <a class="el" href="escaping_8cc_source.html#l00266">libdap::id2xml()</a>, <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, <a class="el" href="AttrTable_8cc_source.html#l01209">libdap::AttrTable::print_xml()</a>, <a class="el" href="BaseType_8cc_source.html#l00503">libdap::BaseType::send_p()</a>, <a class="el" href="BaseType_8cc_source.html#l00252">libdap::BaseType::type_name()</a>, <a class="el" href="Constructor_8cc_source.html#l00101">libdap::Constructor::var_begin()</a>, and <a class="el" href="Constructor_8cc_source.html#l00295">libdap::Constructor::var_end()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Constructor_a32de0413045173aa8803f540a6cea39b_cgraph.png" border="0" usemap="#classlibdap_1_1Constructor_a32de0413045173aa8803f540a6cea39b_cgraph" alt=""/></div>
<map name="classlibdap_1_1Constructor_a32de0413045173aa8803f540a6cea39b_cgraph" id="classlibdap_1_1Constructor_a32de0413045173aa8803f540a6cea39b_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a1fcd9537c67e3bf88964b2656ff5bac1" title="libdap::BaseType::get_attr_table" alt="" coords="377,133,719,160"/><area shape="rect" id="node5" href="namespacelibdap.html#a62463a13bf510db3a14c0053fea14f4d" title="libdap::id2xml" alt="" coords="863,5,1025,32"/><area shape="rect" id="node9" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="427,309,669,336"/><area shape="rect" id="node11" href="classlibdap_1_1AttrTable.html#a5e27ea09f83831eded1b3d86de7f4534" title="libdap::AttrTable::print_xml" alt="" coords="397,259,699,285"/><area shape="rect" id="node53" href="classlibdap_1_1BaseType.html#a980c0013817836aa77ef74aeec7fb192" title="Should this variable be sent?" alt="" coords="417,360,679,387"/><area shape="rect" id="node55" href="classlibdap_1_1BaseType.html#ac4461c9e287b167871acade5e5472116" title="Returns the type of the class instance as a string." alt="" coords="403,411,693,437"/><area shape="rect" id="node57" href="classlibdap_1_1Constructor.html#adeafe3d6c82d07b456a598a7b446c2c6" title="libdap::Constructor::var_begin" alt="" coords="387,461,709,488"/><area shape="rect" id="node59" href="classlibdap_1_1Constructor.html#a936b38c7c35ffb4fe17c5b8e85bdaaa2" title="libdap::Constructor::var_end" alt="" coords="397,512,699,539"/><area shape="rect" id="node7" href="namespacelibdap.html#a61f9b10ef0e659cebdca50a89d8ea7c3" title="libdap::octal_to_hex" alt="" coords="1233,5,1455,32"/><area shape="rect" id="node13" href="classlibdap_1_1AttrTable.html#a8881bb7044577dae3098f4a1d8bf4f2f" title="libdap::AttrTable::attr_begin" alt="" coords="2451,107,2763,133"/><area shape="rect" id="node15" href="classlibdap_1_1AttrTable.html#a543955729bad6b7a9d1d6b336596b1ba" title="libdap::AttrTable::attr_end" alt="" coords="2461,208,2752,235"/><area shape="rect" id="node17" href="classlibdap_1_1AttrTable.html#a615b618bb2333da0d7114eec2101defe" title="libdap::AttrTable::get_attr" alt="" coords="799,411,1089,437"/><area shape="rect" id="node21" href="classlibdap_1_1AttrTable.html#a1c86cb6c91dfdc37b9787828dd09483c" title="Get the number of attributes in this container." alt="" coords="779,461,1109,488"/><area shape="rect" id="node24" href="classlibdap_1_1AttrTable.html#a4010172de5c41cd88f2422d5e1975522" title="Get an attribute container." alt="" coords="768,208,1120,235"/><area shape="rect" id="node39" href="classlibdap_1_1AttrTable.html#a4c79bee34f6d3fb0947776adaa52aeee" title="Get the name of this attribute table." alt="" coords="2076,208,2367,235"/><area shape="rect" id="node41" href="classlibdap_1_1AttrTable.html#a2ca5cf1e2aa163259b00affe49547a0d" title="libdap::AttrTable::is_container" alt="" coords="2056,259,2387,285"/><area shape="rect" id="node43" href="classlibdap_1_1AttrTable.html#aefcd82370930ba94a288f135d9417a93" title="Get the type of an attribute." alt="" coords="773,512,1115,539"/><area shape="rect" id="node47" href="classlibdap_1_1AttrTable.html#a689563c3beb8e6f571387c5105821f27" title="Get the type name of an attribute within this attribute table." alt="" coords="799,360,1089,387"/><area shape="rect" id="node19" href="classlibdap_1_1AttrTable.html#ae7824f413ad036d91df0ef62cac14351" title="libdap::AttrTable::simple_find" alt="" coords="1183,436,1505,463"/><area shape="rect" id="node26" href="classlibdap_1_1AttrTable.html#ae403d070910c829f74a59fbf4648588f" title="Find an attribute with a given name." alt="" coords="1168,208,1520,235"/><area shape="rect" id="node28" href="classlibdap_1_1AttrTable.html#a33653c34e856e2e5fc0578240eb7a959" title="libdap::AttrTable::find" alt="" coords="1655,157,1905,184"/><area shape="rect" id="node37" href="classlibdap_1_1AttrTable.html#a6602967438b96bf1ba08e2b8195b9238" title="libdap::AttrTable::simple_find_container" alt="" coords="1569,208,1991,235"/><area shape="rect" id="node31" href="classlibdap_1_1AttrTable.html#aefdc93c9514013ebd644488cd8365924" title="libdap::AttrTable::recurrsive_find" alt="" coords="2040,157,2403,184"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae20b384171ecded1940c3cb9780eda7e"></a><!-- doxytag: member="libdap::Structure::ptr_duplicate" ref="ae20b384171ecded1940c3cb9780eda7e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * libdap::Structure::ptr_duplicate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clone this instance. Allocate a new instance and copy <code>*this</code> into it. This method must perform a deep copy.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This method should <em>not</em> copy data values, but must copy all other fields in the object. </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated copy of <code>this</code>. </dd></dl>

<p>Implements <a class="el" href="classlibdap_1_1BaseType.html#a0b130311c9901fb8a7ab11ea19090ef0">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00122">122</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Structure_8cc_source.html#l00091">Structure()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_ae20b384171ecded1940c3cb9780eda7e_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_ae20b384171ecded1940c3cb9780eda7e_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_ae20b384171ecded1940c3cb9780eda7e_cgraph" id="classlibdap_1_1Structure_ae20b384171ecded1940c3cb9780eda7e_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1Structure.html#a4187f25219b1fc7ec93e761795047e0a" title="libdap::Structure::Structure" alt="" coords="399,5,700,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab49e61a5cf9dc60c5c8510b1ad1e7ef1"></a><!-- doxytag: member="libdap::Structure::read" ref="ab49e61a5cf9dc60c5c8510b1ad1e7ef1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Structure::read </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>returns false to signify all has been read </dd></dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#a1da003c53f2e663223f603ab3fbd7c8e">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00260">260</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, <a class="el" href="BaseType_8cc_source.html#l00444">libdap::BaseType::read_p()</a>, and <a class="el" href="Structure_8cc_source.html#l00179">set_read_p()</a>.</p>

<p>Referenced by <a class="el" href="Structure_8cc_source.html#l00286">intern_data()</a>, and <a class="el" href="Structure_8cc_source.html#l00300">serialize()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_ab49e61a5cf9dc60c5c8510b1ad1e7ef1_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_ab49e61a5cf9dc60c5c8510b1ad1e7ef1_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_ab49e61a5cf9dc60c5c8510b1ad1e7ef1_cgraph" id="classlibdap_1_1Structure_ab49e61a5cf9dc60c5c8510b1ad1e7ef1_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a38ff819a432217c55db2e9071928d20c" title="Has this variable been read?" alt="" coords="332,5,593,32"/><area shape="rect" id="node5" href="classlibdap_1_1Structure.html#a61dd97e239b8abf740b03bec7f302b18" title="Sets the value of the read_p property." alt="" coords="307,56,619,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a38ff819a432217c55db2e9071928d20c"></a><!-- doxytag: member="libdap::Structure::read_p" ref="a38ff819a432217c55db2e9071928d20c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::read_p </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if the value(s) for this variable have been read from the data source, otherwise returns false. This method is used to determine when values need to be read using the <a class="el" href="classlibdap_1_1BaseType.html#a1da003c53f2e663223f603ab3fbd7c8e" title="Read data into a local buffer.">read()</a> method. When <a class="el" href="classlibdap_1_1BaseType.html#a38ff819a432217c55db2e9071928d20c" title="Has this variable been read?">read_p()</a> returns true, this library assumes that <a class="el" href="classlibdap_1_1BaseType.html#accb15b7411e1988ef0a085ebdc88ce5d" title="Reads the class data.">buf2val()</a> (and other methods such as get_vec()) can be used to access the value(s) of a variable.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the variable's value(s) have been read, false otherwise. </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00444">444</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="ce__functions_8cc_source.html#l00239">libdap::extract_double_array()</a>, <a class="el" href="ce__functions_8cc_source.html#l00284">libdap::extract_double_value()</a>, <a class="el" href="ce__functions_8cc_source.html#l00117">libdap::extract_string_argument()</a>, <a class="el" href="Vector_8cc_source.html#l00570">libdap::Vector::intern_data()</a>, <a class="el" href="Structure_8cc_source.html#l00286">intern_data()</a>, <a class="el" href="Grid_8cc_source.html#l00216">libdap::Grid::intern_data()</a>, <a class="el" href="BaseType_8cc_source.html#l00799">libdap::BaseType::intern_data()</a>, <a class="el" href="UInt32_8cc_source.html#l00222">libdap::UInt32::ops()</a>, <a class="el" href="UInt16_8cc_source.html#l00220">libdap::UInt16::ops()</a>, <a class="el" href="Str_8cc_source.html#l00265">libdap::Str::ops()</a>, <a class="el" href="Int32_8cc_source.html#l00229">libdap::Int32::ops()</a>, <a class="el" href="Int16_8cc_source.html#l00218">libdap::Int16::ops()</a>, <a class="el" href="Float64_8cc_source.html#l00238">libdap::Float64::ops()</a>, <a class="el" href="Float32_8cc_source.html#l00237">libdap::Float32::ops()</a>, <a class="el" href="Byte_8cc_source.html#l00237">libdap::Byte::ops()</a>, <a class="el" href="Structure_8cc_source.html#l00260">read()</a>, <a class="el" href="Sequence_8cc_source.html#l00606">libdap::Sequence::read_row()</a>, <a class="el" href="Vector_8cc_source.html#l00636">libdap::Vector::serialize()</a>, <a class="el" href="UInt32_8cc_source.html#l00121">libdap::UInt32::serialize()</a>, <a class="el" href="UInt16_8cc_source.html#l00120">libdap::UInt16::serialize()</a>, <a class="el" href="Structure_8cc_source.html#l00300">serialize()</a>, <a class="el" href="Str_8cc_source.html#l00132">libdap::Str::serialize()</a>, <a class="el" href="Int32_8cc_source.html#l00129">libdap::Int32::serialize()</a>, <a class="el" href="Int16_8cc_source.html#l00118">libdap::Int16::serialize()</a>, <a class="el" href="Grid_8cc_source.html#l00236">libdap::Grid::serialize()</a>, <a class="el" href="Float64_8cc_source.html#l00127">libdap::Float64::serialize()</a>, <a class="el" href="Float32_8cc_source.html#l00125">libdap::Float32::serialize()</a>, <a class="el" href="Byte_8cc_source.html#l00132">libdap::Byte::serialize()</a>, and <a class="el" href="Vector_8cc_source.html#l01173">libdap::Vector::set_value_slice_from_row_major_vector()</a>.</p>

</div>
</div>
<a class="anchor" id="a980c0013817836aa77ef74aeec7fb192"></a><!-- doxytag: member="libdap::Structure::send_p" ref="a980c0013817836aa77ef74aeec7fb192" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::send_p </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the state of the <code>send_p</code> property. If true, this variable should be sent to the client, if false, it should not. If no constraint expression (CE) has been evaluated, this property is true for all variables in a data source (i.e., for all the variables listed in a <a class="el" href="classlibdap_1_1DDS.html">DDS</a>). If a CE has been evaluated, this property is true only for those variables listed in the <em>projection part</em> of the CE.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the variable should be sent to the client, false otherwise. </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00503">503</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Grid_8cc_source.html#l00592">libdap::Grid::components()</a>, <a class="el" href="Grid_8cc_source.html#l00216">libdap::Grid::intern_data()</a>, <a class="el" href="Grid_8cc_source.html#l00776">libdap::Grid::print_decl()</a>, <a class="el" href="Constructor_8cc_source.html#l00361">libdap::Constructor::print_decl()</a>, <a class="el" href="BaseType_8cc_source.html#l00919">libdap::BaseType::print_decl()</a>, <a class="el" href="Array_8cc_source.html#l00566">libdap::Array::print_decl()</a>, <a class="el" href="Grid_8cc_source.html#l00986">libdap::Grid::print_val()</a>, <a class="el" href="Grid_8cc_source.html#l00912">libdap::Grid::print_xml()</a>, <a class="el" href="Constructor_8cc_source.html#l00448">libdap::Constructor::print_xml()</a>, <a class="el" href="BaseType_8cc_source.html#l00976">libdap::BaseType::print_xml()</a>, <a class="el" href="Array_8cc_source.html#l00687">libdap::Array::print_xml_core()</a>, <a class="el" href="Grid_8cc_source.html#l00666">libdap::Grid::projection_yields_grid()</a>, and <a class="el" href="Grid_8cc_source.html#l00236">libdap::Grid::serialize()</a>.</p>

</div>
</div>
<a class="anchor" id="a751397fbb6334d1a6b8f424036ecd979"></a><!-- doxytag: member="libdap::Structure::serialize" ref="a751397fbb6334d1a6b8f424036ecd979" args="(ConstraintEvaluator &amp;eval, DDS &amp;dds, Marshaller &amp;m, bool ce_eval=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Structure::serialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1ConstraintEvaluator.html">ConstraintEvaluator</a> &amp;&#160;</td>
          <td class="paramname"><em>eval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&#160;</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_1Marshaller.html">Marshaller</a> &amp;&#160;</td>
          <td class="paramname"><em>m</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ce_eval</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sends the data from the indicated (local) dataset through the connection identified by the <em>sink</em> parameter. If the data is not already incorporated into the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> object, read the data from the dataset.</p>
<p>This function is only used on the server side of the client/server connection, and is generally only called from the DODSFilter::send() function. It has no <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> implementation; each datatype child class supplies its own implementation.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">eval</td><td>Use this as the constraint expression evaluator. </td></tr>
    <tr><td class="paramname">dds</td><td>The Data Descriptor <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> object corresponding to this dataset. See <em>The DODS User Manual</em> for information about this structure. </td></tr>
    <tr><td class="paramname">m</td><td>A marshaller used to serialize data types </td></tr>
    <tr><td class="paramname">ce_eval</td><td>A boolean value indicating whether to evaluate the DODS constraint expression that may accompany this dataset. The constraint expression is stored in <em>dds</em>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>This method always returns true. Older versions used the return value to signal success or failure.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname">InternalErr.</td><td></td></tr>
    <tr><td class="paramname">Error.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1DDS.html">DDS</a> </dd></dl>

<p>Implements <a class="el" href="classlibdap_1_1BaseType.html#a1f45893684a69b50b37817b88230de9f">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00300">300</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>, <a class="el" href="BaseType_8cc_source.html#l00231">libdap::BaseType::dataset()</a>, <a class="el" href="ConstraintEvaluator_8cc_source.html#l00414">libdap::ConstraintEvaluator::eval_selection()</a>, <a class="el" href="Structure_8cc_source.html#l00260">read()</a>, <a class="el" href="BaseType_8cc_source.html#l00444">libdap::BaseType::read_p()</a>, <a class="el" href="DDS_8cc_source.html#l00823">libdap::DDS::timeout_off()</a>, and <a class="el" href="DDS_8cc_source.html#l00815">libdap::DDS::timeout_on()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a751397fbb6334d1a6b8f424036ecd979_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a751397fbb6334d1a6b8f424036ecd979_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a751397fbb6334d1a6b8f424036ecd979_cgraph" id="classlibdap_1_1Structure_a751397fbb6334d1a6b8f424036ecd979_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a9f102f5cc17ac7d2d80f9921e10d3baf" title="Returns the name of the dataset used to create this instance." alt="" coords="448,5,720,32"/><area shape="rect" id="node5" href="classlibdap_1_1ConstraintEvaluator.html#aa0066a57cf00c975f6ccbc2e90c64742" title="Evaluate a boolean&#45;valued constraint expression. This is main method for the evaluator ans is called ..." alt="" coords="359,56,809,83"/><area shape="rect" id="node7" href="classlibdap_1_1Structure.html#ab49e61a5cf9dc60c5c8510b1ad1e7ef1" title="simple implementation of reat that iterates through vars and calls read on them" alt="" coords="459,157,709,184"/><area shape="rect" id="node9" href="classlibdap_1_1BaseType.html#a38ff819a432217c55db2e9071928d20c" title="Has this variable been read?" alt="" coords="884,107,1145,133"/><area shape="rect" id="node14" href="classlibdap_1_1DDS.html#a6740f99a5fc64640505924c5603ace0a" title="libdap::DDS::timeout_off" alt="" coords="453,208,715,235"/><area shape="rect" id="node16" href="classlibdap_1_1DDS.html#a8cd9b6a34f5e1a49665de3189e141de8" title="libdap::DDS::timeout_on" alt="" coords="459,259,709,285"/><area shape="rect" id="node11" href="classlibdap_1_1Structure.html#a61dd97e239b8abf740b03bec7f302b18" title="Sets the value of the read_p property." alt="" coords="859,157,1171,184"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a572a1d76a75981abac83a4241e90c0fa"></a><!-- doxytag: member="libdap::Structure::set_attr_table" ref="a572a1d76a75981abac83a4241e90c0fa" args="(const AttrTable &amp;at)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::BaseType::set_attr_table </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1AttrTable.html">AttrTable</a> &amp;&#160;</td>
          <td class="paramname"><em>at</em></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set this variable's attribute table. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">at</td><td>Source of the attributes. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00539">539</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ad0d08ebc3100995977dcae0d7f086a9c"></a><!-- doxytag: member="libdap::Structure::set_in_selection" ref="ad0d08ebc3100995977dcae0d7f086a9c" args="(bool state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::set_in_selection </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the <em>in_selection</em> property for this variable and all of its children.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>Set the property value to <em>state</em>. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#a2bc036248cdaf1affac464170f32ad30">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00194">194</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="a69851299078fd4bfc39d722c8cdc3cb9"></a><!-- doxytag: member="libdap::Structure::set_leaf_sequence" ref="a69851299078fd4bfc39d722c8cdc3cb9" args="(int level=1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::set_leaf_sequence </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>level</em> = <code>1</code></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00205">205</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="BaseType_8h_source.html#l00144">libdap::dods_sequence_c</a>, <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_structure_c</a>, <a class="el" href="Constructor_8cc_source.html#l00101">libdap::Constructor::var_begin()</a>, and <a class="el" href="Constructor_8cc_source.html#l00295">libdap::Constructor::var_end()</a>.</p>

<p>Referenced by <a class="el" href="Sequence_8cc_source.html#l01498">libdap::Sequence::set_leaf_sequence()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a69851299078fd4bfc39d722c8cdc3cb9_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a69851299078fd4bfc39d722c8cdc3cb9_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a69851299078fd4bfc39d722c8cdc3cb9_cgraph" id="classlibdap_1_1Structure_a69851299078fd4bfc39d722c8cdc3cb9_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1Constructor.html#adeafe3d6c82d07b456a598a7b446c2c6" title="libdap::Constructor::var_begin" alt="" coords="437,5,760,32"/><area shape="rect" id="node5" href="classlibdap_1_1Constructor.html#a936b38c7c35ffb4fe17c5b8e85bdaaa2" title="libdap::Constructor::var_end" alt="" coords="448,56,749,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a86504564f45a3e6748c6f1cc0ff4e9fa"></a><!-- doxytag: member="libdap::Structure::set_name" ref="a86504564f45a3e6748c6f1cc0ff4e9fa" args="(const string &amp;n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::BaseType::set_name </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00217">217</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>References <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, and <a class="el" href="escaping_8cc_source.html#l00214">libdap::www2id()</a>.</p>

<p>Referenced by <a class="el" href="Vector_8cc_source.html#l01543">libdap::Vector::add_var()</a>, <a class="el" href="Array_8cc_source.html#l00687">libdap::Array::print_xml_core()</a>, and <a class="el" href="Vector_8cc_source.html#l00316">libdap::Vector::set_name()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1BaseType_a86504564f45a3e6748c6f1cc0ff4e9fa_cgraph.png" border="0" usemap="#classlibdap_1_1BaseType_a86504564f45a3e6748c6f1cc0ff4e9fa_cgraph" alt=""/></div>
<map name="classlibdap_1_1BaseType_a86504564f45a3e6748c6f1cc0ff4e9fa_cgraph" id="classlibdap_1_1BaseType_a86504564f45a3e6748c6f1cc0ff4e9fa_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="336,5,579,32"/><area shape="rect" id="node5" href="namespacelibdap.html#a376f9593431111a80ef78c98b8f4a0e2" title="libdap::www2id" alt="" coords="376,56,539,83"/><area shape="rect" id="node7" href="namespacelibdap.html#a9a3ca0a741a80db615410ac7dc3417f0" title="libdap::unhexstring" alt="" coords="628,56,839,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5b6a39f6ce6594fa74f3fc899ac9a966"></a><!-- doxytag: member="libdap::Structure::set_parent" ref="a5b6a39f6ce6594fa74f3fc899ac9a966" args="(BaseType *parent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::BaseType::set_parent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&#160;</td>
          <td class="paramname"><em>parent</em></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the <code>parent</code> property for this variable. Only instances of <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> or <a class="el" href="classlibdap_1_1Vector.html" title="Holds a one-dimensional collection of DAP2 data types.">Vector</a> should call this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Pointer to the <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> of <a class="el" href="classlibdap_1_1Vector.html" title="Holds a one-dimensional collection of DAP2 data types.">Vector</a> parent variable. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classlibdap_1_1InternalErr.html" title="A class for software fault reporting.">InternalErr</a></td><td>thrown if called with anything other than a <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> or <a class="el" href="classlibdap_1_1Vector.html" title="Holds a one-dimensional collection of DAP2 data types.">Vector</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00638">638</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Vector_8cc_source.html#l00061">libdap::Vector::_duplicate()</a>, <a class="el" href="Structure_8cc_source.html#l00065">_duplicate()</a>, <a class="el" href="Grid_8cc_source.html#l00057">libdap::Grid::_duplicate()</a>, <a class="el" href="Grid_8cc_source.html#l00468">libdap::Grid::add_map()</a>, <a class="el" href="Vector_8cc_source.html#l01543">libdap::Vector::add_var()</a>, <a class="el" href="Structure_8cc_source.html#l00220">add_var()</a>, <a class="el" href="Sequence_8cc_source.html#l00340">libdap::Sequence::add_var()</a>, <a class="el" href="Grid_8cc_source.html#l00346">libdap::Grid::add_var()</a>, <a class="el" href="Grid_8cc_source.html#l00500">libdap::Grid::prepend_map()</a>, <a class="el" href="Grid_8cc_source.html#l00424">libdap::Grid::set_array()</a>, and <a class="el" href="Vector_8cc_source.html#l00239">libdap::Vector::Vector()</a>.</p>

</div>
</div>
<a class="anchor" id="a61dd97e239b8abf740b03bec7f302b18"></a><!-- doxytag: member="libdap::Structure::set_read_p" ref="a61dd97e239b8abf740b03bec7f302b18" args="(bool state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::set_read_p </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the value of the <code>read_p</code> property. This indicates that the value(s) of this variable has/have been read. An implementation of the <a class="el" href="classlibdap_1_1Structure.html#ab49e61a5cf9dc60c5c8510b1ad1e7ef1" title="simple implementation of reat that iterates through vars and calls read on them">read()</a> method would typically use this to set the <code>read_p</code> property to true.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>For most of the types the default implementation of this method is fine. However, if you're building a server which must handle data represented using nested sequences, then you may need to provide a specialization of <a class="el" href="classlibdap_1_1Sequence.html#a79e5a9f5c44763e61964b7ec500edfeb" title="Sets the value of the read_p property.">Sequence::set_read_p()</a>. By default Sequence::set_read_() recursively sets the <em>read_p</em> property for all child variables to <em>state</em>. For servers where one <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a> reads an outer set of values and another reads an inner set, this is cumbersome. In such a case, it is easier to specialize <a class="el" href="classlibdap_1_1Sequence.html#a79e5a9f5c44763e61964b7ec500edfeb" title="Sets the value of the read_p property.">Sequence::set_read_p()</a> so that it does <em>not</em> recursively set the <em>read_p</em> property for the inner <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a>. Be sure to see the documentation for the <a class="el" href="classlibdap_1_1Structure.html#ab49e61a5cf9dc60c5c8510b1ad1e7ef1" title="simple implementation of reat that iterates through vars and calls read on them">read()</a> method!</dd>
<dd>
For synthesized variables, this method does nothing. Thus, if a synthesized variable is added to a <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a>, the <a class="el" href="classlibdap_1_1Sequence.html" title="Holds a sequence.">Sequence</a> can iteratively reset the <em>read_p</em> property without affecting the value of that property for the synthesized variable. That's important since a synthesized variable's value is calculated, not read.</dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>Look at making synthesized variables easier to implement and at making them more integrated into the overall CE evaluation process. Maybe the code that computes the synthesized var's value should be in the that variable's <a class="el" href="classlibdap_1_1Structure.html#ab49e61a5cf9dc60c5c8510b1ad1e7ef1" title="simple implementation of reat that iterates through vars and calls read on them">read()</a> method? This might provide a way to get rid of the awkward 'projection functions' by replacing them with real children of <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a>. It would also provide a way to clean up the way the <em>synthesized_p</em> prop intrudes on the <em>read_p</em> prop.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1BaseType.html#a1da003c53f2e663223f603ab3fbd7c8e" title="Read data into a local buffer.">BaseType::read()</a> </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>Set the <em>read_p</em> property to this state. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#a4533905a450d2a7af32e7d5acd557676">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00179">179</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

<p>Referenced by <a class="el" href="Structure_8cc_source.html#l00260">read()</a>.</p>

</div>
</div>
<a class="anchor" id="a3b8c155448a06407a36cfb76a27fdcbc"></a><!-- doxytag: member="libdap::Structure::set_send_p" ref="a3b8c155448a06407a36cfb76a27fdcbc" args="(bool state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Structure::set_send_p </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the value of the <code>send_p</code> flag. This function is meant to be called from within the constraint evaluator of other code which determines that this variable should be returned to the client. Data are ready to be sent when <em>both</em> the <code>_send_p</code> and <code>_read_p</code> flags are set to TRUE.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>The logical state to set the <code>send_p</code> flag. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#aba7b27635c95b74536de18393133628e">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00169">169</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="a595cb4059cff24f801a1b6da79bd2f9e"></a><!-- doxytag: member="libdap::Structure::set_synthesized_p" ref="a595cb4059cff24f801a1b6da79bd2f9e" args="(bool state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::BaseType::set_synthesized_p </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the synthesized flag. Before setting this flag be sure to set the <code><a class="el" href="classlibdap_1_1BaseType.html#a38ff819a432217c55db2e9071928d20c" title="Has this variable been read?">read_p()</a></code> state. Once this flag is set you cannot alter the state of the <code>read_p</code> flag!</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1BaseType.html#ae64e677da27249473cdba0b60cdbb90a">synthesized_p()</a> </dd></dl>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00427">427</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

</div>
</div>
<a class="anchor" id="af74f8d1ef57c9fcca46f620f75d175a3"></a><!-- doxytag: member="libdap::Structure::set_type" ref="af74f8d1ef57c9fcca46f620f75d175a3" args="(const Type &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::BaseType::set_type </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6">Type</a> &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00245">245</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Url_8cc_source.html#l00049">libdap::Url::Url()</a>.</p>

</div>
</div>
<a class="anchor" id="ae64e677da27249473cdba0b60cdbb90a"></a><!-- doxytag: member="libdap::Structure::synthesized_p" ref="ae64e677da27249473cdba0b60cdbb90a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::BaseType::synthesized_p </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if the variable is a synthesized variable. A synthesized variable is one that is added to the dataset by the server (usually with a `projection function'. </p>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00416">416</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a701eb3361f5b5628329ece019cd34519"></a><!-- doxytag: member="libdap::Structure::toString" ref="a701eb3361f5b5628329ece019cd34519" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::BaseType::toString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write out the object's internal fields in a string. To be used for debugging when regular inspection w/ddd or gdb isn't enough.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A string which shows the object's internal stuff. </dd></dl>

<p>Reimplemented in <a class="el" href="classlibdap_1_1Sequence.html#a24016ba1d3b9b755699959abf0219ff1">libdap::Sequence</a>.</p>

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00161">161</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>References <a class="el" href="BaseType_8cc_source.html#l00252">libdap::BaseType::type_name()</a>.</p>

<p>Referenced by <a class="el" href="GSEClause_8cc_source.html#l00209">libdap::GSEClause::GSEClause()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1BaseType_a701eb3361f5b5628329ece019cd34519_cgraph.png" border="0" usemap="#classlibdap_1_1BaseType_a701eb3361f5b5628329ece019cd34519_cgraph" alt=""/></div>
<map name="classlibdap_1_1BaseType_a701eb3361f5b5628329ece019cd34519_cgraph" id="classlibdap_1_1BaseType_a701eb3361f5b5628329ece019cd34519_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#ac4461c9e287b167871acade5e5472116" title="Returns the type of the class instance as a string." alt="" coords="337,5,628,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6ec34211fae83a2a39a32d8c002bc185"></a><!-- doxytag: member="libdap::Structure::transfer_attributes" ref="a6ec34211fae83a2a39a32d8c002bc185" args="(AttrTable *at_container)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Constructor::transfer_attributes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1AttrTable.html">AttrTable</a> *&#160;</td>
          <td class="paramname"><em>at_container</em></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Given an Attribute table, scavenge attributes from it and load them into this object and the variables it contains.</p>
<p>This implementation differes from the version in <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> in that each of the children of the <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> are passed an attribute container if one is found that matches the name of this <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> variable.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">at_containeer</td><td>Search for attributes in this container. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#add8e836c622042a339152a6c31e5bdfb">libdap::BaseType</a>.</p>

<p>Reimplemented in <a class="el" href="classlibdap_1_1Grid.html#a9483bb65505c86e3fc44a9b856a55323">libdap::Grid</a>.</p>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00260">260</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="AttrTable_8cc_source.html#l00239">libdap::AttrTable::append_attr()</a>, <a class="el" href="AttrTable_8cc_source.html#l00341">libdap::AttrTable::append_container()</a>, <a class="el" href="AttrTable_8cc_source.html#l00640">libdap::AttrTable::attr_begin()</a>, <a class="el" href="AttrTable_8h_source.html#l00079">libdap::Attr_container</a>, <a class="el" href="AttrTable_8cc_source.html#l00649">libdap::AttrTable::attr_end()</a>, <a class="el" href="BaseType_8cc_source.html#l00531">libdap::BaseType::get_attr_table()</a>, <a class="el" href="AttrTable_8cc_source.html#l00536">libdap::AttrTable::get_attr_table()</a>, <a class="el" href="AttrTable_8cc_source.html#l00552">libdap::AttrTable::get_attr_type()</a>, <a class="el" href="AttrTable_8cc_source.html#l00585">libdap::AttrTable::get_attr_vector()</a>, <a class="el" href="AttrTable_8cc_source.html#l00208">libdap::AttrTable::get_name()</a>, <a class="el" href="AttrTable_8cc_source.html#l00543">libdap::AttrTable::get_type()</a>, <a class="el" href="AttrTable_8h_source.html#l00280">libdap::AttrTable::is_global_attribute()</a>, <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, <a class="el" href="AttrTable_8h_source.html#l00281">libdap::AttrTable::set_is_global_attribute()</a>, <a class="el" href="BaseType_8cc_source.html#l00662">libdap::BaseType::var()</a>, <a class="el" href="Constructor_8cc_source.html#l00101">libdap::Constructor::var_begin()</a>, and <a class="el" href="Constructor_8cc_source.html#l00295">libdap::Constructor::var_end()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Constructor_a6ec34211fae83a2a39a32d8c002bc185_cgraph.png" border="0" usemap="#classlibdap_1_1Constructor_a6ec34211fae83a2a39a32d8c002bc185_cgraph" alt=""/></div>
<map name="classlibdap_1_1Constructor_a6ec34211fae83a2a39a32d8c002bc185_cgraph" id="classlibdap_1_1Constructor_a6ec34211fae83a2a39a32d8c002bc185_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1AttrTable.html#a7a526505d174c7a2f33e6b57761f8bc4" title="Add an attribute to the table." alt="" coords="537,107,860,133"/><area shape="rect" id="node5" href="classlibdap_1_1AttrTable.html#a689563c3beb8e6f571387c5105821f27" title="Get the type name of an attribute within this attribute table." alt="" coords="1004,157,1295,184"/><area shape="rect" id="node18" href="classlibdap_1_1AttrTable.html#a03f3a1197f9529d4c0328830c765cfe1" title="Add a container to the attribute table." alt="" coords="513,309,884,336"/><area shape="rect" id="node22" href="classlibdap_1_1AttrTable.html#a8881bb7044577dae3098f4a1d8bf4f2f" title="libdap::AttrTable::attr_begin" alt="" coords="2261,347,2573,373"/><area shape="rect" id="node24" href="classlibdap_1_1AttrTable.html#a543955729bad6b7a9d1d6b336596b1ba" title="libdap::AttrTable::attr_end" alt="" coords="2272,448,2563,475"/><area shape="rect" id="node26" href="classlibdap_1_1BaseType.html#a1fcd9537c67e3bf88964b2656ff5bac1" title="libdap::BaseType::get_attr_table" alt="" coords="528,587,869,613"/><area shape="rect" id="node28" href="classlibdap_1_1AttrTable.html#a4010172de5c41cd88f2422d5e1975522" title="Get an attribute container." alt="" coords="523,435,875,461"/><area shape="rect" id="node43" href="classlibdap_1_1AttrTable.html#a4c79bee34f6d3fb0947776adaa52aeee" title="Get the name of this attribute table." alt="" coords="1887,485,2177,512"/><area shape="rect" id="node47" href="classlibdap_1_1AttrTable.html#aefcd82370930ba94a288f135d9417a93" title="Get the type of an attribute." alt="" coords="979,208,1320,235"/><area shape="rect" id="node50" href="classlibdap_1_1AttrTable.html#a7352d886789e9e38d530fc44c6cbef30" title="Get a vector&#45;valued attribute." alt="" coords="968,259,1331,285"/><area shape="rect" id="node55" href="classlibdap_1_1AttrTable.html#a2906fea416b22dcdf96df9eb5e21258a" title="libdap::AttrTable::is_global_attribute" alt="" coords="497,637,900,664"/><area shape="rect" id="node57" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="577,688,820,715"/><area shape="rect" id="node59" href="classlibdap_1_1AttrTable.html#aadba23c830a02aa19c24c2a6f442dfd2" title="libdap::AttrTable::set_is_global_attribute" alt="" coords="477,739,920,765"/><area shape="rect" id="node61" href="classlibdap_1_1BaseType.html#a4dc4fac1bb6083f6db645f37bfd59b85" title="Returns a pointer to a member of a constructor class." alt="" coords="583,789,815,816"/><area shape="rect" id="node63" href="classlibdap_1_1Constructor.html#adeafe3d6c82d07b456a598a7b446c2c6" title="libdap::Constructor::var_begin" alt="" coords="537,840,860,867"/><area shape="rect" id="node65" href="classlibdap_1_1Constructor.html#a936b38c7c35ffb4fe17c5b8e85bdaaa2" title="libdap::Constructor::var_end" alt="" coords="548,891,849,917"/><area shape="rect" id="node7" href="classlibdap_1_1AttrTable.html#ae7824f413ad036d91df0ef62cac14351" title="libdap::AttrTable::simple_find" alt="" coords="1429,183,1752,209"/><area shape="rect" id="node10" href="namespacelibdap.html#a6d4117c49771ce2665142ff0dd9c976b" title="libdap::String_to_AttrType" alt="" coords="1008,5,1291,32"/><area shape="rect" id="node14" href="namespacelibdap.html#a376f9593431111a80ef78c98b8f4a0e2" title="libdap::www2id" alt="" coords="1068,56,1231,83"/><area shape="rect" id="node12" href="namespacelibdap.html#a7edce266869606fc7bb46124f8d63809" title="libdap::downcase" alt="" coords="1500,5,1681,32"/><area shape="rect" id="node16" href="namespacelibdap.html#a9a3ca0a741a80db615410ac7dc3417f0" title="libdap::unhexstring" alt="" coords="1485,56,1696,83"/><area shape="rect" id="node20" href="classlibdap_1_1AttrTable.html#a09533d67357ad866f5e499f9eff2253e" title="libdap::AttrTable::AttrTable" alt="" coords="999,309,1300,336"/><area shape="rect" id="node30" href="classlibdap_1_1AttrTable.html#ae403d070910c829f74a59fbf4648588f" title="Find an attribute with a given name." alt="" coords="973,435,1325,461"/><area shape="rect" id="node32" href="classlibdap_1_1AttrTable.html#a33653c34e856e2e5fc0578240eb7a959" title="libdap::AttrTable::find" alt="" coords="1465,384,1716,411"/><area shape="rect" id="node41" href="classlibdap_1_1AttrTable.html#a6602967438b96bf1ba08e2b8195b9238" title="libdap::AttrTable::simple_find_container" alt="" coords="1380,435,1801,461"/><area shape="rect" id="node35" href="classlibdap_1_1AttrTable.html#aefdc93c9514013ebd644488cd8365924" title="libdap::AttrTable::recurrsive_find" alt="" coords="1851,384,2213,411"/><area shape="rect" id="node45" href="classlibdap_1_1AttrTable.html#a2ca5cf1e2aa163259b00affe49547a0d" title="libdap::AttrTable::is_container" alt="" coords="1867,435,2197,461"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abc6b2d7099f00bb5f324ec129bff2a17"></a><!-- doxytag: member="libdap::Structure::type" ref="abc6b2d7099f00bb5f324ec129bff2a17" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6">Type</a> libdap::BaseType::type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00238">238</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>Referenced by <a class="el" href="Array_8cc_source.html#l00176">libdap::Array::add_var()</a>, <a class="el" href="Vector_8cc_source.html#l00935">libdap::Vector::buf2val()</a>, <a class="el" href="Grid_8cc_source.html#l01022">libdap::Grid::check_semantics()</a>, <a class="el" href="Vector_8cc_source.html#l00724">libdap::Vector::deserialize()</a>, <a class="el" href="Vector_8cc_source.html#l01591">libdap::Vector::dump()</a>, <a class="el" href="ce__functions_8cc_source.html#l00239">libdap::extract_double_array()</a>, <a class="el" href="ce__functions_8cc_source.html#l00284">libdap::extract_double_value()</a>, <a class="el" href="ce__functions_8cc_source.html#l00117">libdap::extract_string_argument()</a>, <a class="el" href="ce__functions_8cc_source.html#l00785">libdap::function_linear_scale()</a>, <a class="el" href="XDRStreamUnMarshaller_8cc_source.html#l00295">libdap::XDRStreamUnMarshaller::get_vector()</a>, <a class="el" href="XDRFileUnMarshaller_8cc_source.html#l00179">libdap::XDRFileUnMarshaller::get_vector()</a>, <a class="el" href="Vector_8cc_source.html#l00570">libdap::Vector::intern_data()</a>, <a class="el" href="Sequence_8cc_source.html#l01074">libdap::Sequence::intern_data_for_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l01024">libdap::Sequence::intern_data_parent_part_two()</a>, <a class="el" href="Vector_8cc_source.html#l00111">libdap::Vector::is_cardinal_type()</a>, <a class="el" href="BaseType_8cc_source.html#l00356">libdap::BaseType::is_constructor_type()</a>, <a class="el" href="BaseType_8cc_source.html#l00295">libdap::BaseType::is_simple_type()</a>, <a class="el" href="BaseType_8cc_source.html#l00324">libdap::BaseType::is_vector_type()</a>, <a class="el" href="UInt32_8cc_source.html#l00222">libdap::UInt32::ops()</a>, <a class="el" href="UInt16_8cc_source.html#l00220">libdap::UInt16::ops()</a>, <a class="el" href="Str_8cc_source.html#l00265">libdap::Str::ops()</a>, <a class="el" href="Int32_8cc_source.html#l00229">libdap::Int32::ops()</a>, <a class="el" href="Int16_8cc_source.html#l00218">libdap::Int16::ops()</a>, <a class="el" href="Float64_8cc_source.html#l00238">libdap::Float64::ops()</a>, <a class="el" href="Float32_8cc_source.html#l00237">libdap::Float32::ops()</a>, <a class="el" href="Byte_8cc_source.html#l00237">libdap::Byte::ops()</a>, <a class="el" href="Sequence_8cc_source.html#l01330">libdap::Sequence::print_one_row()</a>, <a class="el" href="XDRStreamMarshaller_8cc_source.html#l00332">libdap::XDRStreamMarshaller::put_vector()</a>, <a class="el" href="XDRFileMarshaller_8cc_source.html#l00184">libdap::XDRFileMarshaller::put_vector()</a>, <a class="el" href="Vector_8cc_source.html#l01084">libdap::Vector::reserve_value_capacity()</a>, <a class="el" href="Vector_8cc_source.html#l00636">libdap::Vector::serialize()</a>, <a class="el" href="Sequence_8cc_source.html#l00841">libdap::Sequence::serialize_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l00809">libdap::Sequence::serialize_parent_part_two()</a>, <a class="el" href="ce__functions_8cc_source.html#l00166">libdap::set_array_using_double()</a>, <a class="el" href="Vector_8cc_source.html#l01272">libdap::Vector::set_value()</a>, <a class="el" href="Vector_8cc_source.html#l01173">libdap::Vector::set_value_slice_from_row_major_vector()</a>, <a class="el" href="Vector_8cc_source.html#l01007">libdap::Vector::set_vec()</a>, <a class="el" href="Vector_8cc_source.html#l00848">libdap::Vector::val2buf()</a>, <a class="el" href="Vector_8cc_source.html#l01457">libdap::Vector::value()</a>, and <a class="el" href="Vector_8cc_source.html#l00454">libdap::Vector::var()</a>.</p>

</div>
</div>
<a class="anchor" id="ac4461c9e287b167871acade5e5472116"></a><!-- doxytag: member="libdap::Structure::type_name" ref="ac4461c9e287b167871acade5e5472116" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::BaseType::type_name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="BaseType_8cc_source.html#l00252">252</a> of file <a class="el" href="BaseType_8cc_source.html">BaseType.cc</a>.</p>

<p>References <a class="el" href="BaseType_8h_source.html#l00142">libdap::dods_array_c</a>, <a class="el" href="BaseType_8h_source.html#l00133">libdap::dods_byte_c</a>, <a class="el" href="BaseType_8h_source.html#l00138">libdap::dods_float32_c</a>, <a class="el" href="BaseType_8h_source.html#l00139">libdap::dods_float64_c</a>, <a class="el" href="BaseType_8h_source.html#l00145">libdap::dods_grid_c</a>, <a class="el" href="BaseType_8h_source.html#l00134">libdap::dods_int16_c</a>, <a class="el" href="BaseType_8h_source.html#l00136">libdap::dods_int32_c</a>, <a class="el" href="BaseType_8h_source.html#l00132">libdap::dods_null_c</a>, <a class="el" href="BaseType_8h_source.html#l00144">libdap::dods_sequence_c</a>, <a class="el" href="BaseType_8h_source.html#l00140">libdap::dods_str_c</a>, <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_structure_c</a>, <a class="el" href="BaseType_8h_source.html#l00135">libdap::dods_uint16_c</a>, <a class="el" href="BaseType_8h_source.html#l00137">libdap::dods_uint32_c</a>, and <a class="el" href="BaseType_8h_source.html#l00141">libdap::dods_url_c</a>.</p>

<p>Referenced by <a class="el" href="Vector_8cc_source.html#l01543">libdap::Vector::add_var()</a>, <a class="el" href="Structure_8cc_source.html#l00492">check_semantics()</a>, <a class="el" href="Sequence_8cc_source.html#l01443">libdap::Sequence::check_semantics()</a>, <a class="el" href="Vector_8cc_source.html#l00724">libdap::Vector::deserialize()</a>, <a class="el" href="BaseType_8cc_source.html#l00186">libdap::BaseType::dump()</a>, <a class="el" href="DDS_8cc_source.html#l01254">libdap::DDS::mark()</a>, <a class="el" href="Grid_8cc_source.html#l00776">libdap::Grid::print_decl()</a>, <a class="el" href="Constructor_8cc_source.html#l00361">libdap::Constructor::print_decl()</a>, <a class="el" href="BaseType_8cc_source.html#l00919">libdap::BaseType::print_decl()</a>, <a class="el" href="Constructor_8cc_source.html#l00448">libdap::Constructor::print_xml()</a>, <a class="el" href="BaseType_8cc_source.html#l00976">libdap::BaseType::print_xml()</a>, and <a class="el" href="BaseType_8cc_source.html#l00161">libdap::BaseType::toString()</a>.</p>

</div>
</div>
<a class="anchor" id="a01d94322cbae3e64becac5dcfd90936c"></a><!-- doxytag: member="libdap::Structure::val2buf" ref="a01d94322cbae3e64becac5dcfd90936c" args="(void *val, bool reuse=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int libdap::Structure::val2buf </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>reuse</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method cannot be used to change values of a <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> since the values of a <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a> type must be set using methods in <a class="el" href="classlibdap_1_1Constructor.html">Constructor</a>. See the <a class="el" href="classlibdap_1_1Constructor.html#adeafe3d6c82d07b456a598a7b446c2c6">Constructor::var_begin()</a> and related methods.</p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000032">Todo:</a></b></dt><dd>Make this throw an exception </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the size of the structure. </dd></dl>

<p>Implements <a class="el" href="classlibdap_1_1BaseType.html#ac360679317a411d7812ca235a1528281">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00344">344</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Structure_8cc_source.html#l00091">Structure()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a01d94322cbae3e64becac5dcfd90936c_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a01d94322cbae3e64becac5dcfd90936c_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a01d94322cbae3e64becac5dcfd90936c_cgraph" id="classlibdap_1_1Structure_a01d94322cbae3e64becac5dcfd90936c_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1Structure.html#a4187f25219b1fc7ec93e761795047e0a" title="libdap::Structure::Structure" alt="" coords="337,5,639,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="acfeeb97a574cedb90fd8ec2cadefbd0c"></a><!-- doxytag: member="libdap::Structure::var" ref="acfeeb97a574cedb90fd8ec2cadefbd0c" args="(const string &amp;n, btp_stack &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * libdap::Structure::var </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000023">Deprecated:</a></b></dt><dd>See comment in <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#adecfc442b5927c79933c7f71cfe03fd2">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00371">371</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="BaseType_8cc_source.html#l00210">libdap::BaseType::name()</a>, and <a class="el" href="escaping_8cc_source.html#l00214">libdap::www2id()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_acfeeb97a574cedb90fd8ec2cadefbd0c_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_acfeeb97a574cedb90fd8ec2cadefbd0c_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_acfeeb97a574cedb90fd8ec2cadefbd0c_cgraph" id="classlibdap_1_1Structure_acfeeb97a574cedb90fd8ec2cadefbd0c_cgraph">
<area shape="rect" id="node3" href="classlibdap_1_1BaseType.html#a0a0c6b5d57813607dc06255b8e0b9bdc" title="Returns the name of the class instance." alt="" coords="296,5,539,32"/><area shape="rect" id="node5" href="namespacelibdap.html#a376f9593431111a80ef78c98b8f4a0e2" title="libdap::www2id" alt="" coords="336,56,499,83"/><area shape="rect" id="node7" href="namespacelibdap.html#a9a3ca0a741a80db615410ac7dc3417f0" title="libdap::unhexstring" alt="" coords="588,56,799,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a049967f250fca1b3949bd2a1c8649890"></a><!-- doxytag: member="libdap::Structure::var" ref="a049967f250fca1b3949bd2a1c8649890" args="(const string &amp;name, bool exact_match=true, btp_stack *s=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> * libdap::Structure::var </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>exact_match</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a> *&#160;</td>
          <td class="paramname"><em>s</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a pointer to the contained variable in a composite class. The composite classes are those made up of aggregated simple data types. <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a>, <a class="el" href="classlibdap_1_1Grid.html" title="Holds the Grid data type.">Grid</a>, and <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> are composite types, while Int and Float are simple types. This function is only used by composite classes. The <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> implementation always returns null.</p>
<p>Several of the subclasses provide alternate access methods that make sense for that particular data type. For example, the <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a> class defines a <code>*var(int i)</code> method that returns the ith entry in the <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a> data, and the <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> provides a <code>*var(Vars_iter)</code> function using a pseudo-index to access the different members of the structure.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the class member. Defaults to "" </td></tr>
    <tr><td class="paramname">exact_match</td><td>True if only interested in variables whose full names match <em>n</em> exactly. If false, returns the first variable whose name matches <em>name</em>. For example, if <em>name</em> is <code>x</code> and <code>point.x</code> is a variable, then var("x", false) would return a <a class="el" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> pointer to <code>point.x</code>. If <em>exact_match</em> was <code>true</code> then <em>name</em> would need to be <code>"point.x"</code> for var to return that pointer. This feature simplifies constraint expressions for datasets which have complex, nested, constructor variables. Defaults to true. </td></tr>
    <tr><td class="paramname">s</td><td>Record the path to <em>name</em>. Defaults to null, in which case it is not used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the member named in the <em>n</em> argument. If no name is given, the function returns the first (only) variable. For example, an <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a> has only one variable, while a <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a> can have many. </dd></dl>

<p>Reimplemented from <a class="el" href="classlibdap_1_1BaseType.html#a4dc4fac1bb6083f6db645f37bfd59b85">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00359">359</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="escaping_8cc_source.html#l00214">libdap::www2id()</a>.</p>

<p>Referenced by <a class="el" href="DDS_8cc_source.html#l00683">libdap::DDS::var()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classlibdap_1_1Structure_a049967f250fca1b3949bd2a1c8649890_cgraph.png" border="0" usemap="#classlibdap_1_1Structure_a049967f250fca1b3949bd2a1c8649890_cgraph" alt=""/></div>
<map name="classlibdap_1_1Structure_a049967f250fca1b3949bd2a1c8649890_cgraph" id="classlibdap_1_1Structure_a049967f250fca1b3949bd2a1c8649890_cgraph">
<area shape="rect" id="node3" href="namespacelibdap.html#a376f9593431111a80ef78c98b8f4a0e2" title="libdap::www2id" alt="" coords="296,5,459,32"/><area shape="rect" id="node5" href="namespacelibdap.html#a9a3ca0a741a80db615410ac7dc3417f0" title="libdap::unhexstring" alt="" coords="508,5,719,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="adeafe3d6c82d07b456a598a7b446c2c6"></a><!-- doxytag: member="libdap::Structure::var_begin" ref="adeafe3d6c82d07b456a598a7b446c2c6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">Constructor::Vars_iter</a> libdap::Constructor::var_begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns an iterator referencing the first structure element. </p>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00101">101</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

<p>Referenced by <a class="el" href="DDXParserSAX2_8cc_source.html#l00540">libdap::DDXParser::ddx_end_document()</a>, <a class="el" href="Sequence_8cc_source.html#l01074">libdap::Sequence::intern_data_for_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l00959">libdap::Sequence::intern_data_parent_part_one()</a>, <a class="el" href="Sequence_8cc_source.html#l01024">libdap::Sequence::intern_data_parent_part_two()</a>, <a class="el" href="Constructor_8cc_source.html#l00448">libdap::Constructor::print_xml()</a>, <a class="el" href="Structure_8cc_source.html#l00205">set_leaf_sequence()</a>, and <a class="el" href="Constructor_8cc_source.html#l00260">libdap::Constructor::transfer_attributes()</a>.</p>

</div>
</div>
<a class="anchor" id="a936b38c7c35ffb4fe17c5b8e85bdaaa2"></a><!-- doxytag: member="libdap::Structure::var_end" ref="a936b38c7c35ffb4fe17c5b8e85bdaaa2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1Constructor.html#a2b73df890f61ebb628359c8fd12839b0">Constructor::Vars_iter</a> libdap::Constructor::var_end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns an iterator referencing the end of the list of structure elements. Does not reference the last structure element. </p>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00295">295</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

<p>Referenced by <a class="el" href="DDXParserSAX2_8cc_source.html#l00540">libdap::DDXParser::ddx_end_document()</a>, <a class="el" href="Sequence_8cc_source.html#l01074">libdap::Sequence::intern_data_for_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l00959">libdap::Sequence::intern_data_parent_part_one()</a>, <a class="el" href="Sequence_8cc_source.html#l01024">libdap::Sequence::intern_data_parent_part_two()</a>, <a class="el" href="Constructor_8cc_source.html#l00448">libdap::Constructor::print_xml()</a>, <a class="el" href="Structure_8cc_source.html#l00205">set_leaf_sequence()</a>, and <a class="el" href="Constructor_8cc_source.html#l00260">libdap::Constructor::transfer_attributes()</a>.</p>

</div>
</div>
<a class="anchor" id="aa025cf546ca35250454653c1ec684d91"></a><!-- doxytag: member="libdap::Structure::var_rbegin" ref="aa025cf546ca35250454653c1ec684d91" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1Constructor.html#a6122400e3f40d457751fb0372a650d03">Constructor::Vars_riter</a> libdap::Constructor::var_rbegin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a reverse iterator that references the last element. </p>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00302">302</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="aede7cf5889e101db1ea8f22c3a84a5d3"></a><!-- doxytag: member="libdap::Structure::var_rend" ref="aede7cf5889e101db1ea8f22c3a84a5d3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1Constructor.html#a6122400e3f40d457751fb0372a650d03">Constructor::Vars_riter</a> libdap::Constructor::var_rend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a reverse iterator that references a point 'before' the first element. </p>

<p>Definition at line <a class="el" href="Constructor_8cc_source.html#l00310">310</a> of file <a class="el" href="Constructor_8cc_source.html">Constructor.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<a class="anchor" id="a913b94ec0a92ceb3dedb93c8b21a9845"></a><!-- doxytag: member="libdap::Structure::width" ref="a913b94ec0a92ceb3dedb93c8b21a9845" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int libdap::Structure::width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the number of bytes that are required to hold the instance's value. In the case of simple types such as <a class="el" href="classlibdap_1_1Int32.html" title="Holds a 32-bit signed integer.">Int32</a>, this is the size of one <a class="el" href="classlibdap_1_1Int32.html" title="Holds a 32-bit signed integer.">Int32</a> (four bytes). For a String or <a class="el" href="classlibdap_1_1Url.html" title="Holds an Internet address (URL).">Url</a> type, <code><a class="el" href="classlibdap_1_1Structure.html#a913b94ec0a92ceb3dedb93c8b21a9845" title="Returns the size of the class instance data.">width()</a></code> returns the number of bytes needed for a <code>String *</code> variable, not the bytes needed for all the characters, since that value cannot be determined from type information alone. For <a class="el" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type.">Structure</a>, and other constructor types size() returns the number of bytes needed to store pointers to the C++ objects. </p>

<p>Implements <a class="el" href="classlibdap_1_1BaseType.html#a3058467f1e80a41f3cf1068ec9ec68ed">libdap::BaseType</a>.</p>

<p>Definition at line <a class="el" href="Structure_8cc_source.html#l00274">274</a> of file <a class="el" href="Structure_8cc_source.html">Structure.cc</a>.</p>

<p>References <a class="el" href="Constructor_8h_source.html#l00048">libdap::Constructor::_vars</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ac9830d0abf882c915fe714e127b48b55"></a><!-- doxytag: member="libdap::Structure::_vars" ref="ac9830d0abf882c915fe714e127b48b55" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classlibdap_1_1BaseType.html">BaseType</a> *&gt; <a class="el" href="classlibdap_1_1Constructor.html#ac9830d0abf882c915fe714e127b48b55">libdap::Constructor::_vars</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Constructor_8h_source.html#l00048">48</a> of file <a class="el" href="Constructor_8h_source.html">Constructor.h</a>.</p>

<p>Referenced by <a class="el" href="Structure_8cc_source.html#l00065">_duplicate()</a>, <a class="el" href="Grid_8cc_source.html#l00468">libdap::Grid::add_map()</a>, <a class="el" href="Structure_8cc_source.html#l00220">add_var()</a>, <a class="el" href="Sequence_8cc_source.html#l00340">libdap::Sequence::add_var()</a>, <a class="el" href="Grid_8cc_source.html#l00346">libdap::Grid::add_var()</a>, <a class="el" href="Structure_8cc_source.html#l00492">check_semantics()</a>, <a class="el" href="Sequence_8cc_source.html#l01443">libdap::Sequence::check_semantics()</a>, <a class="el" href="Structure_8cc_source.html#l00242">del_var()</a>, <a class="el" href="Structure_8cc_source.html#l00325">deserialize()</a>, <a class="el" href="Sequence_8cc_source.html#l01153">libdap::Sequence::deserialize()</a>, <a class="el" href="Constructor_8cc_source.html#l00502">libdap::Constructor::dump()</a>, <a class="el" href="Structure_8cc_source.html#l00141">element_count()</a>, <a class="el" href="Sequence_8cc_source.html#l00258">libdap::Sequence::element_count()</a>, <a class="el" href="Constructor_8cc_source.html#l00328">libdap::Constructor::get_var_index()</a>, <a class="el" href="Constructor_8cc_source.html#l00319">libdap::Constructor::get_vars_iter()</a>, <a class="el" href="Structure_8cc_source.html#l00286">intern_data()</a>, <a class="el" href="Structure_8cc_source.html#l00155">is_linear()</a>, <a class="el" href="Sequence_8cc_source.html#l00272">libdap::Sequence::is_linear()</a>, <a class="el" href="Grid_8cc_source.html#l00500">libdap::Grid::prepend_map()</a>, <a class="el" href="Constructor_8cc_source.html#l00361">libdap::Constructor::print_decl()</a>, <a class="el" href="Structure_8cc_source.html#l00472">print_val()</a>, <a class="el" href="Structure_8cc_source.html#l00260">read()</a>, <a class="el" href="Structure_8cc_source.html#l00300">serialize()</a>, <a class="el" href="Sequence_8cc_source.html#l00841">libdap::Sequence::serialize_leaf()</a>, <a class="el" href="Sequence_8cc_source.html#l00743">libdap::Sequence::serialize_parent_part_one()</a>, <a class="el" href="Sequence_8cc_source.html#l00809">libdap::Sequence::serialize_parent_part_two()</a>, <a class="el" href="Structure_8cc_source.html#l00194">set_in_selection()</a>, <a class="el" href="Sequence_8cc_source.html#l00321">libdap::Sequence::set_in_selection()</a>, <a class="el" href="Sequence_8cc_source.html#l01498">libdap::Sequence::set_leaf_sequence()</a>, <a class="el" href="Structure_8cc_source.html#l00179">set_read_p()</a>, <a class="el" href="Sequence_8cc_source.html#l00311">libdap::Sequence::set_read_p()</a>, <a class="el" href="Structure_8cc_source.html#l00169">set_send_p()</a>, <a class="el" href="Sequence_8cc_source.html#l00301">libdap::Sequence::set_send_p()</a>, <a class="el" href="Sequence_8cc_source.html#l00242">libdap::Sequence::toString()</a>, <a class="el" href="Constructor_8cc_source.html#l00101">libdap::Constructor::var_begin()</a>, <a class="el" href="Constructor_8cc_source.html#l00295">libdap::Constructor::var_end()</a>, <a class="el" href="Constructor_8cc_source.html#l00302">libdap::Constructor::var_rbegin()</a>, <a class="el" href="Constructor_8cc_source.html#l00310">libdap::Constructor::var_rend()</a>, <a class="el" href="Structure_8cc_source.html#l00274">width()</a>, <a class="el" href="Sequence_8cc_source.html#l00502">libdap::Sequence::width()</a>, <a class="el" href="Sequence_8cc_source.html#l00216">libdap::Sequence::~Sequence()</a>, and <a class="el" href="Structure_8cc_source.html#l00113">~Structure()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Structure_8h_source.html">Structure.h</a></li>
<li><a class="el" href="Structure_8cc_source.html">Structure.cc</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacelibdap.html">libdap</a>      </li>
      <li class="navelem"><a class="el" href="classlibdap_1_1Structure.html">Structure</a>      </li>
      <li class="footer">Generated on Tue Feb 8 2011 for libdap++ by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>

</body>
</html>