bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDFFloat32.cc
1
2// This file is part of the hdf4 data handler for the OPeNDAP data server.
3
4// Copyright (c) 2005 OPeNDAP, Inc.
5// Author: James Gallagher <jgallagher@opendap.org>
6//
7// This is free software; you can redistribute it and/or modify it under the
8// terms of the GNU Lesser General Public License as published by the Free
9// Software Foundation; either version 2.1 of the License, or (at your
10// option) any later version.
11//
12// This software is distributed in the hope that it will be useful, but
13// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15// License for more details.
16//
17// You should have received a copy of the GNU Lesser General Public License
18// along with this software; if not, write to the Free Software Foundation,
19// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20//
21// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
22
23// (c) COPYRIGHT URI/MIT 1994-1999
24// Please read the full copyright statement in the file COPYRIGHT_URI.
25
26// Author: James Gallagher
27
28#include "config_hdf.h"
29
30#include <libdap/InternalErr.h>
31#include "HDFFloat32.h"
32
33using namespace libdap;
34using namespace std;
35
36HDFFloat32::HDFFloat32(const string & n, const string &d) : Float32(n, d)
37{
38}
39
40HDFFloat32::~HDFFloat32() = default;
41
42BaseType *HDFFloat32::ptr_duplicate()
43{
44 return new HDFFloat32(*this);
45}
46
47bool HDFFloat32::read()
48{
49 throw InternalErr(__FILE__, __LINE__,
50 "Unimplemented read method called.");
51}
52