OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
NCRequestHandler.h
Go to the documentation of this file.
1 // -*- mode: c++; c-basic-offset:4 -*-
2 
3 // This file is part of nc_handler, a data handler for the OPeNDAP data
4 // server.
5 
6 // Copyright (c) 2002,2003 OPeNDAP, Inc.
7 // Author: James Gallagher <jgallagher@opendap.org>
8 //
9 // This is free software; you can redistribute it and/or modify it under the
10 // terms of the GNU Lesser General Public License as published by the Free
11 // Software Foundation; either version 2.1 of the License, or (at your
12 // option) any later version.
13 //
14 // This software is distributed in the hope that it will be useful, but
15 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17 // License for more details.
18 //
19 // You should have received a copy of the GNU Lesser General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 //
23 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24 
25 // CDFRequestHandler.h
26 
27 #ifndef I_NCRequestHandler_H
28 #define I_NCRequestHandler_H 1
29 
30 #include <BESRequestHandler.h>
31 
33 private:
34  static bool _show_shared_dims;
35  static bool _show_shared_dims_set;
36 
37  static bool _ignore_unknown_types;
38  static bool _ignore_unknown_types_set;
39 
40  static bool _promote_byte_to_short_set;
41  static bool _promote_byte_to_short;
42 
43 public:
44  NCRequestHandler(const string &name);
45  virtual ~NCRequestHandler(void);
46 
47  static bool nc_build_das(BESDataHandlerInterface &dhi);
48  static bool nc_build_dds(BESDataHandlerInterface &dhi);
49  static bool nc_build_data(BESDataHandlerInterface &dhi);
50  static bool nc_build_dmr(BESDataHandlerInterface &dhi);
51  static bool nc_build_help(BESDataHandlerInterface &dhi);
52  static bool nc_build_version(BESDataHandlerInterface &dhi);
53 
54  static bool get_show_shared_dims()
55  {
56  return _show_shared_dims;
57  }
59  {
60  return _ignore_unknown_types;
61  }
63  {
64  return _promote_byte_to_short;
65  }
66 };
67 
68 #endif
69 
static bool nc_build_version(BESDataHandlerInterface &dhi)
virtual ~NCRequestHandler(void)
static bool get_show_shared_dims()
static bool nc_build_dds(BESDataHandlerInterface &dhi)
static bool nc_build_das(BESDataHandlerInterface &dhi)
static bool get_ignore_unknown_types()
Represents a specific data type request handler.
NCRequestHandler(const string &name)
static bool nc_build_dmr(BESDataHandlerInterface &dhi)
Structure storing information used by the BES to handle the request.
static bool nc_build_data(BESDataHandlerInterface &dhi)
static bool nc_build_help(BESDataHandlerInterface &dhi)
static bool get_promote_byte_to_short()