bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDFInt16.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
29#include "config_hdf.h"
30
31#include <libdap/InternalErr.h>
32#include "HDFInt16.h"
33
34using namespace libdap;
35using namespace std;
36
37HDFInt16::HDFInt16(const string &n, const string &d) : Int16(n, d)
38{
39}
40
41HDFInt16::~HDFInt16() = default;
42
43BaseType *HDFInt16::ptr_duplicate()
44{
45 return new HDFInt16(*this);
46}
47
48bool HDFInt16::read()
49{
50 throw InternalErr(__FILE__, __LINE__,
51 "Unimplemented read method called.");
52}
53