Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > c9cfbd1355daacaf3b34517a6d7b18cc > files > 1077

libdap-doc-3.11.0-2.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libdap++: libdap::XDRUtils Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libdap++&#160;<span id="projectnumber">Updated for version 3.8.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classlibdap_1_1XDRUtils.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>libdap::XDRUtils Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="libdap::XDRUtils" -->
<p><code>#include &lt;<a class="el" href="XDRUtils_8h_source.html">XDRUtils.h</a>&gt;</code></p>

<p><a href="classlibdap_1_1XDRUtils-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static xdrproc_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1XDRUtils.html#aaf9f4be9a9e22a10416bfbad841751a3">xdr_coder</a> (const <a class="el" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6">Type</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a function used to encode elements of an array.  <a href="#aaf9f4be9a9e22a10416bfbad841751a3"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="XDRUtils_8h_source.html#l00058">58</a> of file <a class="el" href="XDRUtils_8h_source.html">XDRUtils.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaf9f4be9a9e22a10416bfbad841751a3"></a><!-- doxytag: member="libdap::XDRUtils::xdr_coder" ref="aaf9f4be9a9e22a10416bfbad841751a3" args="(const Type &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xdrproc_t libdap::XDRUtils::xdr_coder </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6">Type</a> &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The <code>xdr_coder</code> function (also "filter primitive") is used to encode and decode each element in a multiple element data structure. These functions are used to convert data to and from its local representation to the XDR representation, which is used to transmit and receive the data. See <code>man xdr</code> for more information about the available XDR filter primitives.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This class data is only used for multiple element data types. The simple data types (Int, Float, and so on), are translated directly.</dd>
<dd>
Even though <a class="el" href="classlibdap_1_1Byte.html" title="Holds a single byte.">Byte</a> is a cardinal type, xdr_char is <em>not</em> used to transport <a class="el" href="classlibdap_1_1Byte.html" title="Holds a single byte.">Byte</a> arrays over the network. Instead, <a class="el" href="classlibdap_1_1Byte.html" title="Holds a single byte.">Byte</a> is a special case handled in <a class="el" href="classlibdap_1_1Array.html" title="A multidimensional array of identical data types.">Array</a>.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C function used to encode data in the XDR format. </dd></dl>

<p>Definition at line <a class="el" href="XDRUtils_8cc_source.html#l00143">143</a> of file <a class="el" href="XDRUtils_8cc_source.html">XDRUtils.cc</a>.</p>

<p>References <a class="el" href="BaseType_8h_source.html#l00142">libdap::dods_array_c</a>, <a class="el" href="BaseType_8h_source.html#l00133">libdap::dods_byte_c</a>, <a class="el" href="BaseType_8h_source.html#l00138">libdap::dods_float32_c</a>, <a class="el" href="BaseType_8h_source.html#l00139">libdap::dods_float64_c</a>, <a class="el" href="BaseType_8h_source.html#l00145">libdap::dods_grid_c</a>, <a class="el" href="BaseType_8h_source.html#l00134">libdap::dods_int16_c</a>, <a class="el" href="BaseType_8h_source.html#l00136">libdap::dods_int32_c</a>, <a class="el" href="BaseType_8h_source.html#l00144">libdap::dods_sequence_c</a>, <a class="el" href="BaseType_8h_source.html#l00140">libdap::dods_str_c</a>, <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_structure_c</a>, <a class="el" href="BaseType_8h_source.html#l00135">libdap::dods_uint16_c</a>, <a class="el" href="BaseType_8h_source.html#l00137">libdap::dods_uint32_c</a>, <a class="el" href="BaseType_8h_source.html#l00141">libdap::dods_url_c</a>, <a class="el" href="config_8h_source.html#l00380">XDR_FLOAT32</a>, <a class="el" href="config_8h_source.html#l00383">XDR_FLOAT64</a>, <a class="el" href="config_8h_source.html#l00386">XDR_INT16</a>, <a class="el" href="config_8h_source.html#l00389">XDR_INT32</a>, <a class="el" href="config_8h_source.html#l00392">XDR_UINT16</a>, and <a class="el" href="config_8h_source.html#l00395">XDR_UINT32</a>.</p>

<p>Referenced by <a class="el" href="XDRStreamUnMarshaller_8cc_source.html#l00295">libdap::XDRStreamUnMarshaller::get_vector()</a>, <a class="el" href="XDRFileUnMarshaller_8cc_source.html#l00179">libdap::XDRFileUnMarshaller::get_vector()</a>, <a class="el" href="XDRStreamMarshaller_8cc_source.html#l00332">libdap::XDRStreamMarshaller::put_vector()</a>, and <a class="el" href="XDRFileMarshaller_8cc_source.html#l00184">libdap::XDRFileMarshaller::put_vector()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="XDRUtils_8h_source.html">XDRUtils.h</a></li>
<li><a class="el" href="XDRUtils_8cc_source.html">XDRUtils.cc</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacelibdap.html">libdap</a>      </li>
      <li class="navelem"><a class="el" href="classlibdap_1_1XDRUtils.html">XDRUtils</a>      </li>
      <li class="footer">Generated on Tue Feb 8 2011 for libdap++ by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>

</body>
</html>