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