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