bes Updated for version 3.20.13
HDFEOS5CFMissNonLLCVArray.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 _HDFEOS5CFMissNonLLCVARRAY_H
33#define _HDFEOS5CFMissNonLLCVARRAY_H
34
35// STL includes
36#include <string>
37#include <vector>
38
39// DODS includes
40//#include <libdap/Array.h>
41#include "HDF5BaseArray.h"
42
43
45
46 public:
48 int tnumelm, const string & n="", libdap::BaseType * v = nullptr):
49 HDF5BaseArray(n,v),
50 rank(rank),
51 tnumelm(tnumelm) {
52 }
53
54 ~ HDFEOS5CFMissNonLLCVArray() override = default;
55 libdap::BaseType *ptr_duplicate() override;
56 bool read() override;
57 void read_data_NOT_from_mem_cache(bool add_cache,void*buf) override;
58
59 private:
60 int rank;
61 int tnumelm;
62
63};
64
65#endif // _HDFEOS5CFMissNonLLCVARRAY_H
A helper class that aims to reduce code redundence for different special CF derived array class For e...