bes
Updated for version 3.20.6
|
29 #include "W10nJsonRequestHandler.h"
30 #include <BESResponseHandler.h>
31 #include <BESResponseNames.h>
32 #include <BESVersionInfo.h>
33 #include <BESDataNames.h>
34 #include <BESDataNames.h>
35 #include <TheBESKeys.h>
84 string key =
"W10n.Reference" ;
88 ref =
"http://docs.opendap.org/index.php/BES_-_Modules_-_w10n_JSON" ;
89 map<string,string> attrs ;
90 attrs[
"name"] = MODULE_NAME ;
91 attrs[
"version"] = MODULE_VERSION ;
93 attrs[
"name"] = PACKAGE_NAME;
94 attrs[
"version"] = PACKAGE_VERSION;
96 attrs[
"reference"] = ref ;
97 info->begin_tag(
"module", &attrs ) ;
98 info->end_tag(
"module" ) ;
119 info->add_module(PACKAGE_NAME, PACKAGE_VERSION);
121 info->add_module(MODULE_NAME, MODULE_VERSION);
135 strm << BESIndent::LMarg <<
"W10nJsonRequestHandler::dump - ("
136 << (
void *)
this <<
")" << endl ;
137 BESIndent::Indent() ;
139 BESIndent::UnIndent() ;
Represents a specific data type request handler.
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
informational response object
static bool build_help(BESDataHandlerInterface &dhi)
adds help information for FileOut NetCDF to a help request
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
static TheBESKeys * TheKeys()
virtual BESResponseObject * get_response_object()
return the current response object
W10nJsonRequestHandler(const std::string &name)
Constructor for FileOut NetCDF module.
virtual ~W10nJsonRequestHandler(void)
Any cleanup that needs to take place.
exception thrown if internal error encountered
void get_value(const std::string &s, std::string &val, bool &found)
Retrieve the value of a given key, if set.
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual void dump(std::ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
Abstract base class representing a specific set of information in response to a request to the BES.