Sophie

Sophie

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

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::Connect 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_1Connect.html">Connect</a>
  </div>
</div>
<div class="contents">
<h1>libdap::Connect Class Reference</h1><!-- doxytag: class="libdap::Connect" -->Holds information about the link from a DAP2 client to a dataset.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="Connect_8h_source.html">Connect.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for libdap::Connect:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect__inherit__graph.png" border="0" usemap="#libdap_1_1Connect__inherit__map" alt="Inheritance graph"></center>
<map name="libdap_1_1Connect__inherit__map">
<area shape="rect" id="node3" href="classlibdap_1_1AISConnect.html" title="{libdap::AISConnect\n|&#45; d_ais_merge\l|+ AISConnect()\l+ AISConnect()\l+ request_das()\l+ ~AISConnect()\l# AISConnect()\l# AISConnect()\l* AISConnect()\l* AISConnect()\l}" alt="" coords="25,689,225,869"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for libdap::Connect:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect__coll__graph.png" border="0" usemap="#libdap_1_1Connect__coll__map" alt="Collaboration graph"></center>
<map name="libdap_1_1Connect__coll__map">
<area shape="rect" id="node2" href="classlibdap_1_1HTTPConnect.html" title="{libdap::HTTPConnect\n|&#45; d_accept_deflate\l&#45; d_cookie_jar\l&#45; d_curl\l&#45; d_dap_client_protocol_major\l&#45; d_dap_client_protocol_minor\l&#45; d_error_buffer\l&#45; d_http_cache\l&#45; d_password\l&#45; d_rcr\l&#45; d_request_headers\l&#45; d_upstring\l&#45; d_username\l|+ fetch_url()\l+ HTTPConnect()\l+ is_cache_enabled()\l+ set_accept_deflate()\l+ set_cache_enabled()\l+ set_cookie_jar()\l+ set_credentials()\l+ set_xdap_protocol()\l+ ~HTTPConnect()\l# HTTPConnect()\l# HTTPConnect()\l# operator=()\l&#45; caching_fetch_url()\l&#45; extract_auth_info()\l&#45; plain_fetch_url()\l&#45; read_url()\l&#45; url_uses_no_proxy_for()\l&#45; url_uses_proxy_for()\l&#45; www_lib_init()\l* HTTPConnect()\l* HTTPConnect()\l* operator=()\l}" alt="" coords="717,2379,1029,2925"><area shape="rect" id="node4" href="classlibdap_1_1RCReader.html" title="{libdap::RCReader\n|&#45; _dods_always_validate\l&#45; _dods_cache_max\l&#45; _dods_cached_obj\l&#45; _dods_default_expires\l&#45; _dods_deflate\l&#45; _dods_ign_expires\l&#45; _dods_no_proxy_for_port\l&#45; _dods_proxy_for\l&#45; _dods_proxy_for_proxy_host_url\l&#45; _dods_proxy_for_regexp\l&#45; _dods_proxy_for_regexp_flags\l&#45; _dods_proxy_server_host_url\l&#45; _dods_use_cache\l&#45; d_ais_database\l&#45; d_cache_root\l&#45; d_cookie_jar\l&#45; d_dods_no_proxy_for\l&#45; d_dods_no_proxy_for_host\l&#45; d_dods_no_proxy_for_protocol\l&#45; d_dods_proxy_server_host\l&#45; d_dods_proxy_server_port\l&#45; d_dods_proxy_server_protocol\l&#45; d_dods_proxy_server_userpw\l&#45; d_rc_file_path\l&#45; d_validate_ssl\l&#45; _instance\l|+ get_ais_database()\l+ get_always_validate()\l+ get_cookie_jar()\l+ get_default_expires()\l+ get_deflate()\l+ get_dods_cache_root()\l+ get_ignore_expires()\l+ get_max_cache_size()\l+ get_max_cached_obj()\l+ get_no_proxy_for_host()\l+ get_no_proxy_for_port()\l+ get_no_proxy_for_protocol()\l+ get_proxy_for_proxy_host_url()\l+ get_proxy_for_regexp()\l+ get_proxy_for_regexp_flags()\l+ get_proxy_server_host()\l+ get_proxy_server_host_url()\l+ get_proxy_server_port()\l+ get_proxy_server_protocol()\l+ get_proxy_server_userpw()\l+ get_use_cache()\l+ get_validate_ssl()\l+ is_no_proxy_for_used()\l+ is_proxy_for_used()\l+ set_ais_database()\l+ set_always_validate()\l+ set_default_expires()\l+ set_deflate()\l+ set_ignore_expires()\l+ set_max_cache_size()\l+ set_max_cached_obj()\l+ set_no_proxy_for_host()\l+ set_no_proxy_for_port()\l+ set_no_proxy_for_protocol()\l+ set_proxy_for_proxy_host_url()\l+ set_proxy_for_regexp()\l+ set_proxy_for_regexp_flags()\l+ set_proxy_server_host()\l+ set_proxy_server_host_url()\l+ set_proxy_server_port()\l+ set_proxy_server_protocol()\l+ set_proxy_server_userpw()\l+ set_use_cache()\l+ set_validate_ssl()\l+ instance()\l&#45; check_env_var()\l&#45; check_string()\l&#45; RCReader()\l&#45; read_rc_file()\l&#45; write_rc_file()\l&#45; ~RCReader()\l&#45; delete_instance()\l&#45; initialize_instance()\l}" alt="" coords="369,1107,711,2314"><area shape="rect" id="node15" href="classlibdap_1_1HTTPCache.html" title="{libdap::HTTPCache\n|&#45; d_always_validate\l&#45; d_cache_control\l&#45; d_cache_disconnected\l&#45; d_cache_enabled\l&#45; d_cache_mutex\l&#45; d_cache_protected\l&#45; d_cache_root\l&#45; d_default_expiration\l&#45; d_expire_ignored\l&#45; d_folder_size\l&#45; d_gc_buffer\l&#45; d_http_cache_table\l&#45; d_locked_open_file\l&#45; d_max_age\l&#45; d_max_entry_size\l&#45; d_max_stale\l&#45; d_min_fresh\l&#45; d_open_files\l&#45; d_total_size\l&#45; _instance\l|+ cache_response()\l+ get_cached_response()\l+ get_cached_response()\l+ get_cached_response()\l+ get_conditional_request_headers()\l+ is_url_valid()\l+ lock_cache_interface()\l+ purge_cache()\l+ release_cached_response()\l+ unlock_cache_interface()\l+ update_response()\l+ ~HTTPCache()\l+ instance()\l&#45; get_single_user_lock()\l&#45; HTTPCache()\l&#45; HTTPCache()\l&#45; HTTPCache()\l&#45; is_url_in_cache()\l&#45; open_body()\l&#45; operator=()\l&#45; read_metadata()\l&#45; release_single_user_lock()\l&#45; write_body()\l&#45; write_metadata()\l&#45; expired_gc()\l&#45; hits_gc()\l&#45; perform_garbage_collection()\l&#45; startGC()\l&#45; stopGC()\l&#45; too_big_gc()\l&#45; delete_instance()\l* create_cache_root()\l* set_cache_root()\l* get_always_validate()\l* get_cache_control()\l* get_cache_disconnected()\l* get_cache_root()\l* get_default_expiration()\l* get_max_entry_size()\l* get_max_size()\l* is_cache_enabled()\l* is_expire_ignored()\l* set_always_validate()\l* set_cache_control()\l* set_cache_disconnected()\l* set_cache_enabled()\l* set_default_expiration()\l* set_expire_ignored()\l* set_max_entry_size()\l* set_max_size()\l* expired_gc()\l* hits_gc()\l* perform_garbage_collection()\l* startGC()\l* stopGC()\l* too_big_gc()\l}" alt="" coords="1921,1129,2292,2292"><area shape="rect" id="node17" href="classlibdap_1_1HTTPCacheTable.html" title="{libdap::HTTPCacheTable\n|&#45; d_block_size\l&#45; d_cache_index\l&#45; d_cache_root\l&#45; d_cache_table\l&#45; d_current_size\l&#45; d_locked_entries\l&#45; d_new_entries\l|+ bind_entry_to_data()\l+ create_hash_directory()\l+ create_location()\l+ delete_by_hits()\l+ delete_by_size()\l+ delete_expired_entries()\l+ HTTPCacheTable()\l+ is_locked_read_responses()\l+ uncouple_entry_from_data()\l+ ~HTTPCacheTable()\l+ cache_index_delete()\l+ cache_index_parse_line()\l+ cache_index_read()\l+ cache_index_write()\l+ get_block_size()\l+ get_cache_root()\l+ get_current_size()\l+ get_new_entries()\l+ increment_new_entries()\l+ set_block_size()\l+ set_cache_root()\l+ set_current_size()\l&#45; get_cache_table()\l&#45; HTTPCacheTable()\l&#45; HTTPCacheTable()\l&#45; operator=()\l* get_locked_entry_from_cache_table()\l* add_entry_to_cache_table()\l* calculate_time()\l* delete_all_entries()\l* get_locked_entry_from_cache_table()\l* get_write_locked_entry_from_cache_table()\l* parse_headers()\l* remove_cache_entry()\l* remove_entry_from_cache_table()\l* cache_index_delete()\l* cache_index_parse_line()\l* cache_index_read()\l* cache_index_write()\l* get_block_size()\l* get_cache_root()\l* get_current_size()\l* get_new_entries()\l* increment_new_entries()\l* set_block_size()\l* set_cache_root()\l* set_current_size()\l}" alt="" coords="1125,160,1576,1000"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classlibdap_1_1Connect-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#0e55cc99530cab779ae83984c2a22f51">CE</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the Connect's constraint expression.  <a href="#0e55cc99530cab779ae83984c2a22f51"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#03b8c9f6773a25c3c837b9890099d5e8">Connect</a> (const string &amp;name, string uname=&quot;&quot;, string password=&quot;&quot;)  throw (Error, InternalErr)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an instance of <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a>.  <a href="#03b8c9f6773a25c3c837b9890099d5e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#4223a898b3da719509d173dd990c45f1">get_protocol</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#30fe6746add5a210d59b5dc9d678355f">get_version</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#00fa7d5e2e658e8c882e07f48562ea62">is_cache_enabled</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#3901ce9383c3df11d1a1c28d4a09bb54">is_local</a> ()</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_1Connect.html#e50d98d353023b9786c9bd5b0833a7de">read_data</a> (<a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;data, <a class="el" href="classlibdap_1_1Response.html">Response</a> *rs)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read data which is preceded by MIME headers.  <a href="#e50d98d353023b9786c9bd5b0833a7de"></a><br></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_1Connect.html#486b095a58614dfc2be0321035784306">read_data_no_mime</a> (<a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;data, <a class="el" href="classlibdap_1_1Response.html">Response</a> *rs)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read data from a file which does not have response MIME headers. This method is a companion to <a class="el" href="classlibdap_1_1Connect.html#e50d98d353023b9786c9bd5b0833a7de" title="Read data which is preceded by MIME headers.">read_data()</a>. While <a class="el" href="classlibdap_1_1Connect.html#e50d98d353023b9786c9bd5b0833a7de" title="Read data which is preceded by MIME headers.">read_data()</a> assumes that the response has MIME headers, this method does not. If you call this with a <a class="el" href="classlibdap_1_1Response.html">Response</a> that does contain headers, it will throw an <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> (and the message is likely to be inscrutable).  <a href="#486b095a58614dfc2be0321035784306"></a><br></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_1Connect.html#816ef3bb8e729712ffeb6523f2cc4f0e">request_das</a> (<a class="el" href="classlibdap_1_1DAS.html">DAS</a> &amp;das)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> from a server.  <a href="#816ef3bb8e729712ffeb6523f2cc4f0e"></a><br></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_1Connect.html#bcf814710de1e252e74a4e1b72d3c6b3">request_das_url</a> (<a class="el" href="classlibdap_1_1DAS.html">DAS</a> &amp;das)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> from a server.  <a href="#bcf814710de1e252e74a4e1b72d3c6b3"></a><br></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_1Connect.html#814e98ac5e99927ccc79bb0feb32d241">request_data</a> (<a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;data, string expr=&quot;&quot;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> from a server.  <a href="#814e98ac5e99927ccc79bb0feb32d241"></a><br></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_1Connect.html#c8582099411b8d74b03e761129df5b5c">request_data_url</a> (<a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;data)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> from a server.  <a href="#c8582099411b8d74b03e761129df5b5c"></a><br></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_1Connect.html#ad5ef370110577e9ca2a0161928f9efa">request_dds</a> (<a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds, string expr=&quot;&quot;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> from a server.  <a href="#ad5ef370110577e9ca2a0161928f9efa"></a><br></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_1Connect.html#08795a9e160db409423fcd9058ba975d">request_dds_url</a> (<a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> from a server.  <a href="#08795a9e160db409423fcd9058ba975d"></a><br></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_1Connect.html#4395cc18cf5ec1a5167795a5a5491958">request_ddx</a> (<a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds, string expr=&quot;&quot;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the DDX from a server.  <a href="#4395cc18cf5ec1a5167795a5a5491958"></a><br></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_1Connect.html#9a3e1fe01455b60a90a1974a7e871bb4">request_ddx_url</a> (<a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The 'url' version of request_ddx.  <a href="#9a3e1fe01455b60a90a1974a7e871bb4"></a><br></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_1Connect.html#aa1ab562899da9a4630de01f943d1aa9">request_protocol</a> ()</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_1Connect.html#c7a5896a09882004b75e581999940526">request_version</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#186f76bfea3b61dc3587bcff5760ed8b">set_accept_deflate</a> (bool deflate)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#25c97c4ad0239a9dd10812c880c40efe">set_cache_enabled</a> (bool enabled)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#847af75e149f123a51a560119dfc06aa">set_credentials</a> (string u, string p)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the credentials for responding to challenges while dereferencing URLs.  <a href="#847af75e149f123a51a560119dfc06aa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#b9c4a1243218c98d46fbaace37a821fc">set_xdap_accept</a> (int major, int minor)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#4af759a2313d9ecbc1db1c811f549379">set_xdap_protocol</a> (int major, int minor)</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_1Connect.html#523bf24520185e3d71f36ac0203b98e6">URL</a> (bool CE=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the object's URL.  <a href="#523bf24520185e3d71f36ac0203b98e6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#cacffa987a2d9a36f355dd471970fdcf">~Connect</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Suppress the C++ defaults for these.</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_1Connect.html#5d78784ceacab07c922c2999c335807a">Connect</a> (const <a class="el" href="classlibdap_1_1Connect.html">Connect</a> &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Connect.html#519d36213fc5f0fefc0c11a6b131beb8">Connect</a> ()</td></tr>

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

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> objects are used as containers for information pertaining to the connection a user program makes to a dataset. The dataset may be either local (for example, a file on the user's own computer) or a remote dataset. In the latter case a DAP2 URL will be used to reference the dataset, instead of a filename.<p>
<a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> contains methods which can be used to read the DAP2 <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> and <a class="el" href="classlibdap_1_1DDS.html">DDS</a> objects from the remote dataset as well as reading data. The class understands in a rudimentary way how DAP2 constraint expressions are formed and how to manage them.<p>
<a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> also provides additional services such as automatic decompression of compressed data, transmission progress reports and error processing. Refer to the GUI and <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> classes for more information about these features. See the <a class="el" href="classlibdap_1_1DODSFilter.html" title="Common functions for DODS server filter programs.">DODSFilter</a> class for information on servers that compress data.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Update: I removed the DEFAULT_BASETYPE_FACTORY switch because it caused more confusion than it avoided. See Trac #130.<p>
The compile-time symbol DEFAULT_BASETYPE_FACTORY controls whether the old (3.4 and earlier) <a class="el" href="classlibdap_1_1DDS.html">DDS</a> and <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> constructors are supported. These constructors now use a default factory class (<a class="el" href="classlibdap_1_1BaseTypeFactory.html">BaseTypeFactory</a>, implemented by this library) to instantiate <a class="el" href="classlibdap_1_1Byte.html" title="Holds a single byte.">Byte</a>, ..., <a class="el" href="classlibdap_1_1Grid.html" title="Holds the Grid data type.">Grid</a> variables. To use the default ctor in your code you must also define this symbol. If you <em>do</em> choose to define this and fail to provide a specialization of <a class="el" href="classlibdap_1_1BaseTypeFactory.html">BaseTypeFactory</a> when your software needs one, you code may not link or may fail at run time. In addition to the older ctors for <a class="el" href="classlibdap_1_1DDS.html">DDS</a> and <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a>, defining the symbol also makes some of the older methods in <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> available (because those methods require the older <a class="el" href="classlibdap_1_1DDS.html">DDS</a> and <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> ctors.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1DDS.html">DDS</a> <p>
<a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> <p>
<a class="el" href="classlibdap_1_1DODSFilter.html" title="Common functions for DODS server filter programs.">DODSFilter</a> <p>
<a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> </dd></dl>
<dl class="author" compact><dt><b>Author:</b></dt><dd>jhrg </dd></dl>

<p>Definition at line <a class="el" href="Connect_8h_source.html#l00133">133</a> of file <a class="el" href="Connect_8h_source.html">Connect.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="519d36213fc5f0fefc0c11a6b131beb8"></a><!-- doxytag: member="libdap::Connect::Connect" ref="519d36213fc5f0fefc0c11a6b131beb8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Connect::Connect           </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="Connect_8h_source.html#l00154">154</a> of file <a class="el" href="Connect_8h_source.html">Connect.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5d78784ceacab07c922c2999c335807a"></a><!-- doxytag: member="libdap::Connect::Connect" ref="5d78784ceacab07c922c2999c335807a" args="(const Connect &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Connect::Connect           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1Connect.html">Connect</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="Connect_8h_source.html#l00156">156</a> of file <a class="el" href="Connect_8h_source.html">Connect.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="03b8c9f6773a25c3c837b9890099d5e8"></a><!-- doxytag: member="libdap::Connect::Connect" ref="03b8c9f6773a25c3c837b9890099d5e8" args="(const string &amp;name, string uname=&quot;&quot;, string password=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Connect::Connect           </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>uname</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>password</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td>  throw (<a class="el" href="classlibdap_1_1Error.html">Error</a>, <a class="el" href="classlibdap_1_1InternalErr.html">InternalErr</a>)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> constructor requires a <code>name</code>, which is the URL to which the connection is to be made.<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>n</em>&nbsp;</td><td>The URL for the virtual connection. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>uname</em>&nbsp;</td><td>Use this username for authentication. Null by default. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>password</em>&nbsp;</td><td>Password to use for authentication. Null by default. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00214">214</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="debug_8h_source.html#l00058">DBG</a>, <a class="el" href="RCReader_8cc_source.html#l00483">libdap::RCReader::instance()</a>, and <a class="el" href="util_8cc_source.html#l00096">libdap::prune_spaces()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_03b8c9f6773a25c3c837b9890099d5e8_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_03b8c9f6773a25c3c837b9890099d5e8_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_03b8c9f6773a25c3c837b9890099d5e8_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1RCReader.html#8272ec2f2eae73a038d21bfcd0c23fd3" title="libdap::RCReader::instance" alt="" coords="316,5,596,32"><area shape="rect" id="node5" href="namespacelibdap.html#4b1fc86f3e9e75f967ad66f07962d406" title="libdap::prune_spaces" alt="" coords="345,56,567,83"></map>
</div>

</div>
</div><p>
<a class="anchor" name="cacffa987a2d9a36f355dd471970fdcf"></a><!-- doxytag: member="libdap::Connect::~Connect" ref="cacffa987a2d9a36f355dd471970fdcf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::Connect::~Connect           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00261">261</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="debug_8h_source.html#l00073">DBG2</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="0e55cc99530cab779ae83984c2a22f51"></a><!-- doxytag: member="libdap::Connect::CE" ref="0e55cc99530cab779ae83984c2a22f51" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::Connect::CE           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the constraint expression (CE) part of the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> URL. Note that this CE is supplied as part of the URL passed to the Connect's constructor. It is not the CE passed to the <code><a class="el" href="classlibdap_1_1Connect.html#814e98ac5e99927ccc79bb0feb32d241" title="Get the DAS from a server.">request_data()</a></code> function.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the constraint expression (if any) submitted to the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's constructor. </dd></dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00926">926</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="4223a898b3da719509d173dd990c45f1"></a><!-- doxytag: member="libdap::Connect::get_protocol" ref="4223a898b3da719509d173dd990c45f1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::Connect::get_protocol           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the DAP protocol version of the most recent response. Before a response is made, this contains the string "2.0." 
<p>Definition at line <a class="el" href="Connect_8h_source.html#l00202">202</a> of file <a class="el" href="Connect_8h_source.html">Connect.h</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

</div>
</div><p>
<a class="anchor" name="30fe6746add5a210d59b5dc9d678355f"></a><!-- doxytag: member="libdap::Connect::get_version" ref="30fe6746add5a210d59b5dc9d678355f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::Connect::get_version           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the protocol/implementation version of the most recent response. This is a poorly designed method, but it returns information that is useful when used correctly. Before a response is made, this contains the string "unknown." This should ultimately hold the <em>protocol</em> version; it currently holds the <em>implementation</em> version.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1Connect.html#4223a898b3da719509d173dd990c45f1">get_protocol()</a> </dd></dl>
<dl class="deprecated" compact><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="Connect_8h_source.html#l00194">194</a> of file <a class="el" href="Connect_8h_source.html">Connect.h</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

</div>
</div><p>
<a class="anchor" name="00fa7d5e2e658e8c882e07f48562ea62"></a><!-- doxytag: member="libdap::Connect::is_cache_enabled" ref="00fa7d5e2e658e8c882e07f48562ea62" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Connect::is_cache_enabled           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00980">980</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="debug_8h_source.html#l00058">DBG</a>, <a class="el" href="debug_8h_source.html#l00059">DBGN</a>, and <a class="el" href="HTTPConnect_8h_source.html#l00162">libdap::HTTPConnect::is_cache_enabled()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_00fa7d5e2e658e8c882e07f48562ea62_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_00fa7d5e2e658e8c882e07f48562ea62_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_00fa7d5e2e658e8c882e07f48562ea62_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#1e9a7b25527264a342dbe9c2aff59f2f" title="libdap::HTTPConnect::is_cache_enabled" alt="" coords="405,5,797,32"><area shape="rect" id="node5" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="847,5,1217,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="3901ce9383c3df11d1a1c28d4a09bb54"></a><!-- doxytag: member="libdap::Connect::is_local" ref="3901ce9383c3df11d1a1c28d4a09bb54" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Connect::is_local           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00883">883</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2b8e5380df6d65484a329fa5332ab324"></a><!-- doxytag: member="libdap::Connect::operator=" ref="2b8e5380df6d65484a329fa5332ab324" args="(const Connect &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlibdap_1_1Connect.html">Connect</a>&amp; libdap::Connect::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlibdap_1_1Connect.html">Connect</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="Connect_8h_source.html#l00158">158</a> of file <a class="el" href="Connect_8h_source.html">Connect.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e50d98d353023b9786c9bd5b0833a7de"></a><!-- doxytag: member="libdap::Connect::read_data" ref="e50d98d353023b9786c9bd5b0833a7de" args="(DataDDS &amp;data, Response *rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::read_data           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1Response.html">Response</a> *&nbsp;</td>
          <td class="paramname"> <em>rs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is a place holder. A better implementation for reading objects from the local file store is to write FileConnect and have it support the same interface as <a class="el" href="classlibdap_1_1HTTPConnect.html">HTTPConnect</a>.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>If you need the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> to hold specializations of the type classes, be sure to include the factory class which will instantiate those specializations in the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a>. Either pass a pointer to the factory to <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> constructor or use the <a class="el" href="classlibdap_1_1DDS.html#bd73e1da6d32409062399c6e3333814a">DDS::set_factory()</a> method after the object is built.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1Connect.html#486b095a58614dfc2be0321035784306" title="Read data from a file which does not have response MIME headers. This method is a...">read_data_no_mime()</a> </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Result. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rs</em>&nbsp;</td><td>Read from this <a class="el" href="classlibdap_1_1Response.html">Response</a> object. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00854">854</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="Connect_8cc_source.html#l00874">read_data_no_mime()</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_e50d98d353023b9786c9bd5b0833a7de_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_e50d98d353023b9786c9bd5b0833a7de_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_e50d98d353023b9786c9bd5b0833a7de_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1Connect.html#486b095a58614dfc2be0321035784306" title="Read data from a file which does not have response MIME headers. This method is a..." alt="" coords="337,31,697,57"><area shape="rect" id="node5" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="748,5,1068,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="752,56,1064,83"></map>
</div>

</div>
</div><p>
<a class="anchor" name="486b095a58614dfc2be0321035784306"></a><!-- doxytag: member="libdap::Connect::read_data_no_mime" ref="486b095a58614dfc2be0321035784306" args="(DataDDS &amp;data, Response *rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::read_data_no_mime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1Response.html">Response</a> *&nbsp;</td>
          <td class="paramname"> <em>rs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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>data</em>&nbsp;</td><td>Result. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rs</em>&nbsp;</td><td>Read from this <a class="el" href="classlibdap_1_1Response.html">Response</a> object. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00874">874</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, and <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>, and <a class="el" href="Connect_8cc_source.html#l00854">read_data()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_486b095a58614dfc2be0321035784306_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_486b095a58614dfc2be0321035784306_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_486b095a58614dfc2be0321035784306_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="417,5,737,32"><area shape="rect" id="node5" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="421,56,733,83"></map>
</div>

</div>
</div><p>
<a class="anchor" name="816ef3bb8e729712ffeb6523f2cc4f0e"></a><!-- doxytag: member="libdap::Connect::request_das" ref="816ef3bb8e729712ffeb6523f2cc4f0e" args="(DAS &amp;das)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_das           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DAS.html">DAS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>das</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> corresponding to the dataset in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL. Although DAP does not support using CEs with <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> requests, if present in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's instance, they will be escaped and passed as the query string of the request.<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>das</em>&nbsp;</td><td>Result. </td></tr>
  </table>
</dl>

<p>Reimplemented in <a class="el" href="classlibdap_1_1AISConnect.html#cddb989623fc4e3aed42710a50f45178">libdap::AISConnect</a>.</p>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00343">343</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="ObjectType_8h_source.html#l00057">libdap::dods_das</a>, <a class="el" href="ObjectType_8h_source.html#l00060">libdap::dods_error</a>, <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00115">libdap::Response::get_stream()</a>, <a class="el" href="Response_8h_source.html#l00119">libdap::Response::get_type()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, <a class="el" href="escaping_8cc_source.html#l00175">libdap::id2www_ce()</a>, <a class="el" href="DAS_8cc_source.html#l00277">libdap::DAS::parse()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="ObjectType_8h_source.html#l00061">libdap::web_error</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_816ef3bb8e729712ffeb6523f2cc4f0e_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_816ef3bb8e729712ffeb6523f2cc4f0e_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_816ef3bb8e729712ffeb6523f2cc4f0e_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="356,132,676,159"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="356,183,676,209"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="365,233,667,260"><area shape="rect" id="node21" href="classlibdap_1_1Response.html#b69844a814ec4036a12336640b06e279" title="libdap::Response::get_type" alt="" coords="376,284,656,311"><area shape="rect" id="node23" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="360,335,672,361"><area shape="rect" id="node25" href="namespacelibdap.html#dc33774947740cc181b6d4d7ca90e22d" title="libdap::id2www_ce" alt="" coords="420,385,612,412"><area shape="rect" id="node31" href="classlibdap_1_1DAS.html#a84ac295a96a12f9f083a8210732f5a8" title="Reads a DAS from the named file." alt="" coords="416,436,616,463"><area shape="rect" id="node33" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object." alt="" coords="405,537,627,564"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="736,5,1088,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="761,56,1063,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="727,107,1097,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="752,157,1072,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="772,208,1052,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="756,259,1068,285"><area shape="rect" id="node27" href="namespacelibdap.html#fbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="832,360,992,387"><area shape="rect" id="node29" href="namespacelibdap.html#58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="1147,360,1339,387"><area shape="rect" id="node35" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd" title="Error_buffer" alt="" coords="841,411,983,437"><area shape="rect" id="node37" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8" title="Error_delete_buffer" alt="" coords="807,461,1017,488"><area shape="rect" id="node39" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b" title="Error_switch_to_buffer" alt="" coords="792,512,1032,539"><area shape="rect" id="node41" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c" title="Errorparse" alt="" coords="852,563,972,589"><area shape="rect" id="node43" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687" title="libdap::Error::get_error_message" alt="" coords="741,613,1083,640"><area shape="rect" id="node45" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="1147,639,1339,665"><area shape="rect" id="node48" href="structlibdap_1_1parser__arg.html#9d4f550e0ca6188501290d42382e85a2" title="libdap::parser_arg::status" alt="" coords="772,715,1052,741"></map>
</div>

</div>
</div><p>
<a class="anchor" name="bcf814710de1e252e74a4e1b72d3c6b3"></a><!-- doxytag: member="libdap::Connect::request_das_url" ref="bcf814710de1e252e74a4e1b72d3c6b3" args="(DAS &amp;das)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_das_url           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DAS.html">DAS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>das</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> corresponding to the dataset in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL. Although DAP does not support using CEs with <a class="el" href="classlibdap_1_1DAS.html" title="Hold attribute data for a DAP2 dataset.">DAS</a> requests, if present in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's instance, they will be escaped and passed as the query string of the request.<p>
Different from request_das method in that this method uses the URL as given without attaching .das or projections or selections.<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>das</em>&nbsp;</td><td>Result. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00412">412</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="ObjectType_8h_source.html#l00057">libdap::dods_das</a>, <a class="el" href="ObjectType_8h_source.html#l00060">libdap::dods_error</a>, <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00115">libdap::Response::get_stream()</a>, <a class="el" href="Response_8h_source.html#l00119">libdap::Response::get_type()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, <a class="el" href="DAS_8cc_source.html#l00277">libdap::DAS::parse()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="ObjectType_8h_source.html#l00061">libdap::web_error</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_bcf814710de1e252e74a4e1b72d3c6b3_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_bcf814710de1e252e74a4e1b72d3c6b3_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_bcf814710de1e252e74a4e1b72d3c6b3_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="396,157,716,184"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="396,208,716,235"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="405,259,707,285"><area shape="rect" id="node21" href="classlibdap_1_1Response.html#b69844a814ec4036a12336640b06e279" title="libdap::Response::get_type" alt="" coords="416,309,696,336"><area shape="rect" id="node23" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="400,360,712,387"><area shape="rect" id="node25" href="classlibdap_1_1DAS.html#a84ac295a96a12f9f083a8210732f5a8" title="Reads a DAS from the named file." alt="" coords="456,411,656,437"><area shape="rect" id="node27" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object." alt="" coords="445,461,667,488"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="776,5,1128,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="801,56,1103,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="767,107,1137,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="792,157,1112,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="812,208,1092,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="796,259,1108,285"><area shape="rect" id="node29" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd" title="Error_buffer" alt="" coords="881,309,1023,336"><area shape="rect" id="node31" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8" title="Error_delete_buffer" alt="" coords="847,360,1057,387"><area shape="rect" id="node33" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b" title="Error_switch_to_buffer" alt="" coords="832,411,1072,437"><area shape="rect" id="node35" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c" title="Errorparse" alt="" coords="892,461,1012,488"><area shape="rect" id="node37" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687" title="libdap::Error::get_error_message" alt="" coords="781,512,1123,539"><area shape="rect" id="node39" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="1187,537,1379,564"><area shape="rect" id="node42" href="structlibdap_1_1parser__arg.html#9d4f550e0ca6188501290d42382e85a2" title="libdap::parser_arg::status" alt="" coords="812,613,1092,640"></map>
</div>

</div>
</div><p>
<a class="anchor" name="814e98ac5e99927ccc79bb0feb32d241"></a><!-- doxytag: member="libdap::Connect::request_data" ref="814e98ac5e99927ccc79bb0feb32d241" args="(DataDDS &amp;data, string expr=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_data           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>expr</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> object corresponding to the dataset in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL. If present in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's instance, a CE will be escaped, combined with <code>expr</code> and passed as the query string of the request. The result is a <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> which contains the data values bound to variables.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>If you need the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> to hold specializations of the type classes, be sure to include the factory class which will instantiate those specializations in the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a>. Either pass a pointer to the factory to <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> constructor or use the <a class="el" href="classlibdap_1_1DDS.html#bd73e1da6d32409062399c6e3333814a">DDS::set_factory()</a> method after the object is built.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Result. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>expr</em>&nbsp;</td><td>Send this constraint expression to the server. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00767">767</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, and <a class="el" href="escaping_8cc_source.html#l00175">libdap::id2www_ce()</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_814e98ac5e99927ccc79bb0feb32d241_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_814e98ac5e99927ccc79bb0feb32d241_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_814e98ac5e99927ccc79bb0feb32d241_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="367,157,687,184"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="367,208,687,235"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="371,259,683,285"><area shape="rect" id="node21" href="namespacelibdap.html#dc33774947740cc181b6d4d7ca90e22d" title="libdap::id2www_ce" alt="" coords="431,309,623,336"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="747,5,1099,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="772,56,1073,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="737,107,1108,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="763,157,1083,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="783,208,1063,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="767,259,1079,285"><area shape="rect" id="node23" href="namespacelibdap.html#fbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="843,309,1003,336"><area shape="rect" id="node25" href="namespacelibdap.html#58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="1157,309,1349,336"></map>
</div>

</div>
</div><p>
<a class="anchor" name="c8582099411b8d74b03e761129df5b5c"></a><!-- doxytag: member="libdap::Connect::request_data_url" ref="c8582099411b8d74b03e761129df5b5c" args="(DataDDS &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_data_url           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DataDDS.html">DataDDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> object corresponding to the dataset in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL. If present in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's instance, a CE will be escaped, combined with <code>expr</code> and passed as the query string of the request. The result is a <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> which contains the data values bound to variables.<p>
Different from request_data in that this method uses the syntax of the new OPeNDAP server commands using dispatch<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>If you need the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> to hold specializations of the type classes, be sure to include the factory class which will instantiate those specializations in the <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a>. Either pass a pointer to the factory to <a class="el" href="classlibdap_1_1DataDDS.html" title="Holds a DAP2 DDS.">DataDDS</a> constructor or use the <a class="el" href="classlibdap_1_1DDS.html#bd73e1da6d32409062399c6e3333814a">DDS::set_factory()</a> method after the object is built.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Result. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00817">817</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, and <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_c8582099411b8d74b03e761129df5b5c_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_c8582099411b8d74b03e761129df5b5c_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_c8582099411b8d74b03e761129df5b5c_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="407,132,727,159"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="407,183,727,209"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="411,233,723,260"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="787,5,1139,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="812,56,1113,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="777,107,1148,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="803,157,1123,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="823,208,1103,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="807,259,1119,285"></map>
</div>

</div>
</div><p>
<a class="anchor" name="ad5ef370110577e9ca2a0161928f9efa"></a><!-- doxytag: member="libdap::Connect::request_dds" ref="ad5ef370110577e9ca2a0161928f9efa" args="(DDS &amp;dds, string expr=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_dds           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>expr</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> corresponding to the dataset in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL. If present in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's instance, a CE will be escaped, combined with <code>expr</code> and passed as the query string of the request.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>If you need the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> to hold specializations of the type classes, be sure to include the factory class which will instantiate those specializations in the <a class="el" href="classlibdap_1_1DDS.html">DDS</a>. Either pass a pointer to the factory to <a class="el" href="classlibdap_1_1DDS.html">DDS</a> constructor or use the <a class="el" href="classlibdap_1_1DDS.html#bd73e1da6d32409062399c6e3333814a">DDS::set_factory()</a> method after the object is built.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dds</em>&nbsp;</td><td>Result. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>expr</em>&nbsp;</td><td>Send this constraint expression to the server. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00475">475</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="ObjectType_8h_source.html#l00058">libdap::dods_dds</a>, <a class="el" href="ObjectType_8h_source.html#l00060">libdap::dods_error</a>, <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00115">libdap::Response::get_stream()</a>, <a class="el" href="Response_8h_source.html#l00119">libdap::Response::get_type()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, <a class="el" href="escaping_8cc_source.html#l00175">libdap::id2www_ce()</a>, <a class="el" href="DDS_8cc_source.html#l00807">libdap::DDS::parse()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="ObjectType_8h_source.html#l00061">libdap::web_error</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_ad5ef370110577e9ca2a0161928f9efa_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_ad5ef370110577e9ca2a0161928f9efa_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_ad5ef370110577e9ca2a0161928f9efa_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="356,132,676,159"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="356,183,676,209"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="365,233,667,260"><area shape="rect" id="node21" href="classlibdap_1_1Response.html#b69844a814ec4036a12336640b06e279" title="libdap::Response::get_type" alt="" coords="376,284,656,311"><area shape="rect" id="node23" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="360,335,672,361"><area shape="rect" id="node25" href="namespacelibdap.html#dc33774947740cc181b6d4d7ca90e22d" title="libdap::id2www_ce" alt="" coords="420,385,612,412"><area shape="rect" id="node31" href="classlibdap_1_1DDS.html#733c8e49ed42ab47d74afe68056340e6" title="Parse a DDS from a file with the given name." alt="" coords="416,436,616,463"><area shape="rect" id="node33" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object." alt="" coords="405,537,627,564"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="736,5,1088,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="761,56,1063,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="727,107,1097,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="752,157,1072,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="772,208,1052,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="756,259,1068,285"><area shape="rect" id="node27" href="namespacelibdap.html#fbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="832,360,992,387"><area shape="rect" id="node29" href="namespacelibdap.html#58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="1147,360,1339,387"><area shape="rect" id="node35" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd" title="Error_buffer" alt="" coords="841,411,983,437"><area shape="rect" id="node37" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8" title="Error_delete_buffer" alt="" coords="807,461,1017,488"><area shape="rect" id="node39" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b" title="Error_switch_to_buffer" alt="" coords="792,512,1032,539"><area shape="rect" id="node41" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c" title="Errorparse" alt="" coords="852,563,972,589"><area shape="rect" id="node43" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687" title="libdap::Error::get_error_message" alt="" coords="741,613,1083,640"><area shape="rect" id="node45" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="1147,639,1339,665"><area shape="rect" id="node48" href="structlibdap_1_1parser__arg.html#9d4f550e0ca6188501290d42382e85a2" title="libdap::parser_arg::status" alt="" coords="772,715,1052,741"></map>
</div>

</div>
</div><p>
<a class="anchor" name="08795a9e160db409423fcd9058ba975d"></a><!-- doxytag: member="libdap::Connect::request_dds_url" ref="08795a9e160db409423fcd9058ba975d" args="(DDS &amp;dds)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_dds_url           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dds</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> corresponding to the dataset in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL. If present in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's instance, a CE will be escaped, combined with <code>expr</code> and passed as the query string of the request.<p>
Different from request_dds method above in that this method assumes URL is complete and does not add anything to the command, such as .dds or projections or selections.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>If you need the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> to hold specializations of the type classes, be sure to include the factory class which will instantiate those specializations in the <a class="el" href="classlibdap_1_1DDS.html">DDS</a>. Either pass a pointer to the factory to <a class="el" href="classlibdap_1_1DDS.html">DDS</a> constructor or use the <a class="el" href="classlibdap_1_1DDS.html#bd73e1da6d32409062399c6e3333814a">DDS::set_factory()</a> method after the object is built.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dds</em>&nbsp;</td><td>Result. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00559">559</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="ObjectType_8h_source.html#l00058">libdap::dods_dds</a>, <a class="el" href="ObjectType_8h_source.html#l00060">libdap::dods_error</a>, <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00115">libdap::Response::get_stream()</a>, <a class="el" href="Response_8h_source.html#l00119">libdap::Response::get_type()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, <a class="el" href="DDS_8cc_source.html#l00807">libdap::DDS::parse()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="ObjectType_8h_source.html#l00061">libdap::web_error</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_08795a9e160db409423fcd9058ba975d_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_08795a9e160db409423fcd9058ba975d_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_08795a9e160db409423fcd9058ba975d_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="396,157,716,184"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="396,208,716,235"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="405,259,707,285"><area shape="rect" id="node21" href="classlibdap_1_1Response.html#b69844a814ec4036a12336640b06e279" title="libdap::Response::get_type" alt="" coords="416,309,696,336"><area shape="rect" id="node23" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="400,360,712,387"><area shape="rect" id="node25" href="classlibdap_1_1DDS.html#733c8e49ed42ab47d74afe68056340e6" title="Parse a DDS from a file with the given name." alt="" coords="456,411,656,437"><area shape="rect" id="node27" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object." alt="" coords="445,461,667,488"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="776,5,1128,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="801,56,1103,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="767,107,1137,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="792,157,1112,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="812,208,1092,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="796,259,1108,285"><area shape="rect" id="node29" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd" title="Error_buffer" alt="" coords="881,309,1023,336"><area shape="rect" id="node31" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8" title="Error_delete_buffer" alt="" coords="847,360,1057,387"><area shape="rect" id="node33" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b" title="Error_switch_to_buffer" alt="" coords="832,411,1072,437"><area shape="rect" id="node35" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c" title="Errorparse" alt="" coords="892,461,1012,488"><area shape="rect" id="node37" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687" title="libdap::Error::get_error_message" alt="" coords="781,512,1123,539"><area shape="rect" id="node39" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="1187,537,1379,564"><area shape="rect" id="node42" href="structlibdap_1_1parser__arg.html#9d4f550e0ca6188501290d42382e85a2" title="libdap::parser_arg::status" alt="" coords="812,613,1092,640"></map>
</div>

</div>
</div><p>
<a class="anchor" name="4395cc18cf5ec1a5167795a5a5491958"></a><!-- doxytag: member="libdap::Connect::request_ddx" ref="4395cc18cf5ec1a5167795a5a5491958" args="(DDS &amp;dds, string expr=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_ddx           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>expr</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the DDX corresponding to the dataset in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL. If present in the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's instance, a CE will be escaped, combined with <code>expr</code> and passed as the query string of the request.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>A DDX is represented as XML on the wire but in memory <a class="el" href="namespacelibdap.html">libdap</a> uses a <a class="el" href="classlibdap_1_1DDS.html">DDS</a> object with variables that hold their own attributes (the <a class="el" href="classlibdap_1_1DDS.html">DDS</a> itself holds the global attributes).</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dds</em>&nbsp;</td><td>Result. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>expr</em>&nbsp;</td><td>Send this constraint expression to the server. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00619">619</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="ObjectType_8h_source.html#l00062">libdap::dap4_ddx</a>, <a class="el" href="ObjectType_8h_source.html#l00060">libdap::dods_error</a>, <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="DDS_8h_source.html#l00247">libdap::DDS::get_factory()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00115">libdap::Response::get_stream()</a>, <a class="el" href="Response_8h_source.html#l00119">libdap::Response::get_type()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, <a class="el" href="escaping_8cc_source.html#l00175">libdap::id2www_ce()</a>, <a class="el" href="DDS_8cc_source.html#l00807">libdap::DDS::parse()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="ObjectType_8h_source.html#l00061">libdap::web_error</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_4395cc18cf5ec1a5167795a5a5491958_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_4395cc18cf5ec1a5167795a5a5491958_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_4395cc18cf5ec1a5167795a5a5491958_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="356,132,676,159"><area shape="rect" id="node17" href="classlibdap_1_1DDS.html#a75678c230c20aaf7626f954de04644f" title="libdap::DDS::get_factory" alt="" coords="385,183,647,209"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="356,233,676,260"><area shape="rect" id="node21" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="365,284,667,311"><area shape="rect" id="node23" href="classlibdap_1_1Response.html#b69844a814ec4036a12336640b06e279" title="libdap::Response::get_type" alt="" coords="376,335,656,361"><area shape="rect" id="node25" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="360,385,672,412"><area shape="rect" id="node27" href="namespacelibdap.html#dc33774947740cc181b6d4d7ca90e22d" title="libdap::id2www_ce" alt="" coords="420,436,612,463"><area shape="rect" id="node33" href="classlibdap_1_1DDS.html#733c8e49ed42ab47d74afe68056340e6" title="Parse a DDS from a file with the given name." alt="" coords="416,487,616,513"><area shape="rect" id="node35" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object." alt="" coords="405,588,627,615"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="736,5,1088,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="761,56,1063,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="727,107,1097,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="752,157,1072,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="772,208,1052,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="756,259,1068,285"><area shape="rect" id="node29" href="namespacelibdap.html#fbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="832,411,992,437"><area shape="rect" id="node31" href="namespacelibdap.html#58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="1147,411,1339,437"><area shape="rect" id="node37" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd" title="Error_buffer" alt="" coords="841,461,983,488"><area shape="rect" id="node39" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8" title="Error_delete_buffer" alt="" coords="807,512,1017,539"><area shape="rect" id="node41" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b" title="Error_switch_to_buffer" alt="" coords="792,563,1032,589"><area shape="rect" id="node43" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c" title="Errorparse" alt="" coords="852,613,972,640"><area shape="rect" id="node45" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687" title="libdap::Error::get_error_message" alt="" coords="741,664,1083,691"><area shape="rect" id="node47" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="1147,689,1339,716"><area shape="rect" id="node50" href="structlibdap_1_1parser__arg.html#9d4f550e0ca6188501290d42382e85a2" title="libdap::parser_arg::status" alt="" coords="772,765,1052,792"></map>
</div>

</div>
</div><p>
<a class="anchor" name="9a3e1fe01455b60a90a1974a7e871bb4"></a><!-- doxytag: member="libdap::Connect::request_ddx_url" ref="9a3e1fe01455b60a90a1974a7e871bb4" args="(DDS &amp;dds)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::request_ddx_url           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlibdap_1_1DDS.html">DDS</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dds</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1Connect.html#4395cc18cf5ec1a5167795a5a5491958" title="Get the DDX from a server.">Connect::request_ddx</a>. </dd></dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00696">696</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="ObjectType_8h_source.html#l00062">libdap::dap4_ddx</a>, <a class="el" href="ObjectType_8h_source.html#l00060">libdap::dods_error</a>, <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00115">libdap::Response::get_stream()</a>, <a class="el" href="Response_8h_source.html#l00119">libdap::Response::get_type()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, <a class="el" href="DDS_8cc_source.html#l00807">libdap::DDS::parse()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="ObjectType_8h_source.html#l00061">libdap::web_error</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_9a3e1fe01455b60a90a1974a7e871bb4_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_9a3e1fe01455b60a90a1974a7e871bb4_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_9a3e1fe01455b60a90a1974a7e871bb4_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="396,157,716,184"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="396,208,716,235"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#5b4903bb627c5e6ccd4cd50712e1f0a1" title="libdap::Response::get_stream" alt="" coords="405,259,707,285"><area shape="rect" id="node21" href="classlibdap_1_1Response.html#b69844a814ec4036a12336640b06e279" title="libdap::Response::get_type" alt="" coords="416,309,696,336"><area shape="rect" id="node23" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="400,360,712,387"><area shape="rect" id="node25" href="classlibdap_1_1DDS.html#733c8e49ed42ab47d74afe68056340e6" title="Parse a DDS from a file with the given name." alt="" coords="456,411,656,437"><area shape="rect" id="node27" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object." alt="" coords="445,461,667,488"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="776,5,1128,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="801,56,1103,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="767,107,1137,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="792,157,1112,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="812,208,1092,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="796,259,1108,285"><area shape="rect" id="node29" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd" title="Error_buffer" alt="" coords="881,309,1023,336"><area shape="rect" id="node31" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8" title="Error_delete_buffer" alt="" coords="847,360,1057,387"><area shape="rect" id="node33" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b" title="Error_switch_to_buffer" alt="" coords="832,411,1072,437"><area shape="rect" id="node35" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c" title="Errorparse" alt="" coords="892,461,1012,488"><area shape="rect" id="node37" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687" title="libdap::Error::get_error_message" alt="" coords="781,512,1123,539"><area shape="rect" id="node39" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="1187,537,1379,564"><area shape="rect" id="node42" href="structlibdap_1_1parser__arg.html#9d4f550e0ca6188501290d42382e85a2" title="libdap::parser_arg::status" alt="" coords="812,613,1092,640"></map>
</div>

</div>
</div><p>
<a class="anchor" name="aa1ab562899da9a4630de01f943d1aa9"></a><!-- doxytag: member="libdap::Connect::request_protocol" ref="aa1ab562899da9a4630de01f943d1aa9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::Connect::request_protocol           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get protocol version information from the server. This is a new method which will ease the transition to DAP 4. Note that this method returns the version of the DAP protocol implemented by the server. The <a class="el" href="classlibdap_1_1Connect.html#c7a5896a09882004b75e581999940526">request_version()</a> method returns the <em>server's</em> version number, not the DAP protocol version.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This method actually asks the server for the protocol version - use <a class="el" href="classlibdap_1_1Connect.html#4223a898b3da719509d173dd990c45f1">get_protocol()</a> to get the protocol information from the most recent response (e.g., from the last DDX response returned by the server).</dd></dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The DAP protocol version string. </dd></dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00313">313</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, and <a class="el" href="escaping_8cc_source.html#l00175">libdap::id2www_ce()</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_aa1ab562899da9a4630de01f943d1aa9_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_aa1ab562899da9a4630de01f943d1aa9_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_aa1ab562899da9a4630de01f943d1aa9_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="407,157,727,184"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="407,208,727,235"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="411,259,723,285"><area shape="rect" id="node21" href="namespacelibdap.html#dc33774947740cc181b6d4d7ca90e22d" title="libdap::id2www_ce" alt="" coords="471,309,663,336"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="787,5,1139,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="812,56,1113,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="777,107,1148,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="803,157,1123,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="823,208,1103,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="807,259,1119,285"><area shape="rect" id="node23" href="namespacelibdap.html#fbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="883,309,1043,336"><area shape="rect" id="node25" href="namespacelibdap.html#58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="1197,309,1389,336"></map>
</div>

</div>
</div><p>
<a class="anchor" name="c7a5896a09882004b75e581999940526"></a><!-- doxytag: member="libdap::Connect::request_version" ref="c7a5896a09882004b75e581999940526" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::Connect::request_version           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get version information from the server. This is a new method which will ease the transition to DAP 4.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Use <a class="el" href="classlibdap_1_1Connect.html#aa1ab562899da9a4630de01f943d1aa9">request_protocol()</a> to get the DAP protocol version.</dd></dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The DAP version string. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classlibdap_1_1Connect.html#aa1ab562899da9a4630de01f943d1aa9">request_protocol()</a> </dd></dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00279">279</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8cc_source.html#l00645">libdap::HTTPConnect::fetch_url()</a>, <a class="el" href="Response_8h_source.html#l00127">libdap::Response::get_protocol()</a>, <a class="el" href="Response_8h_source.html#l00123">libdap::Response::get_version()</a>, and <a class="el" href="escaping_8cc_source.html#l00175">libdap::id2www_ce()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_c7a5896a09882004b75e581999940526_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_c7a5896a09882004b75e581999940526_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_c7a5896a09882004b75e581999940526_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#5e3558838e245a96c9392b33ef4ba298" title="libdap::HTTPConnect::fetch_url" alt="" coords="396,157,716,184"><area shape="rect" id="node17" href="classlibdap_1_1Response.html#e33bebc83bcfbd2bf958697e4516b2d7" title="libdap::Response::get_protocol" alt="" coords="396,208,716,235"><area shape="rect" id="node19" href="classlibdap_1_1Response.html#654eedafce6ecb816324713150914fec" title="libdap::Response::get_version" alt="" coords="400,259,712,285"><area shape="rect" id="node21" href="namespacelibdap.html#dc33774947740cc181b6d4d7ca90e22d" title="libdap::id2www_ce" alt="" coords="460,309,652,336"><area shape="rect" id="node5" href="classlibdap_1_1HTTPResponse.html#049aad48922776e0e3d66ab843a2a4db" title="libdap::HTTPResponse::get_headers" alt="" coords="776,5,1128,32"><area shape="rect" id="node7" href="classlibdap_1_1Response.html#17cd38845849694a82f943c90919ea35" title="libdap::Response::get_status" alt="" coords="801,56,1103,83"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#4492276bc732605cef02a146a657811f" title="libdap::HTTPCache::is_cache_enabled" alt="" coords="767,107,1137,133"><area shape="rect" id="node11" href="classlibdap_1_1Response.html#f077130cb39ac3c370776d490e81720b" title="libdap::Response::set_protocol" alt="" coords="792,157,1112,184"><area shape="rect" id="node13" href="classlibdap_1_1Response.html#7a7807d0a45dd1f6111987f054956e24" title="libdap::Response::set_type" alt="" coords="812,208,1092,235"><area shape="rect" id="node15" href="classlibdap_1_1Response.html#041d867c1ce5302a2033a8065c6d52a9" title="libdap::Response::set_version" alt="" coords="796,259,1108,285"><area shape="rect" id="node23" href="namespacelibdap.html#fbd709ed83699c11234a213463d16b9c" title="libdap::id2www" alt="" coords="872,309,1032,336"><area shape="rect" id="node25" href="namespacelibdap.html#58976ab42baea9bf93449dda9e18342a" title="libdap::hexstring" alt="" coords="1187,309,1379,336"></map>
</div>

</div>
</div><p>
<a class="anchor" name="186f76bfea3b61dc3587bcff5760ed8b"></a><!-- doxytag: member="libdap::Connect::set_accept_deflate" ref="186f76bfea3b61dc3587bcff5760ed8b" args="(bool deflate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::set_accept_deflate           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>deflate</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the <em>accept</em> deflate property. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>deflate</em>&nbsp;</td><td>True if the client can accept compressed responses, False otherwise. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00951">951</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8cc_source.html#l00972">libdap::HTTPConnect::set_accept_deflate()</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_186f76bfea3b61dc3587bcff5760ed8b_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_186f76bfea3b61dc3587bcff5760ed8b_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_186f76bfea3b61dc3587bcff5760ed8b_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#01d67a5afa18a84ef744b8f222094260" title="libdap::HTTPConnect::set_accept_deflate" alt="" coords="428,5,839,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="25c97c4ad0239a9dd10812c880c40efe"></a><!-- doxytag: member="libdap::Connect::set_cache_enabled" ref="25c97c4ad0239a9dd10812c880c40efe" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::set_cache_enabled           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>cache</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Disable any further use of the client-side cache. In a future version of this software, this should be handled so that the www library is not initialized with the cache running by default. 
<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00973">973</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8h_source.html#l00155">libdap::HTTPConnect::set_cache_enabled()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_25c97c4ad0239a9dd10812c880c40efe_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_25c97c4ad0239a9dd10812c880c40efe_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_25c97c4ad0239a9dd10812c880c40efe_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#af200f19c2a64adc4b17887372dcc595" title="libdap::HTTPConnect::set_cache_enabled" alt="" coords="417,31,817,57"><area shape="rect" id="node5" href="classlibdap_1_1HTTPCache.html#71aa835c2b38bc0e891f40b5a77c53ce" title="libdap::HTTPCache::set_cache_enabled" alt="" coords="867,31,1248,57"><area shape="rect" id="node7" href="classlibdap_1_1HTTPCache.html#71ed87540113c4403a33bb436d3f8b9c" title="libdap::HTTPCache::lock_cache_interface" alt="" coords="1307,5,1717,32"><area shape="rect" id="node9" href="classlibdap_1_1HTTPCache.html#5b6a28e17912e87389260f7695fdf876" title="libdap::HTTPCache::unlock_cache_interface" alt="" coords="1296,56,1728,83"></map>
</div>

</div>
</div><p>
<a class="anchor" name="847af75e149f123a51a560119dfc06aa"></a><!-- doxytag: member="libdap::Connect::set_credentials" ref="847af75e149f123a51a560119dfc06aa" args="(string u, string p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::set_credentials           </td>
          <td>(</td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>p</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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>u</em>&nbsp;</td><td>The username. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>The password. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>extract_auth_info() </dd></dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00941">941</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8cc_source.html#l01046">libdap::HTTPConnect::set_credentials()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_847af75e149f123a51a560119dfc06aa_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_847af75e149f123a51a560119dfc06aa_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_847af75e149f123a51a560119dfc06aa_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#84190d0d80154943ee997c4982a7c96a" title="libdap::HTTPConnect::set_credentials" alt="" coords="395,5,776,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="b9c4a1243218c98d46fbaace37a821fc"></a><!-- doxytag: member="libdap::Connect::set_xdap_accept" ref="b9c4a1243218c98d46fbaace37a821fc" args="(int major, int minor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::set_xdap_accept           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>major</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>minor</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="4af759a2313d9ecbc1db1c811f549379"></a><!-- doxytag: member="libdap::Connect::set_xdap_protocol" ref="4af759a2313d9ecbc1db1c811f549379" args="(int major, int minor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Connect::set_xdap_protocol           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>major</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>minor</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the <em>XDAP-Accept</em> property/header. This is used to send to a server the (highest) DAP protocol version number that this client understands.<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>major</em>&nbsp;</td><td>The client dap protocol major version </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>minor</em>&nbsp;</td><td>The client dap protocol minor version </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00963">963</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>References <a class="el" href="HTTPConnect_8cc_source.html#l01009">libdap::HTTPConnect::set_xdap_protocol()</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Connect_4af759a2313d9ecbc1db1c811f549379_cgraph.png" border="0" usemap="#classlibdap_1_1Connect_4af759a2313d9ecbc1db1c811f549379_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Connect_4af759a2313d9ecbc1db1c811f549379_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1HTTPConnect.html#c232e85c5d2448c66c1a24f62dcbf89a" title="libdap::HTTPConnect::set_xdap_protocol" alt="" coords="417,5,817,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="523bf24520185e3d71f36ac0203b98e6"></a><!-- doxytag: member="libdap::Connect::URL" ref="523bf24520185e3d71f36ac0203b98e6" args="(bool CE=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::Connect::URL           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>ce</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL in a string. The URL was set by the class constructor, and may not be reset. If you want to open another URL, you must create another <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object. There is a Connections class created to handle the management of multiple <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> objects.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>Connections </dd></dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the URL of the data to which the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object refers. If the object refers to local data, the function returns the null string. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ce</em>&nbsp;</td><td>If TRUE, the returned URL will include any constraint expression enclosed with the <a class="el" href="classlibdap_1_1Connect.html" title="Holds information about the link from a DAP2 client to a dataset.">Connect</a> object's URL (including the <code>?</code>). If FALSE, any constraint expression will be removed from the URL. The default is TRUE. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Connect_8cc_source.html#l00905">905</a> of file <a class="el" href="Connect_8cc_source.html">Connect.cc</a>.</p>

<p>Referenced by <a class="el" href="getdap_8cc_source.html#l00152">main()</a>, and <a class="el" href="AISConnect_8cc_source.html#l00079">libdap::AISConnect::request_das()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Connect_8h_source.html">Connect.h</a><li><a class="el" href="Connect_8cc_source.html">Connect.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 19:59:08 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>