bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
Holds a DDS object within the BES. More...
#include <BESDDSResponse.h>
Public Member Functions | |
BESDDSResponse (libdap::DDS *dds) | |
virtual void | clear_container () |
clear the container in the DAP response object | |
virtual void | dump (std::ostream &strm) const |
dumps information about this object set container in catalog values avhrr, /data/ff/1998.6.avhrr.dat; | |
libdap::ConstraintEvaluator & | get_ce () |
std::string | get_dap_client_protocol () const |
Return the dap version string sent by the client (e.g., the OLFS) | |
libdap::DDS * | get_dds () |
bool | get_explicit_containers () const |
Should containers be explicitly represented in the DD* responses? | |
std::string | get_request_xml_base () const |
Return the xml:base URL for this request. | |
virtual void | set_constraint (BESDataHandlerInterface &dhi) |
set the constraint depending on the context | |
virtual void | set_container (const std::string &cn) |
set the container in the DAP response object | |
virtual void | set_dap4_constraint (BESDataHandlerInterface &dhi) |
set the constraint depending on the context | |
virtual void | set_dap4_function (BESDataHandlerInterface &dhi) |
set the constraint depending on the context | |
void | set_dds (libdap::DDS *ddsIn) |
Protected Member Functions | |
bool | is_dap2 () |
See get_explicit_containers() | |
void | read_contexts () |
Extract the dap protocol from the setContext information This method checks four contexts: dap_explicit_containers, dap_format and xdap_accept, and xml:base. | |
Holds a DDS object within the BES.
Definition at line 50 of file BESDDSResponse.h.
|
inline |
Definition at line 56 of file BESDDSResponse.h.
|
virtual |
Definition at line 39 of file BESDDSResponse.cc.
|
virtual |
clear the container in the DAP response object
Implements BESDapResponse.
Definition at line 73 of file BESDDSResponse.cc.
|
virtual |
dumps information about this object set container in catalog values avhrr, /data/ff/1998.6.avhrr.dat;
Displays the pointer value of this instance along with the dds object created
strm | C++ i/o stream to dump the information to |
Reimplemented from BESDapResponse.
Definition at line 88 of file BESDDSResponse.cc.
|
inline |
Get a reference to the DAP2 Constraint Evaluator.
Definition at line 92 of file BESDDSResponse.h.
|
inlineinherited |
Return the dap version string sent by the client (e.g., the OLFS)
Definition at line 64 of file BESDapResponse.h.
|
inline |
Get the contained DDS object.
Definition at line 80 of file BESDDSResponse.h.
|
inlineinherited |
Should containers be explicitly represented in the DD* responses?
Definition at line 70 of file BESDapResponse.h.
|
inlineinherited |
Return the xml:base URL for this request.
Definition at line 76 of file BESDapResponse.h.
|
protectedinherited |
Definition at line 119 of file BESDapResponse.cc.
|
protectedinherited |
Extract the dap protocol from the setContext information This method checks four contexts: dap_explicit_containers, dap_format and xdap_accept, and xml:base.
If given, the boolean value of dap_explicit_containers is used. If that's not given then look for dap_format and if that's not given default to true. The OLFS should always send this to make Hyrax work the way DAP clients expect.
xdap_accept is the value of the DAP that clients can grok. It defaults to "2.0"
Definition at line 64 of file BESDapResponse.cc.
|
virtualinherited |
set the constraint depending on the context
If the context is dap2 then the constraint will be the constraint of the current container. If not dap2 and we have multiple containers then the constraint of the current container must be added to the current post constraint
dhi | The BESDataHandlerInterface of the request. THis holds the current container and the current post constraint |
Definition at line 134 of file BESDapResponse.cc.
|
virtual |
set the container in the DAP response object
cn | name of the current container being operated on |
Implements BESDapResponse.
Definition at line 64 of file BESDDSResponse.cc.
|
virtualinherited |
set the constraint depending on the context
If the context is dap2 then the constraint will be the constraint of the current container. If not dap2 and we have multiple containers then the constraint of the current container must be added to the current post constraint
dhi | The BESDataHandlerInterface of the request. THis holds the current container and the current post constraint |
Definition at line 156 of file BESDapResponse.cc.
|
virtualinherited |
set the constraint depending on the context
If the context is dap2 then the constraint will be the constraint of the current container. If not dap2 and we have multiple containers then the constraint of the current container must be added to the current post constraint
dhi | The BESDataHandlerInterface of the request. THis holds the current container and the current post constraint |
Definition at line 173 of file BESDapResponse.cc.
|
inline |
Set the response object's DDS. The caller should probably free an existing DDS object held here before calling this method.
Definition at line 71 of file BESDDSResponse.h.