28#include "BESResponseHandler.h"
29#include "BESResponseNames.h"
30#include "BESDataHandlerInterface.h"
31#include "BESVersionInfo.h"
33#include "TheBESKeys.h"
35#include "DapFunctionsRequestHandler.h"
51 BESRequestHandler(name)
71 string key =
"BES.functions.Reference";
74 if (ref.empty()) ref =
"https://docs.opendap.org/index.php/Server_Side_Processing_Functions";
76 map<string, string, std::less<>> attrs;
77 attrs[
"name"] = MODULE_NAME;
78 attrs[
"version"] = MODULE_VERSION;
79 attrs[
"reference"] = ref;
81 info->begin_tag(
"module", &attrs);
82 info->end_tag(
"module");
100 info->add_module(MODULE_NAME, MODULE_VERSION);
113 strm << BESIndent::LMarg <<
"DapFunctionsRequestHandler::dump - (" << (
void *)
this <<
")" << endl;
116 BESIndent::UnIndent();
Structure storing information used by the BES to handle the request.
informational response object
exception thrown if internal error encountered
virtual bool add_method(const std::string &name, p_request_handler_method method)
add a handler method to the request handler that knows how to fill in a specific response object
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual BESResponseObject * get_response_object()
return the current response object
Abstract base class representing a specific set of information in response to a request to the BES.
virtual void dump(std::ostream &strm) const
dumps information about this object
DapFunctionsRequestHandler(const std::string &name)
Constructor for FileOut NetCDF module.
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
static bool build_help(BESDataHandlerInterface &dhi)
Provides information for the DAP functions help request.
void get_value(const std::string &s, std::string &val, bool &found)
Retrieve the value of a given key, if set.
static TheBESKeys * TheKeys()
Access to the singleton.