38 Double4(
const Unit& unit,
double value,
bool scaleValue =
true );
Double4 * copy() const
Return a pointer to a new copy.
Definition: Double4.cpp:35
Wraps a double precision (8-byte) floating point number and unit for storage in a DataElement...
Definition: Double.h:36
static float DoubleToFloat(const double &theDouble)
Cast to float without floating point errors.
Definition: Double4.cpp:73
Double4()
Protected Empty constructor for use by DataEntry class.
Definition: Double4.cpp:65
This is a very abstract class that can be implemented by classes that want to send stream output...
Definition: OutStream.h:41
virtual bool equalsForStorage(const double &compareTo) const
A quick equality check used to see if value has changed enough to matter in logging (useful for reduc...
Definition: Double4.cpp:42
virtual void fromBinary(const void *buffer)
Load the data from the a binary representation in the buffer Typically just a memcopy of the variable...
Definition: Double4.cpp:57
Wraps a double precision (8-byte) floating point number and unit for storage in a DataElement...
Definition: Double4.h:33
virtual unsigned int toStream(OutStream &outStream) const
Send the data value to the indicated stream.
Definition: Double4.cpp:52
virtual ~Double4()
Destructor.
Definition: Double4.h:44
Code that represents an engineering unit.
Definition: Unit.h:24
Contains the Double class definition.