bes
Updated for version 3.20.6
HDF5Url.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 Muqun Yang
5
// <myang6@hdfgroup.org>
6
7
// Copyright (c) 2005-2016 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 1800 S. Oak St.,
25
// Suite 203, Champaign, IL 61820
26
27
#ifndef _HDF5Url_h
28
#define _HDF5Url_h
29
30
#include <stdlib.h>
31
#include <stdio.h>
32
#include <string.h>
33
#include <H5Ipublic.h>
34
35
#include "Url.h"
36
#include "
h5get.h
"
37
38
48
class
HDF5Url
:
public
libdap::Url {
49
50
private
:
51
52
std::string var_path;
53
54
public
:
55
57
HDF5Url
(
const
std::string &n,
const
std::string &vname,
const
std::string &d);
58
virtual
~
HDF5Url
() { }
59
64
virtual
libdap::BaseType *
ptr_duplicate
();
65
67
virtual
bool
read
();
68
70
friend
std::string
return_type
(hid_t datatype);
71
72
#if 0
73
hid_t get_did();
75
77
hid_t get_tid();
78
80
void
set_did(hid_t dset);
81
83
void
set_tid(hid_t type);
84
#endif
85
86
87
};
88
89
90
91
#endif
HDF5Url::ptr_duplicate
virtual libdap::BaseType * ptr_duplicate()
Definition:
HDF5Url.cc:53
HDF5Url::return_type
friend std::string return_type(hid_t datatype)
See return_type function defined in h5dds.cc.
HDF5Url::read
virtual bool read()
Reads HDF5 reference data into local buffer as a string.
Definition:
HDF5Url.cc:58
HDF5Url::HDF5Url
HDF5Url(const std::string &n, const std::string &vname, const std::string &d)
Constructor.
Definition:
HDF5Url.cc:49
h5get.h
HDF5Url
Definition:
HDF5Url.h:48
modules
hdf5_handler
HDF5Url.h
Generated by
1.8.17