bes  Updated for version 3.20.6
HDFUInt16.cc
1 // 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 <InternalErr.h>
32 
33 #include "HDFUInt16.h"
34 
35 using namespace libdap;
36 using namespace std;
37 
38 HDFUInt16::HDFUInt16(const string &n, const string &d) : UInt16(n, d)
39 {
40 }
41 
42 HDFUInt16::~HDFUInt16()
43 {
44 }
45 BaseType *HDFUInt16::ptr_duplicate()
46 {
47  return new HDFUInt16(*this);
48 }
49 
50 bool HDFUInt16::read()
51 {
52  throw InternalErr(__FILE__, __LINE__,
53  "Unimplemented read method called.");
54 }
55 
libdap
Definition: BESDapFunctionResponseCache.h:35
HDFUInt16
Definition: HDFUInt16.h:38