OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDFCFStr.h
Go to the documentation of this file.
1 // This file is part of the hdf4_handler implementing for the CF-compliant
2 // Copyright (c) 2011-2013 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 
30 
31 #ifndef _HDFCFSTR_H
32 #define _HDFCFSTR_H
33 
34 // STL includes
35 #include <string>
36 
37 // DODS includes
38 #include <dods-limits.h>
39 #include <Str.h>
40 #include "mfhdf.h"
41 #include "hdf.h"
42 
43 using namespace libdap;
44 
45 class HDFCFStr:public Str {
46  public:
47  HDFCFStr(const int h4fd, int32 field_ref,const std::string &filename,const std::string &varname, const std::string &varnewname, bool is_vdata);
48  virtual ~ HDFCFStr();
49  virtual BaseType *ptr_duplicate();
50  virtual bool read();
51  private:
52  std::string filename;
53  std::string varname;
54  int32 h4fd;
55  int32 field_ref;
56  bool is_vdata;
57 
58 };
59 
60 #endif // _HDFCFSTR_H
61 
static class NCMLUtil overview