bes  Updated for version 3.20.10
FONcInt64.h
1 // FONcInt64.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 FONcInt64_h_
28 #define FONcInt64_h_ 1
29 
30 #include <libdap/BaseType.h>
31 
32 namespace libdap {
33  class BaseType;
34 }
35 
36 #include "FONcBaseType.h"
37 
44 class FONcInt64 : public FONcBaseType
45 {
46 private:
47  libdap::BaseType * _bt ;
48 public:
49  FONcInt64( libdap::BaseType *b ) ;
50  virtual ~FONcInt64() ;
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 // FONcInt64_h_
62 
A DAP BaseType with file out netcdf information included.
Definition: FONcBaseType.h:64
A DAP Int64 with file out netcdf information included.
Definition: FONcInt64.h:45
virtual string name()
returns the name of the DAP Int64
Definition: FONcInt64.cc:143
virtual void define(int ncid)
define the DAP Int64 in the netcdf file
Definition: FONcInt64.cc:81
virtual ~FONcInt64()
Destructor that cleans up the instance.
Definition: FONcInt64.cc:66
virtual nc_type type()
returns the netcdf type of the DAP object
Definition: FONcInt64.cc:153
virtual void dump(ostream &strm) const
dumps information about this object for debugging purposes
Definition: FONcInt64.cc:165
FONcInt64(libdap::BaseType *b)
Constructor for FOncInt64 that takes a DAP Int64.
Definition: FONcInt64.cc:49
virtual void write(int ncid)
Write the unsigned int out to the netcdf file.
Definition: FONcInt64.cc:112