bes
Updated for version 3.20.6
h5common.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
29
30
31
#ifndef _H5COMMON_H
32
#define _H5COMMON_H
33
#include <hdf5.h>
34
#include <vector>
35
#include <string>
36
37
void
get_data
(hid_t dset,
void
*buf);
38
39
int
get_slabdata
(hid_t dset,
int
*,
int
*,
int
*,
int
num_dim,
void
*);
40
41
void
get_strdata
(
int
,
char
*,
char
*,
int
);
42
43
bool
read_vlen_string(hid_t d_dset_id,
int
nelms, hsize_t *offset, hsize_t *step, hsize_t *count,std::vector<std::string> &finstrval);
44
45
bool
promote_char_to_short(H5T_class_t type_cls, hid_t type_id);
46
47
void
get_vlen_str_data(
char
*src,std::string &finalstrval);
48
49
50
51
#endif //_H5COMMON_H
get_strdata
void get_strdata(int, char *, char *, int)
Definition:
h5common.cc:115
get_data
void get_data(hid_t dset, void *buf)
Definition:
h5common.cc:50
get_slabdata
int get_slabdata(hid_t dset, int *, int *, int *, int num_dim, void *)
Definition:
h5common.cc:144
modules
hdf5_handler
h5common.h
Generated by
1.8.17