32#include "DmrppFloat32.h"
33#include "float_byteswap.h"
46 dynamic_cast<Float32 &
>(*this) = rhs;
48 dynamic_cast<DmrppCommon &
>(*this) = rhs;
57 BESDEBUG(
"dmrpp",
"Entering " <<__PRETTY_FUNCTION__ <<
" for '" << name() <<
"'" << endl);
65 set_value(*
reinterpret_cast<dods_float32*
>(
read_atomic(name())));
68 auto temp_buf =
reinterpret_cast<char*
>(&d_buf);
69 swap_float32(temp_buf,1);
80DmrppFloat32::set_send_p(
bool state)
85 Float32::set_send_p(state);
88void DmrppFloat32::dump(ostream & strm)
const
90 strm << BESIndent::LMarg <<
"DmrppFloat32::dump - (" << (
void *)
this <<
")" << endl;
92 DmrppCommon::dump(strm);
94 strm << BESIndent::LMarg <<
"value: " << d_buf << endl;
95 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