OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
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-2013 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 
38 bool
39 check_h5str(hid_t);
40 
41 void
42 close_fileid(hid_t fid);
43 
44 char*
45 correct_name(char *);
46 
47 hid_t
48 get_attr_info(hid_t dset, int index, DSattr_t * attr_inst, bool*);
49 
50 string
51 get_dap_type(hid_t type);
52 
53 void
54 get_data(hid_t dset, void *buf);
55 
56 void
57 get_dataset(hid_t pid, const string &dname, DS_t * dt_inst_ptr);
58 
59 hid_t
60 get_fileid(const char *filename);
61 
62 int
63 get_slabdata(hid_t dset, int *, int *, int *, int num_dim, void *);
64 
65 void
66 get_strdata(int, char *, char *, int);
67 
68 
69 #endif //_H5GET_H
A structure for DDS generation.
Definition: hdf5_handler.h:68
void get_data(hid_t dset, void *buf)
will get all data of a dset dataset and put it into buf.
Definition: h5get.cc:521
hid_t get_fileid(const char *filename)
gets HDF5 file id.
Definition: h5get.cc:334
int get_slabdata(hid_t dset, int *, int *, int *, int num_dim, void *)
will get hyperslab data of a dataset and put it into buf.
Definition: h5get.cc:661
hid_t get_attr_info(hid_t dset, int index, DSattr_t *attr_inst, bool *)
Definition: h5get.cc:56
The main header of the HDF5 OPeNDAP handler.
void close_fileid(hid_t fid)
closes HDF5 file reffered by fid.
Definition: h5get.cc:356
void get_dataset(hid_t pid, const string &dname, DS_t *dt_inst_ptr)
obtain data information in a dataset datatype, dataspace(dimension sizes) and number of dimensions an...
Definition: h5get.cc:374
void get_strdata(int, char *, char *, int)
will get an individual string data from all string data elements and put it into buf.
Definition: h5get.cc:632
A structure for DAS generation.
Definition: hdf5_handler.h:87
bool check_h5str(hid_t)
checks if type is HDF5 string type
Definition: h5get.cc:802
char * correct_name(char *)
string get_dap_type(hid_t type)
returns the string representation of HDF5 type.
Definition: h5get.cc:237