32 #include "byteswap_compat.h"
33 #include "DmrppUInt64.h"
41 DmrppUInt64::operator=(
const DmrppUInt64 &rhs)
46 dynamic_cast<UInt64 &
>(*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_uint64*
>(read_atomic(name())));
67 if ( this->twiddle_bytes() ) {
68 d_buf = bswap_64(d_buf);
77 DmrppUInt64::set_send_p(
bool state)
79 if (!get_attributes_loaded())
80 load_attributes(
this);
82 UInt64::set_send_p(state);
85 void DmrppUInt64::dump(ostream & strm)
const
87 strm << BESIndent::LMarg <<
"DmrppUInt64::dump - (" << (
void *)
this <<
")" << endl;
89 DmrppCommon::dump(strm);
91 strm << BESIndent::LMarg <<
"value: " << d_buf << endl;
92 BESIndent::UnIndent();