bes
Updated for version 3.20.6
h5get.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
// Copyright (c) 2007-2016 The HDF Group, Inc. and OPeNDAP, Inc.
5
//
6
// This is free software; you can redistribute it and/or modify it under the
7
// terms of the GNU Lesser General Public License as published by the Free
8
// Software Foundation; either version 2.1 of the License, or (at your
9
// option) any later version.
10
//
11
// This software is distributed in the hope that it will be useful, but
12
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14
// License for more details.
15
//
16
// You should have received a copy of the GNU Lesser General Public
17
// License along with this library; if not, write to the Free Software
18
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
//
20
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
21
// You can contact The HDF Group, Inc. at 1800 South Oak Street,
22
// Suite 203, Champaign, IL 61820
27
32
33
34
#ifndef _H5GET_H
35
#define _H5GET_H
36
#include "
hdf5_handler.h
"
37
#include "
h5common.h
"
38
#include "h5apicompatible.h"
39
40
bool
check_h5str
(hid_t);
41
42
void
close_fileid
(hid_t fid);
43
44
hid_t
get_attr_info
(hid_t dset,
int
index,
bool
,
DSattr_t
* attr_inst,
bool
*);
45
46
string
get_dap_type
(hid_t type,
bool
);
47
48
void
get_dataset(hid_t pid,
const
std::string &dname,
DS_t
* dt_inst_ptr,
bool
has_dimscale);
49
50
hid_t
get_fileid
(
const
char
*filename);
51
52
std::string
print_attr
(hid_t type,
int
loc,
void
*sm_buf);
53
54
D4AttributeType daptype_strrep_to_dap4_attrtype(std::string s);
55
56
//static BaseType *Get_bt(const string &vname,
57
libdap::BaseType *Get_bt(
const
std::string &vname,
const
std::string &var_path,
58
const
std::string &dataset,
59
hid_t datatype,
bool
is_dap4);
60
61
//static Structure *Get_structure(const string &varname,
62
libdap::Structure *Get_structure(
const
std::string &varname,
const
std::string &var_path,
63
const
std::string &dataset,
64
hid_t datatype,
bool
is_dap4);
65
66
bool
check_dimscale(hid_t fid);
67
void
obtain_dimnames
(hid_t dset,
int
,
DS_t
*dt_inst_ptr);
68
69
void
write_vlen_str_attrs(hid_t attr_id,hid_t ty_id,
DSattr_t
*, libdap::D4Attribute *d4_attr, libdap::AttrTable* d2_attr,
bool
is_dap4);
70
#endif //_H5GET_H
DSattr
A structure for DAS generation.
Definition:
hdf5_handler.h:92
get_dap_type
string get_dap_type(hid_t type, bool)
Definition:
h5get.cc:272
get_fileid
hid_t get_fileid(const char *filename)
Definition:
h5get.cc:392
DS
A structure for DDS generation.
Definition:
hdf5_handler.h:70
obtain_dimnames
void obtain_dimnames(hid_t dset, int, DS_t *dt_inst_ptr)
Definition:
h5get.cc:1494
check_h5str
bool check_h5str(hid_t)
Definition:
h5get.cc:621
print_attr
std::string print_attr(hid_t type, int loc, void *sm_buf)
Definition:
h5get.cc:642
hdf5_handler.h
The main header of the HDF5 OPeNDAP handler.
close_fileid
void close_fileid(hid_t fid)
Definition:
h5get.cc:414
h5common.h
get_attr_info
hid_t get_attr_info(hid_t dset, int index, bool, DSattr_t *attr_inst, bool *)
Definition:
h5get.cc:83
modules
hdf5_handler
h5get.h
Generated by
1.8.17