Sophie

Sophie

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

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++: DapObj.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>DapObj.h File Reference</h1><code>#include &lt;iostream&gt;</code><br>
<code>#include &quot;<a class="el" href="DapIndent_8h_source.html">DapIndent.h</a>&quot;</code><br>

<p>
<div class="dynheader">
Include dependency graph for DapObj.h:</div>
<div class="dynsection">
<p><center><img src="DapObj_8h__incl.png" border="0" usemap="#DapObj.h_map" alt=""></center>
<map name="DapObj.h_map">
<area shape="rect" id="node5" href="DapIndent_8h.html" title="DapIndent.h" alt="" coords="93,80,224,107"></map>
</div>

<p>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<p><center><img src="DapObj_8h__dep__incl.png" border="0" usemap="#DapObj.hdep_map" alt=""></center>
<map name="DapObj.hdep_map">
<area shape="rect" id="node3" href="AttrTable_8h.html" title="AttrTable.h" alt="" coords="2557,80,2688,107"><area shape="rect" id="node162" href="Marshaller_8h.html" title="Marshaller.h" alt="" coords="2213,80,2355,107"><area shape="rect" id="node167" href="UnMarshaller_8h.html" title="UnMarshaller.h" alt="" coords="1263,80,1423,107"><area shape="rect" id="node5" href="DAS_8h.html" title="DAS.h" alt="" coords="2772,229,2844,256"><area shape="rect" id="node46" href="AttrTable_8cc.html" title="AttrTable.cc" alt="" coords="2935,528,3076,555"><area shape="rect" id="node68" href="DAS_8cc.html" title="DAS.cc" alt="" coords="2583,304,2663,331"><area shape="rect" id="node73" href="BaseType_8h.html" title="BaseType.h" alt="" coords="1283,155,1403,181"><area shape="rect" id="node7" href="Connect_8h.html" title="Connect.h" alt="" coords="2644,528,2756,555"><area shape="rect" id="node13" href="DDS_8h.html" title="DDS.h" alt="" coords="2368,304,2440,331"><area shape="rect" id="node24" href="Ancillary_8h.html" title="Ancillary.h" alt="" coords="2903,379,3033,405"><area shape="rect" id="node26" href="DODSFilter_8cc.html" title="DODSFilter.cc" alt="" coords="2456,528,2608,555"><area shape="rect" id="node36" href="DODSFilter_8h.html" title="DODSFilter.h" alt="" coords="2737,379,2879,405"><area shape="rect" id="node53" href="DDS_8cc.html" title="DDS.cc" alt="" coords="2328,528,2408,555"><area shape="rect" id="node64" href="AISMerge_8h.html" title="AISMerge.h" alt="" coords="3209,453,3329,480"><area shape="rect" id="node9" href="AISConnect_8h.html" title="AISConnect.h" alt="" coords="2875,603,3016,629"><area shape="rect" id="node11" href="Connect_8cc.html" title="Connect.cc" alt="" coords="2085,603,2205,629"><area shape="rect" id="node16" href="Vector_8h.html" title="Vector.h" alt="" coords="1553,453,1655,480"><area shape="rect" id="node28" href="Byte_8cc.html" title="Byte.cc" alt="" coords="2064,528,2155,555"><area shape="rect" id="node30" href="cgi__util_8h.html" title="cgi_util.h" alt="" coords="2441,379,2561,405"><area shape="rect" id="node33" href="Clause_8cc.html" title="Clause.cc" alt="" coords="1391,379,1503,405"><area shape="rect" id="node39" href="RValue_8cc.html" title="RValue.cc" alt="" coords="2179,528,2291,555"><area shape="rect" id="node41" href="Structure_8h.html" title="Structure.h" alt="" coords="1932,379,2063,405"><area shape="rect" id="node18" href="XDRFileMarshaller_8cc.html" title="XDRFileMarshaller.cc" alt="" coords="1819,528,2040,555"><area shape="rect" id="node20" href="XDRFileUnMarshaller_8cc.html" title="XDRFileUnMarshaller.cc" alt="" coords="1291,528,1531,555"><area shape="rect" id="node22" href="XDRStreamMarshaller_8cc.html" title="XDRStreamMarshaller.cc" alt="" coords="1555,528,1795,555"><area shape="rect" id="node43" href="util_8h.html" title="util.h" alt="" coords="1449,453,1529,480"><area shape="rect" id="node48" href="BaseType_8cc.html" title="BaseType.cc" alt="" coords="1085,528,1216,555"><area shape="rect" id="node51" href="ce__functions_8cc.html" title="ce_functions.cc" alt="" coords="259,528,429,555"><area shape="rect" id="node55" href="DDXParser_8cc.html" title="DDXParser.cc" alt="" coords="536,528,677,555"><area shape="rect" id="node59" href="util_8cc.html" title="util.cc" alt="" coords="931,528,1021,555"><area shape="rect" id="node76" href="Str_8h.html" title="Str.h" alt="" coords="956,304,1028,331"><area shape="rect" id="node79" href="Url_8h.html" title="Url.h" alt="" coords="940,379,1012,405"><area shape="rect" id="node84" href="XDRUtils_8h.html" title="XDRUtils.h" alt="" coords="1737,304,1857,331"><area shape="rect" id="node86" href="Sequence_8h.html" title="Sequence.h" alt="" coords="796,379,916,405"><area shape="rect" id="node105" href="GeoConstraint_8h.html" title="GeoConstraint.h" alt="" coords="457,304,628,331"><area shape="rect" id="node107" href="ce__functions_8h.html" title="ce_functions.h" alt="" coords="5,453,165,480"><area shape="rect" id="node111" href="Byte_8h.html" title="Byte.h" alt="" coords="1633,304,1713,331"><area shape="rect" id="node117" href="Constructor_8h.html" title="Constructor.h" alt="" coords="1153,229,1305,256"><area shape="rect" id="node124" href="Float32_8h.html" title="Float32.h" alt="" coords="1847,229,1959,256"><area shape="rect" id="node127" href="Float64_8h.html" title="Float64.h" alt="" coords="2033,229,2145,256"><area shape="rect" id="node130" href="Grid_8h.html" title="Grid.h" alt="" coords="380,229,460,256"><area shape="rect" id="node135" href="GSEClause_8h.html" title="GSEClause.h" alt="" coords="151,304,281,331"><area shape="rect" id="node139" href="Int16_8h.html" title="Int16.h" alt="" coords="1519,304,1609,331"><area shape="rect" id="node143" href="Int32_8h.html" title="Int32.h" alt="" coords="1153,304,1244,331"><area shape="rect" id="node150" href="UInt16_8h.html" title="UInt16.h" alt="" coords="1268,304,1369,331"><area shape="rect" id="node154" href="UInt32_8h.html" title="UInt32.h" alt="" coords="1393,304,1495,331"><area shape="rect" id="node91" href="XDRFileUnMarshaller_8h.html" title="XDRFileUnMarshaller.h" alt="" coords="1191,453,1423,480"><area shape="rect" id="node95" href="XDRFileMarshaller_8h.html" title="XDRFileMarshaller.h" alt="" coords="1985,453,2196,480"><area shape="rect" id="node99" href="XDRStreamMarshaller_8h.html" title="XDRStreamMarshaller.h" alt="" coords="1729,453,1961,480"></map>
</div>

<p>
<a href="DapObj_8h_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1DapObj.html">libdap::DapObj</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><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="classlibdap_1_1DapObj.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html">libdap</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="DapObj_8h.html#a586f8e5f51e7d32cbe8d11ffbbdb146">A_DapObj_h</a>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">top level DAP object to house generic methods  <a href="#a586f8e5f51e7d32cbe8d11ffbbdb146"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="DapObj_8h.html#25fce99d103a711d5e4980a50f01abfd">operator&lt;&lt;</a> (ostream &amp;strm, const <a class="el" href="classlibdap_1_1DapObj.html">libdap::DapObj</a> &amp;obj)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dump the contents of the specified object to the specified ostream  <a href="#25fce99d103a711d5e4980a50f01abfd"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="a586f8e5f51e7d32cbe8d11ffbbdb146"></a><!-- doxytag: member="DapObj.h::A_DapObj_h" ref="a586f8e5f51e7d32cbe8d11ffbbdb146" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define A_DapObj_h&nbsp;&nbsp;&nbsp;1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="25fce99d103a711d5e4980a50f01abfd"></a><!-- doxytag: member="DapObj.h::operator&lt;&lt;" ref="25fce99d103a711d5e4980a50f01abfd" args="(ostream &amp;strm, const libdap::DapObj &amp;obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ostream&amp; operator&lt;&lt;           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>strm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1DapObj.html">libdap::DapObj</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>obj</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This inline method uses the dump method of the DapObj instance passed to it. This allows a user to dump the contents of an object instead of just getting the pointer value of the object.<p>
For example, the object Animal is derived from DapObj. 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>
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>The DapObj to dump </td></tr>
  </table>
</dl>

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

<p>References <a class="el" href="classlibdap_1_1DapObj.html#20c50270e1a9e4526444f7f2c0c935c6">libdap::DapObj::dump()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="DapObj_8h_25fce99d103a711d5e4980a50f01abfd_cgraph.png" border="0" usemap="#DapObj_8h_25fce99d103a711d5e4980a50f01abfd_cgraph_map" alt=""></center>
<map name="DapObj_8h_25fce99d103a711d5e4980a50f01abfd_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1DapObj.html#20c50270e1a9e4526444f7f2c0c935c6" title="dump the contents of this object to the specified ostream" alt="" coords="176,5,397,32"></map>
</div>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 19:57:33 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>