<!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++: DapObj.h File 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++ <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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File 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('DapObj_8h.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>DapObj.h File Reference</h1> </div> </div> <div class="contents"> <div class="textblock"><code>#include <iostream></code><br/> <code>#include "<a class="el" href="DapIndent_8h_source.html">DapIndent.h</a>"</code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for DapObj.h:</div> <div class="dyncontent"> <div class="center"><img src="DapObj_8h__incl.png" border="0" usemap="#DapObj_8h" alt=""/></div> <map name="DapObj_8h" id="DapObj_8h"> <area shape="rect" id="node5" href="DapIndent_8h.html" title="DapIndent.h" alt="" coords="93,80,224,107"/></map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="DapObj_8h__dep__incl.png" border="0" usemap="#DapObj_8hdep" alt=""/></div> <map name="DapObj_8hdep" id="DapObj_8hdep"> <area shape="rect" id="node3" href="AttrTable_8h.html" title="AttrTable.h" alt="" coords="3223,80,3353,107"/><area shape="rect" id="node11" href="DDS_8h.html" title="DDS.h" alt="" coords="1828,304,1900,331"/><area shape="rect" id="node154" href="BaseType_8h.html" title="BaseType.h" alt="" coords="1544,155,1667,181"/><area shape="rect" id="node232" href="Marshaller_8h.html" title="Marshaller.h" alt="" coords="2212,80,2353,107"/><area shape="rect" id="node237" href="UnMarshaller_8h.html" title="UnMarshaller.h" alt="" coords="2485,80,2648,107"/><area shape="rect" id="node5" href="DAS_8h.html" title="DAS.h" alt="" coords="3252,229,3324,256"/><area shape="rect" id="node150" href="DAS_8cc.html" title="DAS.cc" alt="" coords="3452,304,3535,331"/><area shape="rect" id="node166" href="AttrTable_8cc.html" title="AttrTable.cc" alt="" coords="3552,603,3693,629"/><area shape="rect" id="node7" href="Ancillary_8h.html" title="Ancillary.h" alt="" coords="3196,379,3327,405"/><area shape="rect" id="node9" href="DODSFilter_8cc.html" title="DODSFilter.cc" alt="" coords="2851,603,3003,629"/><area shape="rect" id="node123" href="DODSFilter_8h.html" title="DODSFilter.h" alt="" coords="2856,528,2997,555"/><area shape="rect" id="node129" href="Connect_8h.html" title="Connect.h" alt="" coords="2619,603,2731,629"/><area shape="rect" id="node14" href="Vector_8h.html" title="Vector.h" alt="" coords="2013,528,2115,555"/><area shape="rect" id="node16" href="ConstraintEvaluator_8h.html" title="ConstraintEvaluator.h" alt="" coords="1317,453,1549,480"/><area shape="rect" id="node25" href="Byte_8cc.html" title="Byte.cc" alt="" coords="1063,603,1153,629"/><area shape="rect" id="node34" href="Float32_8cc.html" title="Float32.cc" alt="" coords="865,603,988,629"/><area shape="rect" id="node36" href="Float64_8cc.html" title="Float64.cc" alt="" coords="1228,603,1351,629"/><area shape="rect" id="node38" href="Grid_8cc.html" title="Grid.cc" alt="" coords="2011,603,2101,629"/><area shape="rect" id="node56" href="Clause_8cc.html" title="Clause.cc" alt="" coords="423,603,535,629"/><area shape="rect" id="node105" href="Structure_8h.html" title="Structure.h" alt="" coords="1317,528,1448,555"/><area shape="rect" id="node126" href="DataDDS_8h.html" title="DataDDS.h" alt="" coords="1941,379,2053,405"/><area shape="rect" id="node133" href="mime__util_8h.html" title="mime_util.h" alt="" coords="2499,528,2629,555"/><area shape="rect" id="node139" href="DDXParserSAX2_8h.html" title="DDXParserSAX2.h" alt="" coords="2179,379,2349,405"/><area shape="rect" id="node147" href="RValue_8cc.html" title="RValue.cc" alt="" coords="3416,603,3528,629"/><area shape="rect" id="node19" href="Grid_8h.html" title="Grid.h" alt="" coords="1907,528,1989,555"/><area shape="rect" id="node40" href="Float64_8h.html" title="Float64.h" alt="" coords="1472,528,1584,555"/><area shape="rect" id="node48" href="ce__functions_8h.html" title="ce_functions.h" alt="" coords="3297,528,3460,555"/><area shape="rect" id="node51" href="Byte_8h.html" title="Byte.h" alt="" coords="701,528,784,555"/><area shape="rect" id="node61" href="Int16_8h.html" title="Int16.h" alt="" coords="245,528,336,555"/><area shape="rect" id="node70" href="UInt16_8h.html" title="UInt16.h" alt="" coords="808,528,909,555"/><area shape="rect" id="node79" href="Int32_8h.html" title="Int32.h" alt="" coords="360,528,451,555"/><area shape="rect" id="node88" href="UInt32_8h.html" title="UInt32.h" alt="" coords="525,528,627,555"/><area shape="rect" id="node97" href="Float32_8h.html" title="Float32.h" alt="" coords="1131,528,1243,555"/><area shape="rect" id="node113" href="Sequence_8h.html" title="Sequence.h" alt="" coords="1659,528,1781,555"/><area shape="rect" id="node21" href="GeoConstraint_8h.html" title="GeoConstraint.h" alt="" coords="2125,603,2296,629"/><area shape="rect" id="node23" href="BaseType_8cc.html" title="BaseType.cc" alt="" coords="711,603,841,629"/><area shape="rect" id="node27" href="ce__functions_8cc.html" title="ce_functions.cc" alt="" coords="1023,677,1193,704"/><area shape="rect" id="node29" href="GSEClause_8h.html" title="GSEClause.h" alt="" coords="2371,603,2501,629"/><area shape="rect" id="node32" href="DDXParserSAX2_8cc.html" title="DDXParserSAX2.cc" alt="" coords="1425,603,1607,629"/><area shape="rect" id="node121" href="util_8cc.html" title="util.cc" alt="" coords="1773,603,1864,629"/><area shape="rect" id="node157" href="Constructor_8h.html" title="Constructor.h" alt="" coords="1587,229,1739,256"/><area shape="rect" id="node164" href="util_8h.html" title="util.h" alt="" coords="2341,528,2424,555"/><area shape="rect" id="node190" href="Str_8h.html" title="Str.h" alt="" coords="917,453,989,480"/><area shape="rect" id="node193" href="Url_8h.html" title="Url.h" alt="" coords="933,528,1005,555"/><area shape="rect" id="node211" href="XDRUtils_8h.html" title="XDRUtils.h" alt="" coords="2332,229,2455,256"/><area shape="rect" id="node214" href="XDRStreamUnMarshaller_8h.html" title="XDRStreamUnMarshaller.h" alt="" coords="2668,304,2919,331"/><area shape="rect" id="node216" href="XDRStreamMarshaller_8h.html" title="XDRStreamMarshaller.h" alt="" coords="2412,304,2644,331"/><area shape="rect" id="node219" href="XDRFileMarshaller_8h.html" title="XDRFileMarshaller.h" alt="" coords="2177,304,2388,331"/><area shape="rect" id="node221" href="XDRFileUnMarshaller_8h.html" title="XDRFileUnMarshaller.h" alt="" coords="2943,304,3175,331"/></map> </div> </div> <p><a href="DapObj_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1DapObj.html">libdap::DapObj</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">libdap base object for common functionality of libdap objects <a href="classlibdap_1_1DapObj.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelibdap.html">libdap</a></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="DapObj_8h.html#a25fce99d103a711d5e4980a50f01abfd">operator<<</a> (ostream &strm, const <a class="el" href="classlibdap_1_1DapObj.html">libdap::DapObj</a> &obj)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">dump the contents of the specified object to the specified ostream <a href="#a25fce99d103a711d5e4980a50f01abfd"></a><br/></td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a25fce99d103a711d5e4980a50f01abfd"></a><!-- doxytag: member="DapObj.h::operator<<" ref="a25fce99d103a711d5e4980a50f01abfd" args="(ostream &strm, const libdap::DapObj &obj)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ostream& operator<< </td> <td>(</td> <td class="paramtype">ostream & </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> & </td> <td class="paramname"><em>obj</em> </td> </tr> <tr> <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> <p>For example, the object Animal is derived from DapObj. A user could do the following:</p> <p>Animal *a = new dog( "Sparky" ) ; cout << a << endl ;</p> <p>And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...</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 object to </td></tr> <tr><td class="paramname">obj</td><td>The DapObj to dump </td></tr> </table> </dd> </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#a20c50270e1a9e4526444f7f2c0c935c6">libdap::DapObj::dump()</a>.</p> <p><div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="DapObj_8h_a25fce99d103a711d5e4980a50f01abfd_cgraph.png" border="0" usemap="#DapObj_8h_a25fce99d103a711d5e4980a50f01abfd_cgraph" alt=""/></div> <map name="DapObj_8h_a25fce99d103a711d5e4980a50f01abfd_cgraph" id="DapObj_8h_a25fce99d103a711d5e4980a50f01abfd_cgraph"> <area shape="rect" id="node3" href="classlibdap_1_1DapObj.html#a20c50270e1a9e4526444f7f2c0c935c6" title="dump the contents of this object to the specified ostream" alt="" coords="177,5,399,32"/></map> </div> </p> </div> </div> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="DapObj_8h.html">DapObj.h</a> </li> <li class="footer">Generated on Tue Feb 8 2011 for libdap++ by  <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>