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