Sophie

Sophie

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

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::HTTPResponse 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_1HTTPResponse.html">HTTPResponse</a>
  </div>
</div>
<div class="contents">
<h1>libdap::HTTPResponse Class Reference</h1><!-- doxytag: class="libdap::HTTPResponse" --><!-- doxytag: inherits="libdap::Response" --><code>#include &lt;<a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for libdap::HTTPResponse:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1HTTPResponse__inherit__graph.png" border="0" usemap="#libdap_1_1HTTPResponse__inherit__map" alt="Inheritance graph"></center>
<map name="libdap_1_1HTTPResponse__inherit__map">
<area shape="rect" id="node5" href="classlibdap_1_1HTTPCacheResponse.html" title="{libdap::HTTPCacheResponse\n|&#45; 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|&#45; d_protocol\l&#45; d_status\l&#45; d_stream\l&#45; d_type\l&#45; d_version\l|+ Response()\l+ ~Response()\l+ get_protocol()\l+ get_status()\l+ get_stream()\l+ get_type()\l+ get_version()\l+ set_protocol()\l+ set_status()\l+ set_stream()\l+ set_type()\l+ set_version()\l# operator=()\l# Response()\l# Response()\l* operator=()\l* Response()\l* Response()\l* get_protocol()\l* get_status()\l* get_stream()\l* get_type()\l* get_version()\l* set_protocol()\l* set_status()\l* set_stream()\l* set_type()\l* set_version()\l}" alt="" coords="51,6,232,538"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for libdap::HTTPResponse:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1HTTPResponse__coll__graph.png" border="0" usemap="#libdap_1_1HTTPResponse__coll__map" alt="Collaboration graph"></center>
<map name="libdap_1_1HTTPResponse__coll__map">
<area shape="rect" id="node2" href="classlibdap_1_1Response.html" title="{libdap::Response\n|&#45; d_protocol\l&#45; d_status\l&#45; d_stream\l&#45; d_type\l&#45; d_version\l|+ Response()\l+ ~Response()\l+ get_protocol()\l+ get_status()\l+ get_stream()\l+ get_type()\l+ get_version()\l+ set_protocol()\l+ set_status()\l+ set_stream()\l+ set_type()\l+ set_version()\l# operator=()\l# Response()\l# Response()\l* operator=()\l* Response()\l* Response()\l* get_protocol()\l* get_status()\l* get_stream()\l* get_type()\l* get_version()\l* set_protocol()\l* set_status()\l* set_stream()\l* set_type()\l* set_version()\l}" alt="" coords="209,161,391,693"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classlibdap_1_1HTTPResponse-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#539a3c25e7452353e0256974c7a96bef">HTTPResponse</a> (FILE *s, int status, vector&lt; string &gt; *h, const string &amp;temp_file)</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_1HTTPResponse.html#aaa8595779b1608ad1727bce9a308341">~HTTPResponse</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td colspan="2"><div class="groupText"><br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#c7b69e0c8359384f164c9e49148b70f3">get_file</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vector&lt; string &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db">get_headers</a> () const </td></tr>

<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td colspan="2"><div class="groupText"><br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7">get_protocol</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35">get_status</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual FILE *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1">get_stream</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespacelibdap.html#e7466ed8496f06654ec276eac907c06a">ObjectType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#b69844a814ec4036a12336640b06e279">get_type</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec">get_version</a> () const </td></tr>

<tr><td colspan="2"><div class="groupHeader">Mutators</div></td></tr>
<tr><td colspan="2"><div class="groupText"><br><br></div></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_1HTTPResponse.html#70873d16530fc42ac4a21eabc98f656f">set_headers</a> (vector&lt; string &gt; *h)</td></tr>

<tr><td colspan="2"><div class="groupHeader">Mutators</div></td></tr>
<tr><td colspan="2"><div class="groupText"><br><br></div></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_1Response.html#f077130cb39ac3c370776d490e81720b">set_protocol</a> (const string &amp;p)</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_1Response.html#3de0ea86ac433904efdc0e4f4c86fa26">set_status</a> (int s)</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_1Response.html#5cda40501a3ce7b1675b13a6e0858020">set_stream</a> (FILE *s)</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_1Response.html#7a7807d0a45dd1f6111987f054956e24">set_type</a> (<a class="el" href="namespacelibdap.html#e7466ed8496f06654ec276eac907c06a">ObjectType</a> o)</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_1Response.html#041d867c1ce5302a2033a8065c6d52a9">set_version</a> (const string &amp;v)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Suppressed default methods</div></td></tr>
<tr><td colspan="2"><div class="groupText"><br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#b8145e01fcaa440bf7d3d8b0e1f010a9">HTTPResponse</a> (const <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> &amp;rs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#d811b78884b86fe0028c9aa7fe91e63d">HTTPResponse</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1HTTPResponse.html#ab2833dfcf4fd409e6ecee928e9faef8">operator=</a> (const <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> &amp;)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
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" compact><dt><b><a class="el" href="todo.html#_todo000032">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#l00058">58</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d811b78884b86fe0028c9aa7fe91e63d"></a><!-- doxytag: member="libdap::HTTPResponse::HTTPResponse" ref="d811b78884b86fe0028c9aa7fe91e63d" 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>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00067">67</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="b8145e01fcaa440bf7d3d8b0e1f010a9"></a><!-- doxytag: member="libdap::HTTPResponse::HTTPResponse" ref="b8145e01fcaa440bf7d3d8b0e1f010a9" args="(const HTTPResponse &amp;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> &amp;&nbsp;</td>
          <td class="paramname"> <em>rs</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00069">69</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="539a3c25e7452353e0256974c7a96bef"></a><!-- doxytag: member="libdap::HTTPResponse::HTTPResponse" ref="539a3c25e7452353e0256974c7a96bef" args="(FILE *s, int status, vector&lt; string &gt; *h, const string &amp;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 *&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">vector&lt; string &gt; *&nbsp;</td>
          <td class="paramname"> <em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>temp_file</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>
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&lt;string&gt; 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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>s</em>&nbsp;</td><td>FILE * to the response. Read the response body from this stream. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>The HTTP response status code. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</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 valign="top"></td><td valign="top"><em>temp_file</em>&nbsp;</td><td>Name a the temporary file that holds the response body; this file is deleted when this instance is deleted. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00094">94</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><p>
<a class="anchor" name="aaa8595779b1608ad1727bce9a308341"></a><!-- doxytag: member="libdap::HTTPResponse::~HTTPResponse" ref="aaa8595779b1608ad1727bce9a308341" 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>&nbsp;)&nbsp;</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>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00106">106</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#l00796">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#l00074">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="dynsection">
<p><center><img src="classlibdap_1_1HTTPResponse_aaa8595779b1608ad1727bce9a308341_cgraph.png" border="0" usemap="#classlibdap_1_1HTTPResponse_aaa8595779b1608ad1727bce9a308341_cgraph_map" alt=""></center>
<map name="classlibdap_1_1HTTPResponse_aaa8595779b1608ad1727bce9a308341_cgraph_map">
<area shape="rect" id="node3" href="namespacelibdap.html#9696b8596e7a5858d494e8a8d7d082c1" title="libdap::close_temp" alt="" coords="477,5,677,32"><area shape="rect" id="node5" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="427,56,728,83"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#5cda40501a3ce7b1675b13a6e0858020" title="libdap::Response::set_stream" alt="" coords="427,107,728,133"></map>
</div>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c7b69e0c8359384f164c9e49148b70f3"></a><!-- doxytag: member="libdap::HTTPResponse::get_file" ref="c7b69e0c8359384f164c9e49148b70f3" 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>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00125">125</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="049aad48922776e0e3d66ab843a2a4db"></a><!-- doxytag: member="libdap::HTTPResponse::get_headers" ref="049aad48922776e0e3d66ab843a2a4db" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual vector&lt;string&gt;* libdap::HTTPResponse::get_headers           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00121">121</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#l00645">libdap::HTTPConnect::fetch_url()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e33bebc83bcfbd2bf958697e4516b2d7"></a><!-- doxytag: member="libdap::HTTPResponse::get_protocol" ref="e33bebc83bcfbd2bf958697e4516b2d7" 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>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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#l00874">libdap::Connect::read_data_no_mime()</a>, <a class="el" href="Connect_8cc_source.html#l00343">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00412">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00767">libdap::Connect::request_data()</a>, <a class="el" href="Connect_8cc_source.html#l00817">libdap::Connect::request_data_url()</a>, <a class="el" href="Connect_8cc_source.html#l00475">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00559">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00619">libdap::Connect::request_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00696">libdap::Connect::request_ddx_url()</a>, <a class="el" href="Connect_8cc_source.html#l00313">libdap::Connect::request_protocol()</a>, and <a class="el" href="Connect_8cc_source.html#l00279">libdap::Connect::request_version()</a>.</p>

</div>
</div><p>
<a class="anchor" name="17cd38845849694a82f943c90919ea35"></a><!-- doxytag: member="libdap::HTTPResponse::get_status" ref="17cd38845849694a82f943c90919ea35" 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>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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#l00645">libdap::HTTPConnect::fetch_url()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5b4903bb627c5e6ccd4cd50712e1f0a1"></a><!-- doxytag: member="libdap::HTTPResponse::get_stream" ref="5b4903bb627c5e6ccd4cd50712e1f0a1" 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>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented in <a class="el" href="classlibdap_1_1PipeResponse.html#0075b0b7d2dc6276a96381969ebaf14d">libdap::PipeResponse</a>, and <a class="el" href="classlibdap_1_1StdinResponse.html#036501a9a89c1ae8d7d4bffd0c0dc2da">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#l00152">main()</a>, <a class="el" href="AISMerge_8cc_source.html#l00082">libdap::AISMerge::merge()</a>, <a class="el" href="Connect_8cc_source.html#l00343">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00412">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00475">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00559">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00619">libdap::Connect::request_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00696">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#l00106">~HTTPResponse()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b69844a814ec4036a12336640b06e279"></a><!-- doxytag: member="libdap::HTTPResponse::get_type" ref="b69844a814ec4036a12336640b06e279" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespacelibdap.html#e7466ed8496f06654ec276eac907c06a">ObjectType</a> libdap::Response::get_type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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>Referenced by <a class="el" href="Connect_8cc_source.html#l00343">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00412">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00475">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00559">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00619">libdap::Connect::request_ddx()</a>, and <a class="el" href="Connect_8cc_source.html#l00696">libdap::Connect::request_ddx_url()</a>.</p>

</div>
</div><p>
<a class="anchor" name="654eedafce6ecb816324713150914fec"></a><!-- doxytag: member="libdap::HTTPResponse::get_version" ref="654eedafce6ecb816324713150914fec" 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>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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#l00874">libdap::Connect::read_data_no_mime()</a>, <a class="el" href="Connect_8cc_source.html#l00343">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00412">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00767">libdap::Connect::request_data()</a>, <a class="el" href="Connect_8cc_source.html#l00817">libdap::Connect::request_data_url()</a>, <a class="el" href="Connect_8cc_source.html#l00475">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00559">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00619">libdap::Connect::request_ddx()</a>, <a class="el" href="Connect_8cc_source.html#l00696">libdap::Connect::request_ddx_url()</a>, <a class="el" href="Connect_8cc_source.html#l00313">libdap::Connect::request_protocol()</a>, and <a class="el" href="Connect_8cc_source.html#l00279">libdap::Connect::request_version()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ab2833dfcf4fd409e6ecee928e9faef8"></a><!-- doxytag: member="libdap::HTTPResponse::operator=" ref="ab2833dfcf4fd409e6ecee928e9faef8" args="(const HTTPResponse &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a>&amp; libdap::HTTPResponse::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1HTTPResponse.html">HTTPResponse</a> &amp;&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="HTTPResponse_8h_source.html#l00071">71</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="70873d16530fc42ac4a21eabc98f656f"></a><!-- doxytag: member="libdap::HTTPResponse::set_headers" ref="70873d16530fc42ac4a21eabc98f656f" args="(vector&lt; string &gt; *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&lt; string &gt; *&nbsp;</td>
          <td class="paramname"> <em>h</em>          </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="HTTPResponse_8h_source.html#l00133">133</a> of file <a class="el" href="HTTPResponse_8h_source.html">HTTPResponse.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f077130cb39ac3c370776d490e81720b"></a><!-- doxytag: member="libdap::HTTPResponse::set_protocol" ref="f077130cb39ac3c370776d490e81720b" args="(const string &amp;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 &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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#l00645">libdap::HTTPConnect::fetch_url()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3de0ea86ac433904efdc0e4f4c86fa26"></a><!-- doxytag: member="libdap::HTTPResponse::set_status" ref="3de0ea86ac433904efdc0e4f4c86fa26" 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&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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><p>
<a class="anchor" name="5cda40501a3ce7b1675b13a6e0858020"></a><!-- doxytag: member="libdap::HTTPResponse::set_stream" ref="5cda40501a3ce7b1675b13a6e0858020" 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 *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented in <a class="el" href="classlibdap_1_1PipeResponse.html#388249c36decc15f92514eaf2a1a8119">libdap::PipeResponse</a>, and <a class="el" href="classlibdap_1_1StdinResponse.html#618f6c7f62c64477e95620bd0a4e5274">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#l00106">~HTTPResponse()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7a7807d0a45dd1f6111987f054956e24"></a><!-- doxytag: member="libdap::HTTPResponse::set_type" ref="7a7807d0a45dd1f6111987f054956e24" 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#e7466ed8496f06654ec276eac907c06a">ObjectType</a>&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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#l00645">libdap::HTTPConnect::fetch_url()</a>.</p>

</div>
</div><p>
<a class="anchor" name="041d867c1ce5302a2033a8065c6d52a9"></a><!-- doxytag: member="libdap::HTTPResponse::set_version" ref="041d867c1ce5302a2033a8065c6d52a9" args="(const string &amp;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 &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<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#l00645">libdap::HTTPConnect::fetch_url()</a>.</p>

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