bes  Updated for version 3.20.6
DapFunctionsRequestHandler.h
1 // -*- mode: c++; c-basic-offset:4 -*-
2 //
3 // DapFunctionsRequestHandler.h
4 //
5 // This file is part of BES DAP Functions handler
6 //
7 // Copyright (c) 2016 OPeNDAP, Inc.
8 // Author: James Gallagher <jgallagher@opendap.org>
9 //
10 // This library is free software; you can redistribute it and/or
11 // modify it under the terms of the GNU Lesser General Public
12 // License as published by the Free Software Foundation; either
13 // version 2.1 of the License, or (at your option) any later version.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // Lesser General Public 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 #ifndef I_DapFunctionsRequestHandler_H
27 #define I_DapFunctionsRequestHandler_H 1
28 
29 #include <string>
30 #include <ostream>
31 
32 #include "BESRequestHandler.h"
33 
35 
40 public:
41  DapFunctionsRequestHandler(const std::string &name);
42  virtual ~DapFunctionsRequestHandler() {}
43 
44  virtual void dump(std::ostream &strm) const;
45 
46  static bool build_help(BESDataHandlerInterface &dhi);
47  static bool build_version(BESDataHandlerInterface &dhi);
48 };
49 
50 #endif
51 
BESRequestHandler
Represents a specific data type request handler.
Definition: BESRequestHandler.h:74
DapFunctionsRequestHandler::DapFunctionsRequestHandler
DapFunctionsRequestHandler(const std::string &name)
Constructor for FileOut NetCDF module.
Definition: DapFunctionsRequestHandler.cc:50
DapFunctionsRequestHandler::dump
virtual void dump(std::ostream &strm) const
dumps information about this object
Definition: DapFunctionsRequestHandler.cc:111
DapFunctionsRequestHandler
A Request Handler for the DAP Functions module.
Definition: DapFunctionsRequestHandler.h:39
BESDataHandlerInterface
Structure storing information used by the BES to handle the request.
Definition: BESDataHandlerInterface.h:56
DapFunctionsRequestHandler::build_version
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
Definition: DapFunctionsRequestHandler.cc:94
DapFunctionsRequestHandler::build_help
static bool build_help(BESDataHandlerInterface &dhi)
Provides information for the DAP functions help request.
Definition: DapFunctionsRequestHandler.cc:64