LRAUV  revA
Double6.h
Go to the documentation of this file.
1 
10 #ifndef DOUBLE6_H_
11 #define DOUBLE6_H_
12 
13 #include "Double.h"
14 
36 class Double6 : public Double
37 {
38 public:
39 
41  Double6( const Unit& unit, double value, bool scaleValue = true );
42 
44  Double6( const Unit& unit, const void *binary );
45 
47  virtual ~Double6()
48  {}
49  ;
50 
52  Double6* copy() const;
53 
56  virtual bool equalsForStorage( const double& compareTo ) const;
57 
61  virtual unsigned int toStream( OutStream& outStream ) const;
62 
66  virtual void fromBinary( const void *buffer );
67 
68 protected:
69 
71  Double6();
72 
73 };
74 
75 #endif /*DOUBLE6_H_*/
virtual unsigned int toStream(OutStream &outStream) const
Send the data value to the indicated stream.
Definition: Double6.cpp:50
Wraps a double precision (8-byte) floating point number and unit for storage in a DataElement...
Definition: Double.h:36
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: Double6.cpp:40
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: Double6.cpp:55
virtual ~Double6()
Destructor.
Definition: Double6.h:47
Wraps a double precision (8-byte) floating point number and unit for storage in a DataElement...
Definition: Double6.h:36
Double6 * copy() const
Return a pointer to a new copy.
Definition: Double6.cpp:33
Double6()
Protected Empty constructor for use by DataEntry class.
Definition: Double6.cpp:62
This is a very abstract class that can be implemented by classes that want to send stream output...
Definition: OutStream.h:41
Code that represents an engineering unit.
Definition: Unit.h:24
Contains the Double class definition.