bes
Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5Byte.h
Go to the documentation of this file.
1
// This file is part of hdf5_handler a HDF5 file handler for the OPeNDAP
2
// data server.
3
4
// Author: Hyo-Kyung Lee <hyoklee@hdfgroup.org> and Kent Yang
5
// <myang6@hdfgroup.org>
6
7
// Copyright (c) 2009-2023 The HDF Group, Inc. and OPeNDAP, Inc.
8
//
9
// This is free software; you can redistribute it and/or modify it under the
10
// terms of the GNU Lesser General Public License as published by the Free
11
// Software Foundation; either version 2.1 of the License, or (at your
12
// option) any later version.
13
//
14
// This software is distributed in the hope that it will be useful, but
15
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17
// License for more details.
18
//
19
// You should have received a copy of the GNU Lesser General Public
20
// License along with this library; if not, write to the Free Software
21
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
//
23
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24
// You can contact The HDF Group, Inc. at 410 E University Ave,
25
// Suite 200, Champaign, IL 61820
26
27
#ifndef _HDF5BYTE_H
28
#define _HDF5BYTE_H
29
30
#include <string>
31
32
#include <H5Ipublic.h>
33
34
#include <libdap/Byte.h>
35
#include "
h5get.h
"
36
37
46
47
class
HDF5Byte
:
public
libdap::Byte {
48
49
private
:
50
std::string var_path;
51
52
public
:
54
HDF5Byte
(
const
std::string &n,
const
std::string &vpath,
const
std::string &d):
libdap
::
Byte
(n,d),var_path(vpath) {}
55
~HDF5Byte
()
override
=
default
;
56
61
libdap::BaseType *
ptr_duplicate
()
override
;
62
64
bool
read
()
override
;
65
66
};
67
68
#endif
Byte
HDF5Byte
Definition
HDF5Byte.h:47
HDF5Byte::HDF5Byte
HDF5Byte(const std::string &n, const std::string &vpath, const std::string &d)
Constructor.
Definition
HDF5Byte.h:54
HDF5Byte::ptr_duplicate
libdap::BaseType * ptr_duplicate() override
Definition
HDF5Byte.cc:59
HDF5Byte::read
bool read() override
Reads HDF5 byte data into local buffer.
Definition
HDF5Byte.cc:65
h5get.h
libdap
Definition
coverity_models.cpp:31
modules
hdf5_handler
HDF5Byte.h
Generated by
1.13.2