bes  Updated for version 3.20.13
FoCovJsonRequestHandler.h
1 // -*- mode: c++; c-basic-offset:4 -*-
2 //
3 // FoCovJsonRequestHandler.h
4 //
5 // This file is part of BES CovJSON File Out Module
6 //
7 // Copyright (c) 2018 OPeNDAP, Inc.
8 // Author: Corey Hemphill <hemphilc@oregonstate.edu>
9 // Author: River Hendriksen <hendriri@oregonstate.edu>
10 // Author: Riley Rimer <rrimer@oregonstate.edu>
11 //
12 // Adapted from the File Out JSON module implemented by Nathan Potter
13 //
14 // This library is free software; you can redistribute it and/or
15 // modify it under the terms of the GNU Lesser General Public
16 // License as published by the Free Software Foundation; either
17 // version 2.1 of the License, or (at your option) any later version.
18 //
19 // This library is distributed in the hope that it will be useful,
20 // but WITHOUT ANY WARRANTY; without even the implied warranty of
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 // Lesser General Public License for more details.
23 //
24 // You should have received a copy of the GNU Lesser General Public
25 // License along with this library; if not, write to the Free Software
26 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
27 //
28 
29 #ifndef I_FoCovJsonRequestHandler_H
30 #define I_FoCovJsonRequestHandler_H 1
31 
32 #include "BESRequestHandler.h"
33 #include <BESUtil.h>
34 #include <TheBESKeys.h>
35 
36 
45 
46 private:
47  static bool _may_ignore_z_axis;
48  static bool _simple_geo;
49 public:
50  FoCovJsonRequestHandler(const std::string &name);
51  virtual ~FoCovJsonRequestHandler(void);
52 
53  virtual void dump(std::ostream &strm) const;
54 
55  static bool obtain_beskeys_info(const std::string& key, bool & has_key);
56  static bool get_may_ignore_z_axis() { return _may_ignore_z_axis; }
57  static bool get_simple_geo() { return _simple_geo; }
58  static bool build_help(BESDataHandlerInterface &dhi);
59  static bool build_version(BESDataHandlerInterface &dhi);
60 };
61 
62 #endif
63 
Structure storing information used by the BES to handle the request.
Represents a specific data type request handler.
A Request Handler for the Fileout NetCDF request.
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
FoCovJsonRequestHandler(const std::string &name)
Constructor for FileOut Coverage JSON module.
virtual ~FoCovJsonRequestHandler(void)
Any cleanup that needs to take place.
virtual void dump(std::ostream &strm) const
dumps information about this object
static bool build_help(BESDataHandlerInterface &dhi)
adds help information for FileOut Coverage JSON to a help request