Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libdap++: libdap::DapObj Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacelibdap.html">libdap</a>::<a class="el" href="classlibdap_1_1DapObj.html">DapObj</a>
  </div>
</div>
<div class="contents">
<h1>libdap::DapObj Class Reference</h1><!-- doxytag: class="libdap::DapObj" --><a class="el" href="namespacelibdap.html">libdap</a> base object for common functionality of <a class="el" href="namespacelibdap.html">libdap</a> objects  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DapObj_8h_source.html">DapObj.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for libdap::DapObj:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1DapObj__inherit__graph.png" border="0" usemap="#libdap_1_1DapObj__inherit__map" alt="Inheritance graph"></center>
<map name="libdap_1_1DapObj__inherit__map">
<area shape="rect" id="node3" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset." alt="" coords="1129,228,1401,1332"><area shape="rect" id="node5" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types." alt="" coords="1425,272,1676,1288"><area shape="rect" id="node37" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset." alt="" coords="2091,558,2392,1002"><area shape="rect" id="node39" href="classlibdap_1_1DDS.html" title="{libdap::DDS\n|&#45; _container_name\l&#45; _filename\l&#45; d_attr\l&#45; d_client_dap_major\l&#45; d_client_dap_minor\l&#45; d_container\l&#45; d_dap_major\l&#45; d_dap_minor\l&#45; d_factory\l&#45; d_request_xml_base\l&#45; d_timeout\l&#45; name\l&#45; vars\l|+ add_var()\l+ check_semantics()\l+ DDS()\l+ DDS()\l+ del_var()\l+ del_var()\l+ del_var()\l+ dump()\l+ get_attr_table()\l+ get_client_dap_major()\l+ get_client_dap_minor()\l+ get_dap_major()\l+ get_dap_minor()\l+ get_factory()\l+ get_request_xml_base()\l+ get_timeout()\l+ get_var_index()\l+ get_vars_iter()\l+ mark()\l+ mark_all()\l+ num_var()\l+ operator=()\l+ parse()\l+ parse()\l+ parse()\l+ print()\l+ print()\l+ print_constrained()\l+ print_constrained()\l+ print_xml()\l+ print_xml()\l+ set_client_dap_major()\l+ set_client_dap_minor()\l+ set_client_dap_version()\l+ set_dap_major()\l+ set_dap_minor()\l+ set_dap_version()\l+ set_factory()\l+ set_request_xml_base()\l+ set_timeout()\l+ tag_nested_sequences()\l+ timeout_off()\l+ timeout_on()\l+ transfer_attributes()\l+ var()\l+ var()\l+ var_begin()\l+ var_end()\l+ var_rbegin()\l+ var_rend()\l+ ~DDS()\l+ container()\l+ container_name()\l+ container_name()\l+ filename()\l+ filename()\l+ get_dataset_name()\l+ set_dataset_name()\l# duplicate()\l# exact_match()\l# find_matching_container()\l# leaf_match()\l&#45; find_hdf4_dimension_attribute_home()\l* container()\l* container_name()\l* container_name()\l* filename()\l* filename()\l* get_dataset_name()\l* set_dataset_name()\l}" alt="" coords="2416,147,2816,1413"><area shape="rect" id="node43" href="classlibdap_1_1Marshaller.html" title="abstract base class used to marshall/serialize dap data objects" alt="" coords="2847,646,3047,914"><area shape="rect" id="node49" href="classlibdap_1_1UnMarshaller.html" title="abstract base class used to unmarshall/deserialize dap data objects" alt="" coords="3263,646,3484,914"><area shape="rect" id="node7" href="classlibdap_1_1Byte.html" title="Holds a single byte." alt="" coords="59,1924,251,2236"><area shape="rect" id="node9" 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_decl()\l+ print_xml()\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# find_matching_container()\l&#45; Constructor()\l&#45; find_hdf4_dimension_attribute_home()\l}" alt="" coords="275,1887,675,2273"><area shape="rect" id="node17" href="classlibdap_1_1Float32.html" title="Holds a 32&#45;bit floating point value." alt="" coords="699,1924,891,2236"><area shape="rect" id="node19" href="classlibdap_1_1Float64.html" title="Holds a 64&#45;bit (double precision) floating point value." alt="" coords="915,1924,1107,2236"><area shape="rect" id="node21" href="classlibdap_1_1Int16.html" title="Holds a 16&#45;bit signed integer value." alt="" coords="1131,1924,1323,2236"><area shape="rect" id="node23" href="classlibdap_1_1Int32.html" title="Holds a 32&#45;bit signed integer." alt="" coords="1347,1924,1539,2236"><area shape="rect" id="node25" href="classlibdap_1_1Str.html" title="Holds character string data." alt="" coords="1563,1917,1755,2243"><area shape="rect" id="node29" href="classlibdap_1_1UInt16.html" title="Holds an unsigned 16&#45;bit integer." alt="" coords="1779,1924,1971,2236"><area shape="rect" id="node31" href="classlibdap_1_1UInt32.html" title="Holds a 32&#45;bit unsigned integer." alt="" coords="1995,1924,2187,2236"><area shape="rect" id="node33" href="classlibdap_1_1Vector.html" title="Holds a one&#45;dimensional collection of DAP2 data types." alt="" coords="2211,1462,2421,2698"><area shape="rect" id="node11" href="classlibdap_1_1Grid.html" title="Holds the Grid data type." alt="" coords="5,2945,285,3580"><area shape="rect" id="node13" href="classlibdap_1_1Sequence.html" title="Holds a sequence." alt="" coords="309,2747,640,3778"><area shape="rect" id="node15" href="classlibdap_1_1Structure.html" title="Holds a structure (aggregate) type." alt="" coords="664,3011,896,3514"><area shape="rect" id="node27" href="classlibdap_1_1Url.html" title="Holds an Internet address (URL)." alt="" coords="1563,3202,1755,3323"><area shape="rect" id="node35" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types." alt="" coords="2205,2975,2427,3551"><area shape="rect" id="node41" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS." alt="" coords="2445,1917,2787,2243"><area shape="rect" id="node45" href="classlibdap_1_1XDRFileMarshaller.html" title="marshaller that knows how to marshall/serialize dap data objects to a file using..." alt="" coords="2811,1909,3083,2251"><area shape="rect" id="node47" href="classlibdap_1_1XDRStreamMarshaller.html" title="marshaller that knows how to marshall/serialize dap data objects to a C++ iostream..." alt="" coords="3107,1895,3397,2265"><area shape="rect" id="node51" href="classlibdap_1_1XDRFileUnMarshaller.html" title="unmarshaller that knows how to unmarshall/deserialize dap objects using XDR from..." alt="" coords="3421,1909,3712,2251"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classlibdap_1_1DapObj-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1DapObj.html#20c50270e1a9e4526444f7f2c0c935c6">dump</a> (ostream &amp;strm) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dump the contents of this object to the specified ostream  <a href="#20c50270e1a9e4526444f7f2c0c935c6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1DapObj.html#18783d1c71c1ccec3d2d0c8ee995530b">~DapObj</a> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A base object for any <a class="el" href="namespacelibdap.html">libdap</a> objects to use. Provides simple methods for dumping the contents of the object. 
<p>Definition at line <a class="el" href="DapObj_8h_source.html#l00055">55</a> of file <a class="el" href="DapObj_8h_source.html">DapObj.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="18783d1c71c1ccec3d2d0c8ee995530b"></a><!-- doxytag: member="libdap::DapObj::~DapObj" ref="18783d1c71c1ccec3d2d0c8ee995530b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual libdap::DapObj::~DapObj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="DapObj_8h_source.html#l00058">58</a> of file <a class="el" href="DapObj_8h_source.html">DapObj.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="20c50270e1a9e4526444f7f2c0c935c6"></a><!-- doxytag: member="libdap::DapObj::dump" ref="20c50270e1a9e4526444f7f2c0c935c6" args="(ostream &amp;strm) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void libdap::DapObj::dump           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>strm</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...<p>
The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from <a class="el" href="classlibdap_1_1DapObj.html" title="libdap base object for common functionality of libdap objects">DapObj</a>. A user could do the following:<p>
Animal *a = new dog( "Sparky" ) ; cout &lt;&lt; a &lt;&lt; endl ;<p>
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>strm</em>&nbsp;</td><td>C++ i/o stream to dump the object to </td></tr>
  </table>
</dl>

<p>Implemented in <a class="el" href="classlibdap_1_1Array.html#292d09e6995cbe722e92973c9dc98c7f">libdap::Array</a>, <a class="el" href="classlibdap_1_1AttrTable.html#a83039e176ada59b990c68b6f3c2cdb7">libdap::AttrTable</a>, <a class="el" href="classlibdap_1_1BaseType.html#1ecd80ca994b950bd19b5f525fa4c7a2">libdap::BaseType</a>, <a class="el" href="classlibdap_1_1Byte.html#7a8dcba1239f9e3f3f40f622fc3ce859">libdap::Byte</a>, <a class="el" href="classlibdap_1_1Constructor.html#f411561f4f57c632b4d0a6f091f98ce4">libdap::Constructor</a>, <a class="el" href="classlibdap_1_1DAS.html#7acd3373e34b8776f08c2a8e49f6fa01">libdap::DAS</a>, <a class="el" href="classlibdap_1_1DataDDS.html#7241f19eb2d6949cd3dd5522fbd85966">libdap::DataDDS</a>, <a class="el" href="classlibdap_1_1DDS.html#ebc046a3091961db2802334ddc9280e0">libdap::DDS</a>, <a class="el" href="classlibdap_1_1Float32.html#8244fea2d040cdf884648cebd9892d46">libdap::Float32</a>, <a class="el" href="classlibdap_1_1Float64.html#86485dcfe248c7fe06d33d50887c686e">libdap::Float64</a>, <a class="el" href="classlibdap_1_1Grid.html#1ebdcb9b7a3844582c543acaf20cc07c">libdap::Grid</a>, <a class="el" href="classlibdap_1_1Int16.html#b58ac36f1a81dbfe6dcb99a58ed1140e">libdap::Int16</a>, <a class="el" href="classlibdap_1_1Int32.html#385daf822e17979dbcb9b4c219020556">libdap::Int32</a>, <a class="el" href="classlibdap_1_1Marshaller.html#7078da4e7473ec9cc1948a571b756586">libdap::Marshaller</a>, <a class="el" href="classlibdap_1_1Sequence.html#cd0961a9479c9224d7b08021bb4d0c36">libdap::Sequence</a>, <a class="el" href="classlibdap_1_1Str.html#d706e5b2b72822d8a5a30cf9c50ce570">libdap::Str</a>, <a class="el" href="classlibdap_1_1Structure.html#d7aacbec3d542618fa6ba4f42e3dde9a">libdap::Structure</a>, <a class="el" href="classlibdap_1_1UInt16.html#7a497c9339a553c94a55fda54bf5ea31">libdap::UInt16</a>, <a class="el" href="classlibdap_1_1UInt32.html#145819d11b103bb06e6f2b8aad03b070">libdap::UInt32</a>, <a class="el" href="classlibdap_1_1UnMarshaller.html#0774e299c794c20f5b712773f6dd749b">libdap::UnMarshaller</a>, <a class="el" href="classlibdap_1_1Vector.html#719617cae1386c64723abf845651ed4d">libdap::Vector</a>, <a class="el" href="classlibdap_1_1XDRFileMarshaller.html#dec06746eb6502d6166ad96069da0d94">libdap::XDRFileMarshaller</a>, <a class="el" href="classlibdap_1_1XDRFileUnMarshaller.html#fcd9de045c729321164cba5004746c29">libdap::XDRFileUnMarshaller</a>, and <a class="el" href="classlibdap_1_1XDRStreamMarshaller.html#b479a67018cfb49a9e3f46c7aad85302">libdap::XDRStreamMarshaller</a>.</p>

<p>Referenced by <a class="el" href="DapObj_8h_source.html#l00103">operator&lt;&lt;()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DapObj_8h_source.html">DapObj.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 19:59:15 2009 for libdap++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>