bes
Updated for version 3.20.6
HDFEOS5CFSpecialCVArray.h
Go to the documentation of this file.
1
// This file is part of the hdf5_handler implementing for the CF-compliant
2
// Copyright (c) 2011-2016 The HDF Group, Inc. and OPeNDAP, Inc.
3
//
4
// This is free software; you can redistribute it and/or modify it under the
5
// terms of the GNU Lesser General Public License as published by the Free
6
// Software Foundation; either version 2.1 of the License, or (at your
7
// option) any later version.
8
//
9
// This software is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12
// License for more details.
13
//
14
// You should have received a copy of the GNU Lesser General Public
15
// License along with this library; if not, write to the Free Software
16
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
//
18
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
19
// You can contact The HDF Group, Inc. at 1800 South Oak Street,
20
// Suite 203, Champaign, IL 61820
21
31
32
#ifndef _HDFEOS5CFSpecialCVARRAY_H
33
#define _HDFEOS5CFSpecialCVARRAY_H
34
35
// STL includes
36
#include <string>
37
#include <vector>
38
39
// DODS includes
40
#include "
HDF5CF.h
"
41
#include "
HDF5BaseArray.h
"
42
43
44
class
HDFEOS5CFSpecialCVArray
:
public
HDF5BaseArray
{
45
public
:
46
HDFEOS5CFSpecialCVArray
(
int
h5_rank,
const
std::string & h5_filename,
const
hid_t h5_fileid, H5DataType h5_dtype,
int
h5_num_elm,
const
std::string &varfullpath,
const
std::string & n=
""
, libdap::BaseType * v = 0):
47
HDF5BaseArray
(n,v),
48
rank(h5_rank),
49
filename(h5_filename),
50
fileid(h5_fileid),
51
dtype(h5_dtype),
52
total_num_elm(h5_num_elm),
53
varname(varfullpath) {
54
}
55
56
virtual
~
HDFEOS5CFSpecialCVArray
() {
57
}
58
virtual
libdap::BaseType *ptr_duplicate();
59
virtual
bool
read();
60
virtual
void
read_data_NOT_from_mem_cache(
bool
add_cache,
void
*buf);
61
62
private
:
63
int
rank;
64
std::string filename;
65
hid_t fileid;
66
H5DataType dtype;
67
int
total_num_elm;
68
std::string varname;
69
};
70
71
#endif // _HDFEOS5CFSpecialCVARRAY_H
HDF5BaseArray.h
A helper class that aims to reduce code redundence for different special CF derived array class For e...
HDF5BaseArray
Definition:
HDF5BaseArray.h:55
HDFEOS5CFSpecialCVArray
Definition:
HDFEOS5CFSpecialCVArray.h:44
HDF5CF.h
This class specifies the core engineering of mapping HDF5 to DAP by following CF.
modules
hdf5_handler
HDFEOS5CFSpecialCVArray.h
Generated by
1.8.17