bes  Updated for version 3.20.10
FONcUInt.h
1 // FONcUInt.h
2 
3 // This file is part of BES Netcdf File Out Module
4 
5 // Copyright (c) 2004,2005 University Corporation for Atmospheric Research
6 // Author: Patrick West <pwest@ucar.edu> and Jose Garcia <jgarcia@ucar.edu>
7 //
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU Lesser General Public
10 // License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 //
22 // Authors:
23 // kyang Kent Yang <myang6@hdfgroup.org>
24 // Note: The code follows FONcInt.h.
25 
26 
27 #ifndef FONcUInt_h_
28 #define FONcUInt_h_ 1
29 
30 #include <libdap/BaseType.h>
31 
32 namespace libdap {
33  class BaseType;
34 }
35 
36 #include "FONcBaseType.h"
37 
44 class FONcUInt : public FONcBaseType
45 {
46 private:
47  libdap::BaseType * _bt ;
48 public:
49  FONcUInt( libdap::BaseType *b ) ;
50  virtual ~FONcUInt() ;
51 
52  virtual void define( int ncid ) ;
53  virtual void write( int ncid ) ;
54 
55  virtual string name() ;
56  virtual nc_type type() ;
57 
58  virtual void dump( ostream &strm ) const ;
59 } ;
60 
61 #endif // FONcUInt_h_
62 
A DAP BaseType with file out netcdf information included.
Definition: FONcBaseType.h:64
A DAP UInt32 with file out netcdf information included.
Definition: FONcUInt.h:45
virtual void define(int ncid)
define the DAP UInt32 in the netcdf file
Definition: FONcUInt.cc:81
FONcUInt(libdap::BaseType *b)
Constructor for FOncUInt that takes a DAP UInt32.
Definition: FONcUInt.cc:49
virtual void dump(ostream &strm) const
dumps information about this object for debugging purposes
Definition: FONcUInt.cc:165
virtual void write(int ncid)
Write the unsigned int out to the netcdf file.
Definition: FONcUInt.cc:114
virtual ~FONcUInt()
Destructor that cleans up the instance.
Definition: FONcUInt.cc:66
virtual nc_type type()
returns the netcdf type of the DAP object
Definition: FONcUInt.cc:153
virtual string name()
returns the name of the DAP UInt32
Definition: FONcUInt.cc:143