bes
Updated for version 3.20.6
|
33 #ifndef I_BESDapResponse
34 #define I_BESDapResponse 1
36 #include "BESResponseObject.h"
37 #include "BESDataHandlerInterface.h"
43 std::string d_dap_client_protocol;
44 bool d_explicit_containers;
46 std::string d_request_xml_base;
54 BESResponseObject(), d_dap_client_protocol(
"2.0"), d_explicit_containers(
true), d_request_xml_base(
"")
66 return d_dap_client_protocol;
72 return d_explicit_containers;
78 return d_request_xml_base;
85 virtual void set_container(
const std::string &cn) = 0;
86 virtual void clear_container() = 0;
88 virtual void dump(std::ostream &strm)
const;
91 #endif // I_BESDapResponse
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual void set_dap4_constraint(BESDataHandlerInterface &dhi)
set the constraint depending on the context
Represents an OPeNDAP DAP response object within the BES.
virtual void set_dap4_function(BESDataHandlerInterface &dhi)
set the constraint depending on the context
void read_contexts()
Extract the dap protocol from the setConext information.
bool get_explicit_containers() const
Should containers be explicitly represented in the DD* responses?
bool is_dap2()
See get_explicit_containers()
virtual void set_constraint(BESDataHandlerInterface &dhi)
set the constraint depending on the context
std::string get_dap_client_protocol() const
Return the dap version string sent by the client (e.g., the OLFS)
std::string get_request_xml_base() const
Return the xml:base URL for this request.
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.