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