bes  Updated for version 3.20.6
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 
42 public:
43  FoCovJsonRequestHandler(const std::string &name);
44  virtual ~FoCovJsonRequestHandler(void);
45 
46  virtual void dump(std::ostream &strm) const;
47 
48  static bool build_help(BESDataHandlerInterface &dhi);
49  static bool build_version(BESDataHandlerInterface &dhi);
50 };
51 
52 #endif
53 
BESRequestHandler
Represents a specific data type request handler.
Definition: BESRequestHandler.h:74
FoCovJsonRequestHandler::build_help
static bool build_help(BESDataHandlerInterface &dhi)
adds help information for FileOut NetCDF to a help request
Definition: FoCovJsonRequestHandler.cc:75
FoCovJsonRequestHandler::~FoCovJsonRequestHandler
virtual ~FoCovJsonRequestHandler(void)
Any cleanup that needs to take place.
Definition: FoCovJsonRequestHandler.cc:60
FoCovJsonRequestHandler::build_version
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
Definition: FoCovJsonRequestHandler.cc:104
FoCovJsonRequestHandler::dump
virtual void dump(std::ostream &strm) const
dumps information about this object
Definition: FoCovJsonRequestHandler.cc:121
FoCovJsonRequestHandler
A Request Handler for the Fileout NetCDF request.
Definition: FoCovJsonRequestHandler.h:41
BESDataHandlerInterface
Structure storing information used by the BES to handle the request.
Definition: BESDataHandlerInterface.h:56
FoCovJsonRequestHandler::FoCovJsonRequestHandler
FoCovJsonRequestHandler(const std::string &name)
Constructor for FileOut NetCDF module.
Definition: FoCovJsonRequestHandler.cc:51