Float64 Class Reference
Namespace | ohm::flip |
Inherits from | |
Declared in | ohm/flip/Float64.h |
Companion Guide |
Overview
The Float64 class implements a Flip value type holding a 64 bits floating point value. The following sections will only document the public API.
Partial Class Diagram

Methods Overview
Assigning
Casting
Comparing
Differencing
Methods
ctor
Sets the value at post construction stage.
virtual void ctor (ohm::flip::Args & args); |
void ctor (ohm::archi::Float64 val); |
The first version sets the value from a cascaded arguments object ohm::flip::Args
operator =
Sets the value.
Float64 & operator = (ohm::archi::Float64 val); |
Returns a reference to this .
operator bool
Returns the value of this .
operator ohm::archi::Float64 () const; |
WARNING:it is invalid to call this function when the object is being restored
get_old_value
Returns the old value of this .
ohm::archi::Float64 |
get_old_value () const; |
WARNING:it is invalid to call this function when the object is being inited
operator ==
Returns true if the right handed value is equal to this , false otherwise.
operator == (ohm::archi::Float64 val) const; |
operator == (const Float64 &other) const; |
operator !=
Returns true if the right handed value is not equal to this , false otherwise.
operator != (ohm::archi::Float64 val) const; |
operator != (const Float64 &other) const; |
did_value_change
Returns true if the old value is different from the current value.
bool did_value_change () const; |
Note:Outside of an observer document_changed call, this will always return false