<!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::HTTPResponse 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++ <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 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class 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_1HTTPResponse.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>libdap::HTTPResponse Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="libdap::HTTPResponse" --><!-- doxytag: inherits="libdap::Response" --> <p><code>#include <<a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>></code></p> <div class="dynheader"> Inheritance diagram for libdap::HTTPResponse:</div> <div class="dyncontent"> <div class="center"><img src="classlibdap_1_1HTTPResponse__inherit__graph.png" border="0" usemap="#libdap_1_1HTTPResponse_inherit__map" alt="Inheritance graph"/></div> <map name="libdap_1_1HTTPResponse_inherit__map" id="libdap_1_1HTTPResponse_inherit__map"> <area shape="rect" id="node5" href="classlibdap_1_1HTTPCacheResponse.html" title="{libdap::HTTPCacheResponse\n|- d_cache\l|+ HTTPCacheResponse()\l+ ~HTTPCacheResponse()\l# HTTPCacheResponse()\l# HTTPCacheResponse()\l# operator=()\l* HTTPCacheResponse()\l* HTTPCacheResponse()\l* operator=()\l}" alt="" coords="5,918,277,1098"/><area shape="rect" id="node2" href="classlibdap_1_1Response.html" title="{libdap::Response\n|- d_protocol\l- d_status\l- d_stream\l- d_type\l- d_version\l|+ Response()\l+ ~Response()\l+ get_status()\l+ get_stream()\l+ get_type()\l+ get_version()\l+ get_protocol()\l+ set_status()\l+ set_stream()\l+ set_type()\l+ set_version()\l+ set_protocol()\l# Response()\l# Response()\l# operator=()\l* Response()\l* Response()\l* operator=()\l* get_status()\l* get_stream()\l* get_type()\l* get_version()\l* get_protocol()\l* set_status()\l* set_stream()\l* set_type()\l* set_version()\l* set_protocol()\l}" alt="" coords="51,6,232,538"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for libdap::HTTPResponse:</div> <div class="dyncontent"> <div class="center"><img src="classlibdap_1_1HTTPResponse__coll__graph.png" border="0" usemap="#libdap_1_1HTTPResponse_coll__map" alt="Collaboration graph"/></div> <map name="libdap_1_1HTTPResponse_coll__map" id="libdap_1_1HTTPResponse_coll__map"> <area shape="rect" id="node2" href="classlibdap_1_1Response.html" title="{libdap::Response\n|- d_protocol\l- d_status\l- d_stream\l- d_type\l- d_version\l|+ Response()\l+ ~Response()\l+ get_status()\l+ get_stream()\l+ get_type()\l+ get_version()\l+ get_protocol()\l+ set_status()\l+ set_stream()\l+ set_type()\l+ set_version()\l+ set_protocol()\l# Response()\l# Response()\l# operator=()\l* Response()\l* Response()\l* operator=()\l* get_status()\l* get_stream()\l* get_type()\l* get_version()\l* get_protocol()\l* set_status()\l* set_stream()\l* set_type()\l* set_version()\l* set_protocol()\l}" alt="" coords="215,161,396,693"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classlibdap_1_1HTTPResponse-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#a539a3c25e7452353e0256974c7a96bef">HTTPResponse</a> (FILE *s, int status, vector< string > *h, const string &temp_file)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#aaaa8595779b1608ad1727bce9a308341">~HTTPResponse</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual vector< string > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#a049aad48922776e0e3d66ab843a2a4db">get_headers</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#ac7b69e0c8359384f164c9e49148b70f3">get_file</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader">Mutators</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#a70873d16530fc42ac4a21eabc98f656f">set_headers</a> (vector< string > *h)</td></tr> <tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#a17cd38845849694a82f943c90919ea35">get_status</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual FILE * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#a5b4903bb627c5e6ccd4cd50712e1f0a1">get_stream</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacelibdap.html#ae7466ed8496f06654ec276eac907c06a">ObjectType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#ab69844a814ec4036a12336640b06e279">get_type</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#a654eedafce6ecb816324713150914fec">get_version</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#ae33bebc83bcfbd2bf958697e4516b2d7">get_protocol</a> () const </td></tr> <tr><td colspan="2"><div class="groupHeader">Mutators</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#a3de0ea86ac433904efdc0e4f4c86fa26">set_status</a> (int s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#a5cda40501a3ce7b1675b13a6e0858020">set_stream</a> (FILE *s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#a7a7807d0a45dd1f6111987f054956e24">set_type</a> (<a class="el" href="namespacelibdap.html#ae7466ed8496f06654ec276eac907c06a">ObjectType</a> o)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#a041d867c1ce5302a2033a8065c6d52a9">set_version</a> (const string &v)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#af077130cb39ac3c370776d490e81720b">set_protocol</a> (const string &p)</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Suppressed default methods</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#ad811b78884b86fe0028c9aa7fe91e63d">HTTPResponse</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#ab8145e01fcaa440bf7d3d8b0e1f010a9">HTTPResponse</a> (const <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> &rs)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#aab2833dfcf4fd409e6ecee928e9faef8">operator=</a> (const <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> &)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Encapsulate an http response. Instead of directly returning the FILE pointer from which a response is read and vector of headers, return an instance of this object.</p> <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000027">Todo:</a></b></dt><dd>Maybe refactor so that the header parsing code is hear and not in <a class="el" href="classlibdap_1_1HTTPConnect.html">HTTPConnect</a>? </dd></dl> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00059">59</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ad811b78884b86fe0028c9aa7fe91e63d"></a><!-- doxytag: member="libdap::HTTPResponse::HTTPResponse" ref="ad811b78884b86fe0028c9aa7fe91e63d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">libdap::HTTPResponse::HTTPResponse </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00068">68</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> </div> </div> <a class="anchor" id="ab8145e01fcaa440bf7d3d8b0e1f010a9"></a><!-- doxytag: member="libdap::HTTPResponse::HTTPResponse" ref="ab8145e01fcaa440bf7d3d8b0e1f010a9" args="(const HTTPResponse &rs)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">libdap::HTTPResponse::HTTPResponse </td> <td>(</td> <td class="paramtype">const <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> & </td> <td class="paramname"><em>rs</em></td><td>)</td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00070">70</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> </div> </div> <a class="anchor" id="a539a3c25e7452353e0256974c7a96bef"></a><!-- doxytag: member="libdap::HTTPResponse::HTTPResponse" ref="a539a3c25e7452353e0256974c7a96bef" args="(FILE *s, int status, vector< string > *h, const string &temp_file)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">libdap::HTTPResponse::HTTPResponse </td> <td>(</td> <td class="paramtype">FILE * </td> <td class="paramname"><em>s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>status</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">vector< string > * </td> <td class="paramname"><em>h</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"><em>temp_file</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Build an <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> object. An instance of this class is used to return an HTTP response (body and headers). If the response is really from a remote server, the current HTTP code stores the body in a temporary file and the headers in a vector<string> object. This class will delete those resources when its destructor is called. If the response does not have a temporary file that needs to be deleted (say it actually comes from a local cache or was read directly into memory), the temp file should be set to "".</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>FILE * to the response. Read the response body from this stream. </td></tr> <tr><td class="paramname">status</td><td>The HTTP response status code. </td></tr> <tr><td class="paramname">h</td><td><a class="el" href="classlibdap_1_1Response.html">Response</a> headers. This class will delete the pointer when the instance that contains it is destroyed. </td></tr> <tr><td class="paramname">temp_file</td><td>Name a the temporary file that holds the response body; this file is deleted when this instance is deleted. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00095">95</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> <p>References <a class="el" href="debug_8h_source.html#l00058">DBG</a>, and <a class="el" href="debug_8h_source.html#l00059">DBGN</a>.</p> </div> </div> <a class="anchor" id="aaaa8595779b1608ad1727bce9a308341"></a><!-- doxytag: member="libdap::HTTPResponse::~HTTPResponse" ref="aaaa8595779b1608ad1727bce9a308341" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual libdap::HTTPResponse::~HTTPResponse </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>When an instance is destroyed, free the temporary resources: the temp_file and headers are deleted. If the tmp file name is "", it is not deleted. </p> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00107">107</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> <p>References <a class="el" href="HTTPConnect_8cc_source.html#l00718">libdap::close_temp()</a>, <a class="el" href="debug_8h_source.html#l00058">DBG</a>, <a class="el" href="debug_8h_source.html#l00059">DBGN</a>, <a class="el" href="HTTPConnect_8cc_source.html#l00076">libdap::dods_keep_temps</a>, <a class="el" href="Response_8h_source.html#l00115">libdap::Response::get_stream()</a>, and <a class="el" href="Response_8h_source.html#l00139">libdap::Response::set_stream()</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_1HTTPResponse_aaaa8595779b1608ad1727bce9a308341_cgraph.png" border="0" usemap="#classlibdap_1_1HTTPResponse_aaaa8595779b1608ad1727bce9a308341_cgraph" alt=""/></div> <map name="classlibdap_1_1HTTPResponse_aaaa8595779b1608ad1727bce9a308341_cgraph" id="classlibdap_1_1HTTPResponse_aaaa8595779b1608ad1727bce9a308341_cgraph"> <area shape="rect" id="node3" href="namespacelibdap.html#a9696b8596e7a5858d494e8a8d7d082c1" title="libdap::close_temp" alt="" coords="477,5,680,32"/><area shape="rect" id="node5" href="classlibdap_1_1Response.html#a5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="428,56,729,83"/><area shape="rect" id="node7" href="classlibdap_1_1Response.html#a5cda40501a3ce7b1675b13a6e0858020" title="libdap::Response::set_stream" alt="" coords="428,107,729,133"/></map> </div> </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ac7b69e0c8359384f164c9e49148b70f3"></a><!-- doxytag: member="libdap::HTTPResponse::get_file" ref="ac7b69e0c8359384f164c9e49148b70f3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual string libdap::HTTPResponse::get_file </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00126">126</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> </div> </div> <a class="anchor" id="a049aad48922776e0e3d66ab843a2a4db"></a><!-- doxytag: member="libdap::HTTPResponse::get_headers" ref="a049aad48922776e0e3d66ab843a2a4db" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual vector<string>* libdap::HTTPResponse::get_headers </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00122">122</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> <p>Referenced by <a class="el" href="HTTPConnect_8cc_source.html#l00567">libdap::HTTPConnect::fetch_url()</a>.</p> </div> </div> <a class="anchor" id="ae33bebc83bcfbd2bf958697e4516b2d7"></a><!-- doxytag: member="libdap::HTTPResponse::get_protocol" ref="ae33bebc83bcfbd2bf958697e4516b2d7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual string libdap::Response::get_protocol </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00127">127</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="Connect_8cc_source.html#l00978">libdap::Connect::read_data_no_mime()</a>, <a class="el" href="Connect_8cc_source.html#l00369">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00432">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00780">libdap::Connect::request_data()</a>, <a class="el" href="Connect_8cc_source.html#l00852">libdap::Connect::request_data_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00886">libdap::Connect::request_data_ddx_url()</a>, <a class="el" href="Connect_8cc_source.html#l00831">libdap::Connect::request_data_url()</a>, <a class="el" href="Connect_8cc_source.html#l00495">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00573">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00633">libdap::Connect::request_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00706">libdap::Connect::request_ddx_url()</a>, <a class="el" href="Connect_8cc_source.html#l00338">libdap::Connect::request_protocol()</a>, and <a class="el" href="Connect_8cc_source.html#l00303">libdap::Connect::request_version()</a>.</p> </div> </div> <a class="anchor" id="a17cd38845849694a82f943c90919ea35"></a><!-- doxytag: member="libdap::HTTPResponse::get_status" ref="a17cd38845849694a82f943c90919ea35" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int libdap::Response::get_status </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00111">111</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="HTTPConnect_8cc_source.html#l00567">libdap::HTTPConnect::fetch_url()</a>.</p> </div> </div> <a class="anchor" id="a5b4903bb627c5e6ccd4cd50712e1f0a1"></a><!-- doxytag: member="libdap::HTTPResponse::get_stream" ref="a5b4903bb627c5e6ccd4cd50712e1f0a1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual FILE* libdap::Response::get_stream </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classlibdap_1_1PipeResponse.html#a0075b0b7d2dc6276a96381969ebaf14d">libdap::PipeResponse</a>, and <a class="el" href="classlibdap_1_1StdinResponse.html#a036501a9a89c1ae8d7d4bffd0c0dc2da">libdap::StdinResponse</a>.</p> <p>Definition at line <a class="el" href="Response_8h_source.html#l00115">115</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="getdap_8cc_source.html#l00154">main()</a>, <a class="el" href="Connect_8cc_source.html#l00369">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00432">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00495">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00573">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00633">libdap::Connect::request_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00706">libdap::Connect::request_ddx_url()</a>, <a class="el" href="HTTPCacheResponse_8h_source.html#l00074">libdap::HTTPCacheResponse::~HTTPCacheResponse()</a>, and <a class="el" href="HTTPResponse_8h_source.html#l00107">~HTTPResponse()</a>.</p> </div> </div> <a class="anchor" id="ab69844a814ec4036a12336640b06e279"></a><!-- doxytag: member="libdap::HTTPResponse::get_type" ref="ab69844a814ec4036a12336640b06e279" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="namespacelibdap.html#ae7466ed8496f06654ec276eac907c06a">ObjectType</a> libdap::Response::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00119">119</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>References <a class="el" href="mime__util_8cc_source.html#l00301">libdap::get_type()</a>.</p> <p>Referenced by <a class="el" href="Connect_8cc_source.html#l00978">libdap::Connect::read_data_no_mime()</a>, <a class="el" href="Connect_8cc_source.html#l00369">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00432">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00495">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00573">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00633">libdap::Connect::request_ddx()</a>, and <a class="el" href="Connect_8cc_source.html#l00706">libdap::Connect::request_ddx_url()</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_1Response_ab69844a814ec4036a12336640b06e279_cgraph.png" border="0" usemap="#classlibdap_1_1Response_ab69844a814ec4036a12336640b06e279_cgraph" alt=""/></div> <map name="classlibdap_1_1Response_ab69844a814ec4036a12336640b06e279_cgraph" id="classlibdap_1_1Response_ab69844a814ec4036a12336640b06e279_cgraph"> <area shape="rect" id="node3" href="namespacelibdap.html#aceb42dce2c3676ca9785ee89190ab4ce" title="libdap::get_type" alt="" coords="337,29,519,56"/></map> </div> </p> </div> </div> <a class="anchor" id="a654eedafce6ecb816324713150914fec"></a><!-- doxytag: member="libdap::HTTPResponse::get_version" ref="a654eedafce6ecb816324713150914fec" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual string libdap::Response::get_version </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00123">123</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="Connect_8cc_source.html#l00978">libdap::Connect::read_data_no_mime()</a>, <a class="el" href="Connect_8cc_source.html#l00369">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00432">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00780">libdap::Connect::request_data()</a>, <a class="el" href="Connect_8cc_source.html#l00852">libdap::Connect::request_data_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00886">libdap::Connect::request_data_ddx_url()</a>, <a class="el" href="Connect_8cc_source.html#l00831">libdap::Connect::request_data_url()</a>, <a class="el" href="Connect_8cc_source.html#l00495">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00573">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00633">libdap::Connect::request_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00706">libdap::Connect::request_ddx_url()</a>, <a class="el" href="Connect_8cc_source.html#l00338">libdap::Connect::request_protocol()</a>, and <a class="el" href="Connect_8cc_source.html#l00303">libdap::Connect::request_version()</a>.</p> </div> </div> <a class="anchor" id="aab2833dfcf4fd409e6ecee928e9faef8"></a><!-- doxytag: member="libdap::HTTPResponse::operator=" ref="aab2833dfcf4fd409e6ecee928e9faef8" args="(const HTTPResponse &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a>& libdap::HTTPResponse::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> & </td> <td class="paramname"></td><td>)</td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00072">72</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> </div> </div> <a class="anchor" id="a70873d16530fc42ac4a21eabc98f656f"></a><!-- doxytag: member="libdap::HTTPResponse::set_headers" ref="a70873d16530fc42ac4a21eabc98f656f" args="(vector< string > *h)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void libdap::HTTPResponse::set_headers </td> <td>(</td> <td class="paramtype">vector< string > * </td> <td class="paramname"><em>h</em></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00134">134</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p> </div> </div> <a class="anchor" id="af077130cb39ac3c370776d490e81720b"></a><!-- doxytag: member="libdap::HTTPResponse::set_protocol" ref="af077130cb39ac3c370776d490e81720b" args="(const string &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void libdap::Response::set_protocol </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"><em>p</em></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00151">151</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="HTTPConnect_8cc_source.html#l00567">libdap::HTTPConnect::fetch_url()</a>.</p> </div> </div> <a class="anchor" id="a3de0ea86ac433904efdc0e4f4c86fa26"></a><!-- doxytag: member="libdap::HTTPResponse::set_status" ref="a3de0ea86ac433904efdc0e4f4c86fa26" args="(int s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void libdap::Response::set_status </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>s</em></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00135">135</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> </div> </div> <a class="anchor" id="a5cda40501a3ce7b1675b13a6e0858020"></a><!-- doxytag: member="libdap::HTTPResponse::set_stream" ref="a5cda40501a3ce7b1675b13a6e0858020" args="(FILE *s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void libdap::Response::set_stream </td> <td>(</td> <td class="paramtype">FILE * </td> <td class="paramname"><em>s</em></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classlibdap_1_1PipeResponse.html#a388249c36decc15f92514eaf2a1a8119">libdap::PipeResponse</a>, and <a class="el" href="classlibdap_1_1StdinResponse.html#a618f6c7f62c64477e95620bd0a4e5274">libdap::StdinResponse</a>.</p> <p>Definition at line <a class="el" href="Response_8h_source.html#l00139">139</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="HTTPResponse_8h_source.html#l00107">~HTTPResponse()</a>.</p> </div> </div> <a class="anchor" id="a7a7807d0a45dd1f6111987f054956e24"></a><!-- doxytag: member="libdap::HTTPResponse::set_type" ref="a7a7807d0a45dd1f6111987f054956e24" args="(ObjectType o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void libdap::Response::set_type </td> <td>(</td> <td class="paramtype"><a class="el" href="namespacelibdap.html#ae7466ed8496f06654ec276eac907c06a">ObjectType</a> </td> <td class="paramname"><em>o</em></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00143">143</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="HTTPConnect_8cc_source.html#l00567">libdap::HTTPConnect::fetch_url()</a>.</p> </div> </div> <a class="anchor" id="a041d867c1ce5302a2033a8065c6d52a9"></a><!-- doxytag: member="libdap::HTTPResponse::set_version" ref="a041d867c1ce5302a2033a8065c6d52a9" args="(const string &v)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void libdap::Response::set_version </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"><em>v</em></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="Response_8h_source.html#l00147">147</a> of file <a class="el" href="Response_8h_source.html">Response.h</a>.</p> <p>Referenced by <a class="el" href="HTTPConnect_8cc_source.html#l00567">libdap::HTTPConnect::fetch_url()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</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_1HTTPResponse.html">HTTPResponse</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>