![]() |
eRPC Generator (erpcgen)
Rev. 1.7.2
NXP Semiconductors
|
Double floating point value. More...
#include <Value.h>
Public Member Functions | |
FloatValue () | |
Constructor. | |
FloatValue (double value) | |
Constructor. More... | |
FloatValue (float value) | |
Constructor. More... | |
FloatValue (const FloatValue &other) | |
Copy constructor. More... | |
FloatValue & | operator= (const FloatValue &other) |
Assign operator. More... | |
virtual std::string | getTypeName () const |
Get FloatValue type name. More... | |
virtual size_t | getSize () const |
Get FloatValue type size. More... | |
double | getValue () const |
This function returns value. More... | |
operator double () const | |
Casting operator returns value. More... | |
operator float () const | |
Casting operator returns value. More... | |
FloatValue & | operator= (double value) |
Assign operator. More... | |
FloatValue & | operator= (float value) |
Assign operator. More... | |
virtual std::string | toString () const |
Get FloatValue type string representation. More... | |
virtual Value * | clone () const |
Clone FloatValue. More... | |
![]() | |
Value (value_type_t theType) | |
Constructor. More... | |
virtual | ~Value () |
Destructor. | |
virtual value_type_t | getType () const |
Get Value type. More... | |
Protected Attributes | |
double | m_value |
The double value. | |
Double floating point value.
|
inline |
Constructor.
[in] | value | FloatValue value. |
|
inline |
Constructor.
[in] | value | FloatValue value. |
|
inline |
Copy constructor.
[in] | other | FloatValue to copy. |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
This function returns value.
|
inline |
Casting operator returns value.
|
inline |
Casting operator returns value.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Get FloatValue type string representation.
Implements Value.