00001 #include "BESDASResponse.h" 00002 00003 BESDASResponse::~BESDASResponse() 00004 { 00005 if( _das ) 00006 delete _das ; 00007 } 00008 00016 void 00017 BESDASResponse::dump( ostream &strm ) const 00018 { 00019 strm << BESIndent::LMarg << "BESDASResponse::dump - (" 00020 << (void *)this << ")" << endl ; 00021 BESIndent::Indent() ; 00022 if( _das ) 00023 { 00024 strm << BESIndent::LMarg << "DAS:" << endl ; 00025 BESIndent::Indent() ; 00026 DapIndent::SetIndent( BESIndent::GetIndent() ) ; 00027 _das->dump( strm ) ; 00028 DapIndent::Reset() ; 00029 BESIndent::UnIndent() ; 00030 } 00031 else 00032 { 00033 strm << BESIndent::LMarg << "DAS: null" << endl ; 00034 } 00035 BESIndent::UnIndent() ; 00036 } 00037