OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDF4RequestHandler.h
Go to the documentation of this file.
1 
2 // -*- mode: c++; c-basic-offset:4 -*-
3 
4 // This file is part of hdf4_handler, a data handler for the OPeNDAP data
5 // server.
6 
7 // Copyright (c) 2002,2003 OPeNDAP, Inc.
8 // Author: James Gallagher <jgallagher@opendap.org>
9 //
10 // This is free software; you can redistribute it and/or modify it under the
11 // terms of the GNU Lesser General Public License as published by the Free
12 // Software Foundation; either version 2.1 of the License, or (at your
13 // option) any later version.
14 //
15 // This software is distributed in the hope that it will be useful, but
16 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 // License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public
21 // License along with this library; if not, write to the Free Software
22 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 //
24 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
25 
26 // CDFRequestHandler.h
27 
28 #ifndef I_HDF4RequestHandler_H
29 #define I_HDF4RequestHandler_H 1
30 
31 #include <string>
32 
33 using std::string;
34 
35 #include "BESRequestHandler.h"
36 
38  private:
39  static string _cachedir;
40  public:
41  HDF4RequestHandler(const string & name);
42  virtual ~ HDF4RequestHandler(void);
43 
44  static bool hdf4_build_das(BESDataHandlerInterface & dhi);
45  static bool hdf4_build_dds(BESDataHandlerInterface & dhi);
46  static bool hdf4_build_data(BESDataHandlerInterface & dhi);
48 #ifdef USE_DAP4
49  static bool hdf4_build_dmr(BESDataHandlerInterface & dhi);
50  static bool hdf4_build_dmr_with_IDs(BESDataHandlerInterface & dhi);
51 #endif
52  static bool hdf4_build_help(BESDataHandlerInterface & dhi);
54 };
55 
56 
57 #if 0
58 void close_fileid(const int sdfd, const int fileid,const int gridfd, const int swathfd);
59 void close_hdf4_fileid(const int sdfd,const int fileid);
60 #endif
61 
62 #endif
static bool hdf4_build_version(BESDataHandlerInterface &dhi)
static bool hdf4_build_data_with_IDs(BESDataHandlerInterface &dhi)
static bool hdf4_build_dds(BESDataHandlerInterface &dhi)
HDF4RequestHandler(const string &name)
void close_hdf4_fileid(const int sdfd, const int fileid, HDFSP::File *h4file)
static bool hdf4_build_help(BESDataHandlerInterface &dhi)
static bool hdf4_build_data(BESDataHandlerInterface &dhi)
virtual ~HDF4RequestHandler(void)
void close_fileid(hid_t fid)
closes HDF5 file reffered by fid.
Definition: h5get.cc:356
Represents a specific data type request handler.
Structure storing information used by the BES to handle the request.
static bool hdf4_build_das(BESDataHandlerInterface &dhi)