32#include "byteswap_compat.h"
33#include "DmrppInt16.h"
46 dynamic_cast<Int16 &
>(*this) = rhs;
48 dynamic_cast<DmrppCommon &
>(*this) = rhs;
57 BESDEBUG(
"dmrpp",
"Entering " <<__PRETTY_FUNCTION__ <<
" for '" << name() <<
"'" << endl);
65 set_value(*
reinterpret_cast<dods_int16*
>(
read_atomic(name())));
68 d_buf = bswap_16(d_buf);
77DmrppInt16::set_send_p(
bool state)
82 Int16::set_send_p(state);
85void DmrppInt16::dump(ostream & strm)
const
87 strm << BESIndent::LMarg <<
"DmrppInt16::dump - (" << (
void *)
this <<
")" << endl;
89 DmrppCommon::dump(strm);
91 strm << BESIndent::LMarg <<
"value: " << d_buf << endl;
92 BESIndent::UnIndent();
virtual bool twiddle_bytes() const
Returns true if this object utilizes shuffle compression.
virtual void load_attributes(libdap::BaseType *btp)
Load the attribute information for this variable.
virtual bool get_chunks_loaded() const
Have the chunks been loaded?
virtual void load_chunks(libdap::BaseType *btp)
Load chunk information for this variable.
virtual bool get_attributes_loaded() const
Have the attributes been loaded?
virtual char * read_atomic(const std::string &name)
read method for the atomic types