Represents an OPeNDAP DataDDS DAP2 data object within the BES.
More...
#include <BESDataDDSResponse.h>
Represents an OPeNDAP DataDDS DAP2 data object within the BES.
Definition at line 46 of file BESDataDDSResponse.h.
◆ BESDataDDSResponse()
BESDataDDSResponse::BESDataDDSResponse |
( |
libdap::DDS * |
dds | ) |
|
|
inline |
◆ ~BESDataDDSResponse()
BESDataDDSResponse::~BESDataDDSResponse |
( |
| ) |
|
|
virtual |
◆ clear_container()
void BESDataDDSResponse::clear_container |
( |
| ) |
|
|
virtual |
◆ dump()
void BESDataDDSResponse::dump |
( |
std::ostream & |
strm | ) |
const |
|
virtual |
dumps information about this object
Displays the pointer value of this instance along with the data dds object created
- Parameters
-
strm | C++ i/o stream to dump the information to |
Reimplemented from BESDapResponse.
Definition at line 73 of file BESDataDDSResponse.cc.
◆ get_ce()
libdap::ConstraintEvaluator & BESDataDDSResponse::get_ce |
( |
| ) |
|
|
inline |
◆ get_dap_client_protocol()
std::string BESDapResponse::get_dap_client_protocol |
( |
| ) |
const |
|
inlineinherited |
Return the dap version string sent by the client (e.g., the OLFS)
Definition at line 64 of file BESDapResponse.h.
◆ get_dds()
libdap::DDS * BESDataDDSResponse::get_dds |
( |
| ) |
|
|
inline |
◆ get_explicit_containers()
bool BESDapResponse::get_explicit_containers |
( |
| ) |
const |
|
inlineinherited |
Should containers be explicitly represented in the DD* responses?
Definition at line 70 of file BESDapResponse.h.
◆ get_ia_flag()
bool BESDataDDSResponse::get_ia_flag |
( |
| ) |
|
|
inline |
◆ get_request_xml_base()
std::string BESDapResponse::get_request_xml_base |
( |
| ) |
const |
|
inlineinherited |
◆ is_dap2()
bool BESDapResponse::is_dap2 |
( |
| ) |
|
|
protectedinherited |
◆ read_contexts()
void BESDapResponse::read_contexts |
( |
| ) |
|
|
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"
- Note
- This value will be passed on to the DDS so that it can correctly build versions of the DDX which are specified by DAP 3.x and 4.x
Definition at line 64 of file BESDapResponse.cc.
◆ set_constraint()
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
- Parameters
-
Definition at line 134 of file BESDapResponse.cc.
◆ set_container()
void BESDataDDSResponse::set_container |
( |
const std::string & |
cn | ) |
|
|
virtual |
set the container in the DAP response object
- Parameters
-
cn | name of the current container being operated on |
Implements BESDapResponse.
Definition at line 50 of file BESDataDDSResponse.cc.
◆ set_dap4_constraint()
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
- Parameters
-
Definition at line 156 of file BESDapResponse.cc.
◆ set_dap4_function()
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
- Parameters
-
Definition at line 173 of file BESDapResponse.cc.
◆ set_dds()
void BESDataDDSResponse::set_dds |
( |
libdap::DDS * |
ddsIn | ) |
|
|
inline |
Set the response object's DDS. The caller should probably free the existing DDS object before calling this method.
Definition at line 73 of file BESDataDDSResponse.h.
◆ set_ia_flag()
void BESDataDDSResponse::set_ia_flag |
( |
bool |
ia_flag | ) |
|
|
inline |
The documentation for this class was generated from the following files: