33 #include "DmrppByte.h"
41 DmrppByte::operator=(
const DmrppByte &rhs)
46 dynamic_cast<Byte &
>(*this) = rhs;
48 dynamic_cast<DmrppCommon &
>(*this) = rhs;
54 bool DmrppByte::read()
56 BESDEBUG(
"dmrpp",
"Entering " <<__PRETTY_FUNCTION__ <<
" for " << name() << endl);
58 if (!get_chunks_loaded())
64 set_value(*
reinterpret_cast<dods_byte*
>(read_atomic(name())));
72 DmrppByte::set_send_p(
bool state)
74 if (!get_attributes_loaded())
75 load_attributes(
this);
77 Byte::set_send_p(state);
80 void DmrppByte::dump(ostream & strm)
const
82 strm << BESIndent::LMarg <<
"DmrppByte::dump - (" << (
void *)
this <<
")" << endl;
84 DmrppCommon::dump(strm);
86 strm << BESIndent::LMarg <<
"value: " << d_buf << endl;
87 BESIndent::UnIndent();