35 using namespace libdap ;
62 map<string,string> attrs ;
63 attrs[
"name"] = libdap_name() ;
64 attrs[
"version"] = libdap_version() ;
80 info->
add_library( libdap_name(), libdap_version() ) ;
81 list<string> versions ;
82 versions.push_back(
"2.0" ) ;
83 versions.push_back(
"3.0" ) ;
84 versions.push_back(
"3.2" ) ;
100 << (
void *)
this <<
")" << endl ;
brief represents simple text information in a response object, such as version and help inforamtion...
exception thrown if inernal error encountered
virtual void add_data_from_file(const string &key, const string &name)
add data from a file to the informational object.
virtual void dump(ostream &strm) const
dumps information about this object
#define OPENDAP_SERVICE
macros representing the default response objects handled
BESDapRequestHandler(const string &name)
virtual void add_library(const string &n, const string &v)
informational response object
static bool dap_build_version(BESDataHandlerInterface &dhi)
virtual BESResponseObject * get_response_object()
return the current response object
virtual ~BESDapRequestHandler(void)
BESResponseHandler * response_handler
virtual void begin_tag(const string &tag_name, map< string, string > *attrs=0)
static ostream & LMarg(ostream &strm)
Represents a specific data type request handler.
static bool dap_build_help(BESDataHandlerInterface &dhi)
Structure storing information used by the BES to handle the request.
virtual void add_service(const string &n, const list< string > &vers)
virtual bool add_handler(const string &handler_name, p_request_handler handler_method)
add a handler method to the request handler that knows how to fill in a specific response object ...
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...
virtual void end_tag(const string &tag_name)