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