27#include "BESDMRResponse.h"
35#define prolog std::string("BESDMRResponse::").append(__func__).append("() - ")
37BESDMRResponse::BESDMRResponse(DMR *dmr) :
BESDapResponse(), _dmr(dmr) {
38 string xml_base = get_request_xml_base();
39 _dmr->set_request_xml_base(xml_base);
40 BESDEBUG(MODULE, prolog <<
"_dmr->request_xml_base(): \"" << _dmr->request_xml_base()
41 <<
"\" (dmr: " << (
void *) _dmr <<
")" << endl);
44BESDMRResponse::~BESDMRResponse() {
58 _dmr->container_name( cn );
70 _dmr->container_name(
"" );
84 strm << BESIndent::LMarg <<
"BESDMRResponse::dump - (" << (
void *)
this <<
")" << endl;
87 strm << BESIndent::LMarg <<
"DMR:" << endl;
89 BESIndent::SetIndent(BESIndent::GetIndent());
92 BESIndent::UnIndent();
95 strm << BESIndent::LMarg <<
"DMR: null" << endl;
97 BESIndent::UnIndent();
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual void clear_container()
clear the container in the DAP response object
virtual void set_container(const std::string &cn)
set the container in the DAP response object
Represents an OPeNDAP DAP response object within the BES.
bool get_explicit_containers() const
Should containers be explicitly represented in the DD* responses?