OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDF5BaseArray.h
Go to the documentation of this file.
1 // This file is part of hdf5_handler an HDF5 file handler for the OPeNDAP
2 // data server.
3 
4 // Author: Muqun Yang <myang6@hdfgroup.org>
5 
6 // Copyright (c) 2011-2013 The HDF Group, Inc. and OPeNDAP, Inc.
7 //
8 // This is free software; you can redistribute it and/or modify it under the
9 // terms of the GNU Lesser General Public License as published by the Free
10 // Software Foundation; either version 2.1 of the License, or (at your
11 // option) any later version.
12 //
13 // This software is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 // License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 //
22 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
23 // You can contact The HDF Group, Inc. at 1800 South Oak Street,
24 // Suite 203, Champaign, IL 61820
25 
26 #ifndef _HDF5BASEARRAY_H
27 #define _HDF5BASEARRAY_H
28 
29 // STL includes
30 #include <string>
31 #include <vector>
32 
33 // DODS includes
34 #include <Array.h>
35 
36 using namespace libdap;
53 
54 
55 class HDF5BaseArray:public Array {
56  public:
57  HDF5BaseArray(const string & n="", BaseType * v = 0):
58  Array(n,v)
59  {
60  }
61 
62  virtual ~ HDF5BaseArray() {
63  }
64  virtual BaseType *ptr_duplicate();
65  virtual bool read();
66  int format_constraint (int *cor, int *step, int *edg);
67  void write_nature_number_buffer(int rank, int tnumelm);
68 
69 };
70 
71 #endif // _HDF5BASEARRAY_H
72 
HDF5BaseArray(const string &n="", BaseType *v=0)
Definition: HDF5BaseArray.h:57
static class NCMLUtil overview