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