Sophie

Sophie

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

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++: BaseType.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#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('BaseType_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<h1>BaseType.h</h1>  </div>
</div>
<div class="contents">
<a href="BaseType_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00002"></a>00002 <span class="comment">// -*- mode: c++; c-basic-offset:4 -*-</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="comment">// This file is part of libdap, A C++ implementation of the OPeNDAP Data</span>
<a name="l00005"></a>00005 <span class="comment">// Access Protocol.</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="comment">// Copyright (c) 2002,2003 OPeNDAP, Inc.</span>
<a name="l00008"></a>00008 <span class="comment">// Author: James Gallagher &lt;jgallagher@opendap.org&gt;</span>
<a name="l00009"></a>00009 <span class="comment">//         Dan Holloway &lt;dan@hollywood.gso.uri.edu&gt;</span>
<a name="l00010"></a>00010 <span class="comment">//         Reza Nekovei &lt;reza@intcomm.net&gt;</span>
<a name="l00011"></a>00011 <span class="comment">//</span>
<a name="l00012"></a>00012 <span class="comment">// This library is free software; you can redistribute it and/or</span>
<a name="l00013"></a>00013 <span class="comment">// modify it under the terms of the GNU Lesser General Public</span>
<a name="l00014"></a>00014 <span class="comment">// License as published by the Free Software Foundation; either</span>
<a name="l00015"></a>00015 <span class="comment">// version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00016"></a>00016 <span class="comment">//</span>
<a name="l00017"></a>00017 <span class="comment">// This library is distributed in the hope that it will be useful,</span>
<a name="l00018"></a>00018 <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00019"></a>00019 <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00020"></a>00020 <span class="comment">// Lesser General Public License for more details.</span>
<a name="l00021"></a>00021 <span class="comment">//</span>
<a name="l00022"></a>00022 <span class="comment">// You should have received a copy of the GNU Lesser General Public</span>
<a name="l00023"></a>00023 <span class="comment">// License along with this library; if not, write to the Free Software</span>
<a name="l00024"></a>00024 <span class="comment">// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00025"></a>00025 <span class="comment">//</span>
<a name="l00026"></a>00026 <span class="comment">// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="comment">// (c) COPYRIGHT URI/MIT 1994-1999</span>
<a name="l00029"></a>00029 <span class="comment">// Please read the full copyright statement in the file COPYRIGHT_URI.</span>
<a name="l00030"></a>00030 <span class="comment">//</span>
<a name="l00031"></a>00031 <span class="comment">// Authors:</span>
<a name="l00032"></a>00032 <span class="comment">//      jhrg,jimg       James Gallagher &lt;jgallagher@gso.uri.edu&gt;</span>
<a name="l00033"></a>00033 <span class="comment">//      dan             Dan Holloway &lt;dan@hollywood.gso.uri.edu&gt;</span>
<a name="l00034"></a>00034 <span class="comment">//      reza            Reza Nekovei &lt;reza@intcomm.net&gt;</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="comment">// Abstract base class for the variables in a dataset. This is used to store</span>
<a name="l00037"></a>00037 <span class="comment">// the type-invariant information that describes a variable as given in the</span>
<a name="l00038"></a>00038 <span class="comment">// DODS API.</span>
<a name="l00039"></a>00039 <span class="comment">//</span>
<a name="l00040"></a>00040 <span class="comment">// jhrg 9/6/94</span>
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="preprocessor">#ifndef _basetype_h</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define _basetype_h 1</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00047"></a>00047 <span class="preprocessor">#include &lt;stack&gt;</span>
<a name="l00048"></a>00048 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00049"></a>00049 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="preprocessor">#ifndef _attrtable_h</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="AttrTable_8h.html">AttrTable.h</a>&quot;</span>
<a name="l00053"></a>00053 <span class="preprocessor">#endif</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00055"></a>00055 <span class="preprocessor">#ifndef _internalerr_h</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="InternalErr_8h.html">InternalErr.h</a>&quot;</span>
<a name="l00057"></a>00057 <span class="preprocessor">#endif</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span>
<a name="l00059"></a>00059 <span class="preprocessor">#ifndef __DODS_DATATYPES_</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="dods-datatypes_8h.html">dods-datatypes.h</a>&quot;</span>
<a name="l00061"></a>00061 <span class="preprocessor">#endif</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00063"></a>00063 <span class="preprocessor">#ifndef A_DapObj_h</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="DapObj_8h.html">DapObj.h</a>&quot;</span>
<a name="l00065"></a>00065 <span class="preprocessor">#endif</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00067"></a>00067 <span class="preprocessor">#include &quot;<a class="code" href="Marshaller_8h.html">Marshaller.h</a>&quot;</span>
<a name="l00068"></a>00068 <span class="preprocessor">#include &quot;<a class="code" href="UnMarshaller_8h.html">UnMarshaller.h</a>&quot;</span>
<a name="l00069"></a>00069 
<a name="l00070"></a><a class="code" href="BaseType_8h.html#a17b2c419b8632438a2058df948bd87c7">00070</a> <span class="preprocessor">#define FILE_METHODS 1</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00072"></a>00072 <span class="keyword">using namespace </span>std;
<a name="l00073"></a>00073 
<a name="l00074"></a>00074 <span class="keyword">namespace </span>libdap
<a name="l00075"></a>00075 {
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 <span class="keyword">class </span>DDS;
<a name="l00078"></a>00078 <span class="keyword">class </span>ConstraintEvaluator;
<a name="l00079"></a>00079 
<a name="l00098"></a><a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695">00098</a> <span class="keyword">enum</span> <a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695" title="Names the parts of multi-section constructor data types.">Part</a> {
<a name="l00099"></a><a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695a86819e8da7d767f7c916c6b5da0feb6b">00099</a>     <a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695a86819e8da7d767f7c916c6b5da0feb6b">nil</a>,   <span class="comment">// nil is for types that don&#39;t have parts...</span>
<a name="l00100"></a><a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695aed5453774cf1a62b2f92c0c70b989247">00100</a>     <a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695aed5453774cf1a62b2f92c0c70b989247">array</a>,
<a name="l00101"></a><a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695aaa7dc708bd26f663a00ecf52a673da1b">00101</a>     <a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695aaa7dc708bd26f663a00ecf52a673da1b">maps</a>
<a name="l00102"></a>00102 };
<a name="l00103"></a>00103 
<a name="l00131"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6">00131</a> <span class="keyword">enum</span> <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6" title="Identifies the data type.">Type</a> {
<a name="l00132"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6aa146d902a00eb7e9bb393f4e36bd07de">00132</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6aa146d902a00eb7e9bb393f4e36bd07de">dods_null_c</a>,
<a name="l00133"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a4124790aeab42dbcd3d5303dea15b200">00133</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a4124790aeab42dbcd3d5303dea15b200">dods_byte_c</a>,
<a name="l00134"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a37d71c620b71be06fbe667e7cb0e80e4">00134</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a37d71c620b71be06fbe667e7cb0e80e4">dods_int16_c</a>,
<a name="l00135"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a84188f64695716d84cefe910704ca094">00135</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a84188f64695716d84cefe910704ca094">dods_uint16_c</a>,
<a name="l00136"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a524bfec434d0a8f82e06bfcc02c9a6b1">00136</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a524bfec434d0a8f82e06bfcc02c9a6b1">dods_int32_c</a>,  <span class="comment">// Added `dods_&#39; to fix clash with IRIX 5.3.</span>
<a name="l00137"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a1bdeca4f415a3372b83448efd87bff83">00137</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a1bdeca4f415a3372b83448efd87bff83">dods_uint32_c</a>,
<a name="l00138"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a6aff4fd17f027d0f0c41423e2f74a68c">00138</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a6aff4fd17f027d0f0c41423e2f74a68c">dods_float32_c</a>,
<a name="l00139"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a8661c9f9c227fe59b7f5563f20e145d6">00139</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a8661c9f9c227fe59b7f5563f20e145d6">dods_float64_c</a>,
<a name="l00140"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ad620cef0bf41edebd4ee802071192a79">00140</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ad620cef0bf41edebd4ee802071192a79">dods_str_c</a>,
<a name="l00141"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a64d653d09a50d6d17537c43ed217f665">00141</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a64d653d09a50d6d17537c43ed217f665">dods_url_c</a>,
<a name="l00142"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ada8f5df7bb2bc72327fcd16af811562f">00142</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ada8f5df7bb2bc72327fcd16af811562f">dods_array_c</a>,
<a name="l00143"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ad93eb0a69e67742f061966ce594b9a6c">00143</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ad93eb0a69e67742f061966ce594b9a6c">dods_structure_c</a>,
<a name="l00144"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a0b03707324b30e4a7c88876bbf8c7e3b">00144</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6a0b03707324b30e4a7c88876bbf8c7e3b">dods_sequence_c</a>,
<a name="l00145"></a><a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ac41525d2e860d3bcff641eb1fdba41d2">00145</a>     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6ac41525d2e860d3bcff641eb1fdba41d2">dods_grid_c</a>
<a name="l00146"></a>00146 };
<a name="l00147"></a>00147 
<a name="l00190"></a><a class="code" href="classlibdap_1_1BaseType.html">00190</a> <span class="keyword">class </span><a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> : <span class="keyword">public</span> <a class="code" href="classlibdap_1_1DapObj.html" title="libdap base object for common functionality of libdap objects">DapObj</a>
<a name="l00191"></a>00191 {
<a name="l00192"></a>00192 <span class="keyword">private</span>:
<a name="l00193"></a>00193     <span class="keywordtype">string</span> _name;  <span class="comment">// name of the instance</span>
<a name="l00194"></a>00194     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6" title="Identifies the data type.">Type</a> _type;   <span class="comment">// instance&#39;s type</span>
<a name="l00195"></a>00195     <span class="keywordtype">string</span> _dataset; <span class="comment">// name of the dataset used to create this BaseType</span>
<a name="l00196"></a>00196 
<a name="l00197"></a>00197     <span class="keywordtype">bool</span> _read_p;  <span class="comment">// true if the value has been read</span>
<a name="l00198"></a>00198     <span class="keywordtype">bool</span> _send_p;  <span class="comment">// Is the variable in the projection?</span>
<a name="l00199"></a>00199     <span class="keywordtype">bool</span> d_in_selection; <span class="comment">// Is the variable in the selection?</span>
<a name="l00200"></a>00200     <span class="keywordtype">bool</span> _synthesized_p; <span class="comment">// true if the variable is synthesized</span>
<a name="l00201"></a>00201 
<a name="l00202"></a>00202     <span class="comment">// d_parent points to the Constructor or Vector which holds a particular</span>
<a name="l00203"></a>00203     <span class="comment">// variable. It is null for simple variables. The Vector and Constructor</span>
<a name="l00204"></a>00204     <span class="comment">// classes must maintain this variable.</span>
<a name="l00205"></a>00205     <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *d_parent;
<a name="l00206"></a>00206 
<a name="l00207"></a>00207     <span class="comment">// Attributes for this variable. Added 05/20/03 jhrg</span>
<a name="l00208"></a>00208     <a class="code" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset.">AttrTable</a> d_attr;
<a name="l00209"></a>00209 
<a name="l00210"></a>00210 <span class="keyword">protected</span>:
<a name="l00211"></a>00211     <span class="keywordtype">void</span> _duplicate(<span class="keyword">const</span> <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> &amp;bt);
<a name="l00212"></a>00212 
<a name="l00213"></a>00213 <span class="keyword">public</span>:
<a name="l00214"></a><a class="code" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">00214</a>     <span class="keyword">typedef</span> stack&lt;BaseType *&gt; <a class="code" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a>;
<a name="l00215"></a>00215 
<a name="l00216"></a>00216     <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a>(<span class="keyword">const</span> <span class="keywordtype">string</span> &amp;n, <span class="keyword">const</span> <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6" title="Identifies the data type.">Type</a> &amp;t);
<a name="l00217"></a>00217     <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a>(<span class="keyword">const</span> <span class="keywordtype">string</span> &amp;n, <span class="keyword">const</span> <span class="keywordtype">string</span> &amp;d, <span class="keyword">const</span> <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6" title="Identifies the data type.">Type</a> &amp;t);
<a name="l00218"></a>00218 
<a name="l00219"></a>00219     <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a>(<span class="keyword">const</span> <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> &amp;copy_from);
<a name="l00220"></a>00220     <span class="keyword">virtual</span> ~<a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a>();
<a name="l00221"></a>00221 
<a name="l00222"></a>00222     <span class="keyword">virtual</span> <span class="keywordtype">string</span> toString();
<a name="l00223"></a>00223 
<a name="l00224"></a>00224     <span class="keyword">virtual</span> <span class="keywordtype">void</span> dump(ostream &amp;strm) <span class="keyword">const</span> ;
<a name="l00225"></a>00225 
<a name="l00226"></a>00226     <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> &amp;rhs);
<a name="l00227"></a>00227 
<a name="l00234"></a>00234     <span class="keyword">virtual</span> <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *ptr_duplicate() = 0;
<a name="l00235"></a>00235 
<a name="l00236"></a>00236     <span class="keywordtype">string</span> name() <span class="keyword">const</span>;
<a name="l00237"></a>00237     <span class="keyword">virtual</span> <span class="keywordtype">void</span> set_name(<span class="keyword">const</span> <span class="keywordtype">string</span> &amp;n);
<a name="l00238"></a>00238 
<a name="l00239"></a>00239     <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6" title="Identifies the data type.">Type</a> type() <span class="keyword">const</span>;
<a name="l00240"></a>00240     <span class="keywordtype">void</span> set_type(<span class="keyword">const</span> <a class="code" href="namespacelibdap.html#a05ca706d4539ae7b750c3bc7066ab6e6" title="Identifies the data type.">Type</a> &amp;t);
<a name="l00241"></a>00241     <span class="keywordtype">string</span> type_name() <span class="keyword">const</span>;
<a name="l00242"></a>00242 
<a name="l00243"></a>00243     <span class="keywordtype">string</span> dataset() <span class="keyword">const</span> ;
<a name="l00244"></a>00244 
<a name="l00245"></a>00245     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> is_simple_type();
<a name="l00246"></a>00246     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> is_vector_type();
<a name="l00247"></a>00247     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> is_constructor_type();
<a name="l00248"></a>00248 
<a name="l00249"></a>00249     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> synthesized_p();
<a name="l00250"></a>00250     <span class="keyword">virtual</span> <span class="keywordtype">void</span> set_synthesized_p(<span class="keywordtype">bool</span> state);
<a name="l00251"></a>00251 
<a name="l00252"></a>00252     <span class="keyword">virtual</span> <span class="keywordtype">int</span> element_count(<span class="keywordtype">bool</span> leaves = <span class="keyword">false</span>);
<a name="l00253"></a>00253 
<a name="l00254"></a>00254     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> read_p();
<a name="l00255"></a>00255     <span class="keyword">virtual</span> <span class="keywordtype">void</span> set_read_p(<span class="keywordtype">bool</span> state);
<a name="l00256"></a>00256 
<a name="l00257"></a>00257     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> send_p();
<a name="l00258"></a>00258     <span class="keyword">virtual</span> <span class="keywordtype">void</span> set_send_p(<span class="keywordtype">bool</span> state);
<a name="l00259"></a>00259 
<a name="l00260"></a>00260     <span class="keyword">virtual</span> <a class="code" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset.">AttrTable</a> &amp;get_attr_table();
<a name="l00261"></a>00261     <span class="keyword">virtual</span> <span class="keywordtype">void</span> set_attr_table(<span class="keyword">const</span> <a class="code" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset.">AttrTable</a> &amp;at);
<a name="l00262"></a>00262 
<a name="l00263"></a>00263     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> is_in_selection();
<a name="l00264"></a>00264     <span class="keyword">virtual</span> <span class="keywordtype">void</span> set_in_selection(<span class="keywordtype">bool</span> state);
<a name="l00265"></a>00265 
<a name="l00266"></a>00266     <span class="keyword">virtual</span> <span class="keywordtype">void</span> set_parent(<a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *parent);
<a name="l00267"></a>00267     <span class="keyword">virtual</span> <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *get_parent();
<a name="l00268"></a>00268 
<a name="l00269"></a>00269     <span class="keyword">virtual</span> <span class="keywordtype">void</span> transfer_attributes(<a class="code" href="classlibdap_1_1AttrTable.html" title="Contains the attributes for a dataset.">AttrTable</a> *at);
<a name="l00270"></a>00270 
<a name="l00271"></a>00271     <span class="comment">// I put this comment here because the version in BaseType.cc does not</span>
<a name="l00272"></a>00272     <span class="comment">// include the exact_match or s variables since they are not used. Doxygen</span>
<a name="l00273"></a>00273     <span class="comment">// was gaging on the comment.</span>
<a name="l00274"></a>00274 
<a name="l00305"></a>00305     <span class="keyword">virtual</span> <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *var(<span class="keyword">const</span> <span class="keywordtype">string</span> &amp;name = <span class="stringliteral">&quot;&quot;</span>, <span class="keywordtype">bool</span> exact_match = <span class="keyword">true</span>,
<a name="l00306"></a>00306                           <a class="code" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a> *s = 0);
<a name="l00307"></a>00307     <span class="keyword">virtual</span> <a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *var(<span class="keyword">const</span> <span class="keywordtype">string</span> &amp;name, <a class="code" href="classlibdap_1_1BaseType.html#ae9c6e71855b90a0e552713011c9ab81f">btp_stack</a> &amp;s);
<a name="l00308"></a>00308 
<a name="l00309"></a>00309     <span class="keyword">virtual</span> <span class="keywordtype">void</span> add_var(<a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *bt, <a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695" title="Names the parts of multi-section constructor data types.">Part</a> part = <a class="code" href="namespacelibdap.html#addcb1d714cdecb877c65ff6d2fde0695a86819e8da7d767f7c916c6b5da0feb6b">nil</a>);
<a name="l00310"></a>00310 
<a name="l00311"></a>00311     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> read();
<a name="l00312"></a>00312 
<a name="l00313"></a>00313     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> check_semantics(<span class="keywordtype">string</span> &amp;msg, <span class="keywordtype">bool</span> all = <span class="keyword">false</span>);
<a name="l00314"></a>00314 
<a name="l00315"></a>00315     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> ops(<a class="code" href="classlibdap_1_1BaseType.html" title="The basic data type for the DODS DAP types.">BaseType</a> *b, <span class="keywordtype">int</span> op);
<a name="l00316"></a>00316 <span class="preprocessor">#if FILE_METHODS</span>
<a name="l00317"></a>00317 <span class="preprocessor"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> print_decl(FILE *out, <span class="keywordtype">string</span> space = <span class="stringliteral">&quot;    &quot;</span>,
<a name="l00318"></a>00318                             <span class="keywordtype">bool</span> print_semi = <span class="keyword">true</span>,
<a name="l00319"></a>00319                             <span class="keywordtype">bool</span> constraint_info = <span class="keyword">false</span>,
<a name="l00320"></a>00320                             <span class="keywordtype">bool</span> constrained = <span class="keyword">false</span>);
<a name="l00321"></a>00321 
<a name="l00322"></a>00322     <span class="keyword">virtual</span> <span class="keywordtype">void</span> print_xml(FILE *out, <span class="keywordtype">string</span> space = <span class="stringliteral">&quot;    &quot;</span>,
<a name="l00323"></a>00323                            <span class="keywordtype">bool</span> constrained = <span class="keyword">false</span>);
<a name="l00324"></a>00324 <span class="preprocessor">#endif</span>
<a name="l00325"></a>00325 <span class="preprocessor"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> print_decl(ostream &amp;out, <span class="keywordtype">string</span> space = <span class="stringliteral">&quot;    &quot;</span>,
<a name="l00326"></a>00326                             <span class="keywordtype">bool</span> print_semi = <span class="keyword">true</span>,
<a name="l00327"></a>00327                             <span class="keywordtype">bool</span> constraint_info = <span class="keyword">false</span>,
<a name="l00328"></a>00328                             <span class="keywordtype">bool</span> constrained = <span class="keyword">false</span>);
<a name="l00329"></a>00329 
<a name="l00330"></a>00330     <span class="keyword">virtual</span> <span class="keywordtype">void</span> print_xml(ostream &amp;out, <span class="keywordtype">string</span> space = <span class="stringliteral">&quot;    &quot;</span>,
<a name="l00331"></a>00331                            <span class="keywordtype">bool</span> constrained = <span class="keyword">false</span>);
<a name="l00332"></a>00332 
<a name="l00335"></a>00335 
<a name="l00347"></a>00347     <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width() = 0;
<a name="l00348"></a>00348 
<a name="l00369"></a>00369     <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> buf2val(<span class="keywordtype">void</span> **val) = 0;
<a name="l00370"></a>00370 
<a name="l00400"></a>00400     <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val2buf(<span class="keywordtype">void</span> *val, <span class="keywordtype">bool</span> reuse = <span class="keyword">false</span>) = 0;
<a name="l00401"></a>00401 
<a name="l00414"></a>00414     <span class="keyword">virtual</span> <span class="keywordtype">void</span> intern_data(<a class="code" href="classlibdap_1_1ConstraintEvaluator.html" title="Evaluate a constraint expression.">ConstraintEvaluator</a> &amp;eval, <a class="code" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds);
<a name="l00415"></a>00415 
<a name="l00443"></a>00443     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> serialize(<a class="code" href="classlibdap_1_1ConstraintEvaluator.html" title="Evaluate a constraint expression.">ConstraintEvaluator</a> &amp;eval, <a class="code" href="classlibdap_1_1DDS.html">DDS</a> &amp;dds,
<a name="l00444"></a>00444                            <a class="code" href="classlibdap_1_1Marshaller.html" title="abstract base class used to marshal/serialize dap data objects">Marshaller</a> &amp;m, <span class="keywordtype">bool</span> ce_eval = <span class="keyword">true</span>) = 0;
<a name="l00445"></a>00445 
<a name="l00470"></a>00470     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> deserialize(<a class="code" href="classlibdap_1_1UnMarshaller.html" title="abstract base class used to unmarshall/deserialize dap data objects">UnMarshaller</a> &amp;um, <a class="code" href="classlibdap_1_1DDS.html">DDS</a> *dds, <span class="keywordtype">bool</span> reuse = <span class="keyword">false</span>) = 0;
<a name="l00471"></a>00471 
<a name="l00472"></a>00472 <span class="preprocessor">#if FILE_METHODS</span>
<a name="l00473"></a>00473 <span class="preprocessor"></span>
<a name="l00488"></a>00488     <span class="keyword">virtual</span> <span class="keywordtype">void</span> print_val(FILE *out, <span class="keywordtype">string</span> space = <span class="stringliteral">&quot;&quot;</span>,
<a name="l00489"></a>00489                            <span class="keywordtype">bool</span> print_decl_p = <span class="keyword">true</span>) = 0;
<a name="l00490"></a>00490 <span class="preprocessor">#endif</span>
<a name="l00491"></a>00491 <span class="preprocessor"></span>
<a name="l00506"></a>00506     <span class="keyword">virtual</span> <span class="keywordtype">void</span> print_val(ostream &amp;out, <span class="keywordtype">string</span> space = <span class="stringliteral">&quot;&quot;</span>,
<a name="l00507"></a>00507                            <span class="keywordtype">bool</span> print_decl_p = <span class="keyword">true</span>) = 0;
<a name="l00509"></a>00509 };
<a name="l00510"></a>00510 
<a name="l00511"></a>00511 } <span class="comment">// namespace libdap</span>
<a name="l00512"></a>00512 
<a name="l00513"></a>00513 <span class="preprocessor">#endif // _basetype_h</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="BaseType_8h.html">BaseType.h</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>