bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
NCFloat32.h
1
2// -*- mode: c++; c-basic-offset:4 -*-
3
4// This file is part of nc_handler, a data handler for the OPeNDAP data
5// server.
6
7// Copyright (c) 2002,2003 OPeNDAP, Inc.
8// Author: James Gallagher <jgallagher@opendap.org>
9//
10// This is free software; you can redistribute it and/or modify it under the
11// terms of the GNU Lesser General Public License as published by the Free
12// Software Foundation; either version 2.1 of the License, or (at your
13// option) any later version.
14//
15// This software is distributed in the hope that it will be useful, but
16// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18// License for more details.
19//
20// You should have received a copy of the GNU Lesser General Public
21// License along with this library; if not, write to the Free Software
22// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23//
24// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
25
26
27// (c) COPYRIGHT URI/MIT 1994-1999
28// Please read the full copyright statement in the file COPYRIGHT.
29//
30// Authors:
31// reza Reza Nekovei (rnekovei@ieee.org)
32
33// netCDF sub-class implementation for NCByte,...NCGrid.
34// The files are patterned after the subcalssing examples
35// Test<type>.c,h files.
36//
37// ReZa 3/25/99
38
39#ifndef _ncfloat32_h
40#define _ncfloat32_h 1
41
42#include <libdap/Float32.h>
43
44using namespace libdap ;
45
46class NCFloat32: public Float32 {
47
48public:
49 NCFloat32(const string &n, const string &d);
50 NCFloat32(const NCFloat32 &rhs);
51 virtual ~NCFloat32();
52
53 NCFloat32 &operator=(const NCFloat32 &rhs);
54 virtual BaseType *ptr_duplicate();
55
56 virtual bool read();
57};
58
59// $Log: NCFloat32.h,v $
60// Revision 1.12 2005/04/19 23:16:18 jimg
61// Removed client side parts; the client library is now in libnc-dap.
62//
63// Revision 1.11 2005/04/08 17:08:47 jimg
64// Removed old 'virtual ctor' functions which have now been replaced by the
65// factory class code in libdap++.
66//
67// Revision 1.10 2005/03/31 00:04:51 jimg
68// Modified to use the factory class in libdap++ 3.5.
69//
70// Revision 1.9 2005/01/26 23:25:51 jimg
71// Implemented a fix for Sequence access by row number when talking to a
72// 3.4 or earlier server (which contains a bug in is_end_of_rows()).
73//
74// Revision 1.8 2004/11/30 22:11:35 jimg
75// I replaced the flatten_*() functions with a flatten() method in
76// NCAccess. The default version of this method is in NCAccess and works
77// for the atomic types; constructors must provide a specialization.
78// Then I removed the code that copied the variables from vectors to
79// lists. The translation code in NCConnect was modified to use the
80// new method.
81//
82// Revision 1.7 2004/10/22 21:51:34 jimg
83// More massive changes: Translation of Sequences now works so long as the
84// Sequence contains only atomic types.
85//
86// Revision 1.6 2004/09/08 22:08:22 jimg
87// More Massive changes: Code moved from the files that clone the netCDF
88// function calls into NCConnect, NCAccess or nc_util.cc. Much of the
89// translation functions are now methods. The netCDF type classes now
90// inherit from NCAccess in addition to the DAP type classes.
91//
92// Revision 1.5 2003/12/08 18:06:37 edavis
93// Merge release-3-4 into trunk
94//
95// Revision 1.4 2003/09/25 23:09:36 jimg
96// Meerged from 3.4.1.
97//
98// Revision 1.3.4.1 2003/06/24 11:36:32 rmorris
99// Removed #pragma interface directives for the OS X.
100//
101// Revision 1.3 2002/05/03 00:01:52 jimg
102// Merged with release-3-2-7.
103//
104// Revision 1.2.4.1 2001/12/26 03:32:24 rmorris
105// Removed redundant default args. VC++ only allows them to be specified
106// a single time.
107//
108// Revision 1.2 2000/10/06 01:22:02 jimg
109// Moved the CVS Log entries to the ends of files.
110// Modified the read() methods to match the new definition in the dap library.
111// Added exception handlers in various places to catch exceptions thrown
112// by the dap library.
113//
114// Revision 1.1 1999/07/28 00:22:43 jimg
115// Added
116//
117// Revision 1.3 1999/05/07 23:45:32 jimg
118// String --> string fixes
119//
120// Revision 1.2 1999/04/09 17:11:56 jimg
121// Fixed comments and copyright statement
122//
123// Revision 1.1 1999/03/30 21:12:07 reza
124// Added the new types
125
126#endif
127