30 #include "BESIndent.h"
32 #include "DmrppInt32.h"
40 DmrppInt32::_duplicate(
const DmrppInt32 &)
44 DmrppInt32::DmrppInt32(
const string &n) : Int32(n), DmrppCommon()
48 DmrppInt32::DmrppInt32(
const string &n,
const string &d) : Int32(n, d), DmrppCommon()
53 DmrppInt32::ptr_duplicate()
55 return new DmrppInt32(*
this);
58 DmrppInt32::DmrppInt32(
const DmrppInt32 &rhs) : Int32(rhs), DmrppCommon(rhs)
64 DmrppInt32::operator=(
const DmrppInt32 &rhs)
69 dynamic_cast<Int32 &
>(*this) = rhs;
72 DmrppCommon::m_duplicate_common(rhs);
80 BESDEBUG(
"dmrpp",
"Entering " <<__PRETTY_FUNCTION__ <<
" for '" << name() <<
"'" << endl);
85 set_value(*
reinterpret_cast<dods_int32*
>(
read_atomic(name())));
92 void DmrppInt32::dump(ostream & strm)
const
94 strm << BESIndent::LMarg <<
"DmrppInt32::dump - (" << (
void *)
this <<
")" << endl;
96 DmrppCommon::dump(strm);
98 strm << BESIndent::LMarg <<
"value: " << d_buf << endl;
99 BESIndent::UnIndent();