bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
FONcUByte.h
1
2// FONcUByte.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 FONcUByte.h.
27
28
29#ifndef FONcUByte_h_
30#define FONcUByte_h_ 1
31
32#include <libdap/Byte.h>
33
34namespace libdap {
35 class BaseType;
36 class Byte;
37}
38
39#include "FONcBaseType.h"
40
47class FONcUByte : public FONcBaseType
48{
49private:
50 libdap::Byte * _b ;
51public:
52 FONcUByte( libdap::BaseType *b ) ;
53 virtual ~FONcUByte() ;
54
55 virtual void define( int ncid ) ;
56 virtual void write( int ncid ) ;
57
58 virtual string name() ;
59 virtual nc_type type() ;
60
61 virtual void dump( ostream &strm ) const ;
62} ;
63
64#endif // FONcUByte_h_
65
FONcUByte(libdap::BaseType *b)
Constructor for FONcUByte that takes a DAP Byte.
Definition FONcUByte.cc:44
virtual void define(int ncid)
define the DAP Byte in the netcdf file
Definition FONcUByte.cc:76
virtual ~FONcUByte()
Destructor that cleans up the byte.
Definition FONcUByte.cc:61
virtual nc_type type()
returns the netcdf type of the DAP Byte
Definition FONcUByte.cc:147
virtual string name()
returns the name of the DAP Byte
Definition FONcUByte.cc:137
virtual void write(int ncid)
Write the byte out to the netcdf file.
Definition FONcUByte.cc:109
virtual void dump(ostream &strm) const
dumps information about this object for debugging purposes
Definition FONcUByte.cc:159
STL class.