bes
Updated for version 3.20.6
|
27 #include <BESResponseHandler.h>
28 #include <BESResponseNames.h>
29 #include <BESVersionInfo.h>
31 #include <TheBESKeys.h>
35 #include "FONgRequestHandler.h"
43 bool FONgRequestHandler::d_use_byte_for_geotiff_bands =
true;
62 CPLSetErrorHandler(CPLQuietErrorHandler);
90 string key =
"FONg.Reference";
94 ref =
"http://docs.opendap.org/index.php/BES_-_Modules_-_FileOut_GDAL";
96 map<string, string> attrs;
97 attrs[
"name"] = MODULE_NAME ;
98 attrs[
"version"] = MODULE_VERSION ;
100 attrs[
"reference"] = ref;
101 info->begin_tag(
"module", &attrs);
102 info->end_tag(
"module");
121 info->add_module(MODULE_NAME, MODULE_VERSION);
134 strm << BESIndent::LMarg <<
"FONgRequestHandler::dump - (" << (
void *)
this <<
")" << endl;
137 BESIndent::UnIndent();
Represents a specific data type request handler.
static bool build_help(BESDataHandlerInterface &dhi)
adds help information for FileOut GDAL to a help request
informational response object
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
bool read_bool_key(const std::string &key, bool default_value)
Read a boolean-valued key from the bes.conf file.
static TheBESKeys * TheKeys()
virtual BESResponseObject * get_response_object()
return the current response object
exception thrown if internal error encountered
FONgRequestHandler(const std::string &name)
Constructor for FileOut GDAL module.
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
Structure storing information used by the BES to handle the request.
virtual void dump(std::ostream &strm) const
dumps information about this object
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
virtual ~FONgRequestHandler(void)
Any cleanup that needs to take place.
Abstract base class representing a specific set of information in response to a request to the BES.