Sophie

Sophie

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

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::XDRUtils 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_1XDRUtils.html">XDRUtils</a>
  </div>
</div>
<div class="contents">
<h1>libdap::XDRUtils Class Reference</h1><!-- doxytag: class="libdap::XDRUtils" --><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><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static xdrproc_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1XDRUtils.html#af9f4be9a9e22a10416bfbad841751a3">xdr_coder</a> (const <a class="el" href="namespacelibdap.html#05ca706d4539ae7b750c3bc7066ab6e6">Type</a> &amp;t)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a function used to encode elements of an array.  <a href="#af9f4be9a9e22a10416bfbad841751a3"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<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>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="af9f4be9a9e22a10416bfbad841751a3"></a><!-- doxytag: member="libdap::XDRUtils::xdr_coder" ref="af9f4be9a9e22a10416bfbad841751a3" 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#05ca706d4539ae7b750c3bc7066ab6e6">Type</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>          </td>
          <td>&nbsp;)&nbsp;</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" compact><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.<p>
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" compact><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#l00140">libdap::dods_array_c</a>, <a class="el" href="BaseType_8h_source.html#l00131">libdap::dods_byte_c</a>, <a class="el" href="BaseType_8h_source.html#l00136">libdap::dods_float32_c</a>, <a class="el" href="BaseType_8h_source.html#l00137">libdap::dods_float64_c</a>, <a class="el" href="BaseType_8h_source.html#l00143">libdap::dods_grid_c</a>, <a class="el" href="BaseType_8h_source.html#l00132">libdap::dods_int16_c</a>, <a class="el" href="BaseType_8h_source.html#l00134">libdap::dods_int32_c</a>, <a class="el" href="BaseType_8h_source.html#l00142">libdap::dods_sequence_c</a>, <a class="el" href="BaseType_8h_source.html#l00138">libdap::dods_str_c</a>, <a class="el" href="BaseType_8h_source.html#l00141">libdap::dods_structure_c</a>, <a class="el" href="BaseType_8h_source.html#l00133">libdap::dods_uint16_c</a>, <a class="el" href="BaseType_8h_source.html#l00135">libdap::dods_uint32_c</a>, <a class="el" href="BaseType_8h_source.html#l00139">libdap::dods_url_c</a>, <a class="el" href="config_8h_source.html#l00392">XDR_FLOAT32</a>, <a class="el" href="config_8h_source.html#l00395">XDR_FLOAT64</a>, <a class="el" href="config_8h_source.html#l00398">XDR_INT16</a>, <a class="el" href="config_8h_source.html#l00401">XDR_INT32</a>, <a class="el" href="config_8h_source.html#l00404">XDR_UINT16</a>, and <a class="el" href="config_8h_source.html#l00407">XDR_UINT32</a>.</p>

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

</div>
</div><p>
<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><a class="el" href="XDRUtils_8cc_source.html">XDRUtils.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 20:00:15 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>