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