32 #include "byteswap_compat.h"
33 #include "DmrppUInt32.h"
41 DmrppUInt32::operator=(
const DmrppUInt32 &rhs)
46 dynamic_cast<UInt32 &
>(*this) = rhs;
48 dynamic_cast<DmrppCommon &
>(*this) = rhs;
57 BESDEBUG(
"dmrpp",
"Entering " <<__PRETTY_FUNCTION__ <<
" for '" << name() <<
"'" << endl);
59 if (!get_chunks_loaded())
65 set_value(*
reinterpret_cast<dods_uint32*
>(read_atomic(name())));
67 if ( this->twiddle_bytes() ) {
68 d_buf = bswap_32(d_buf);
77 DmrppUInt32::set_send_p(
bool state)
79 if (!get_attributes_loaded())
80 load_attributes(
this);
82 UInt32::set_send_p(state);
85 void DmrppUInt32::dump(ostream & strm)
const
87 strm << BESIndent::LMarg <<
"DmrppUInt32::dump - (" << (
void *)
this <<
")" << endl;
89 DmrppCommon::dump(strm);
91 strm << BESIndent::LMarg <<
"value: " << d_buf << endl;
92 BESIndent::UnIndent();