BOSS 7.0.6
BESIII Offline Software System
|
#include <ComPackSignedExpFloat.h>
Public Member Functions | |
ComPackSignedExpFloat (unsigned nbits, unsigned maxexponent, double maxval, bool invert=false, bool center=false) | |
virtual | ~ComPackSignedExpFloat () |
virtual StatusCode | pack (const double, d_ULong &) const |
virtual StatusCode | unpack (const d_ULong, double &) const |
void | print (std::ostream &s=std::cout) const |
Public Member Functions inherited from ComPackBase< double > | |
ComPackBase () | |
ComPackBase (double minval, double maxval, d_ULong bitrange) | |
ComPackBase (const ComPackBase &) | |
virtual | ~ComPackBase () |
virtual StatusCode | pack (const double, d_ULong &) const=0 |
virtual StatusCode | unpack (const d_ULong, double &) const=0 |
virtual const double & | getMinVal () const |
virtual const double & | getMaxVal () const |
virtual const double & | getRange () const |
d_ULong | bitRange () const |
d_ULong | bitMask () const |
ComPackBase & | operator= (const ComPackBase &) |
Additional Inherited Members | |
Public Types inherited from ComPackBaseBase | |
enum | StatusCode { TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP } |
Protected Types inherited from ComPackBase< double > | |
enum | |
Protected Attributes inherited from ComPackBase< double > | |
double | _minVal |
double | _maxVal |
double | _valRange |
d_ULong | _bitRange |
d_ULong | _bitMask |
Definition at line 29 of file ComPackSignedExpFloat.h.
ComPackSignedExpFloat::ComPackSignedExpFloat | ( | unsigned | nbits, |
unsigned | maxexponent, | ||
double | maxval, | ||
bool | invert = false , |
||
bool | center = false |
||
) |
Definition at line 30 of file ComPackSignedExpFloat.cxx.
|
virtual |
Definition at line 43 of file ComPackSignedExpFloat.cxx.
|
virtual |
Definition at line 47 of file ComPackSignedExpFloat.cxx.
void ComPackSignedExpFloat::print | ( | std::ostream & | s = std::cout | ) | const |
Definition at line 72 of file ComPackSignedExpFloat.cxx.
|
virtual |
Implements ComPackBase< double >.
Definition at line 61 of file ComPackSignedExpFloat.cxx.