eRPC Generator (erpcgen)
Rev. 1.12.0
NXP Semiconductors
|
Double floating point value. More...
#include <Value.hpp>
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 override |
Get FloatValue type name. More... | |
virtual size_t | getSize () const override |
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 override |
Get FloatValue type string representation. More... | |
virtual Value * | clone () const override |
Clone FloatValue. More... | |
Public Member Functions inherited from Value | |
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.
|
inlineexplicit |
Constructor.
[in] | value | FloatValue value. |
|
inlineexplicit |
Constructor.
[in] | value | FloatValue value. |
|
inlineexplicit |
Copy constructor.
[in] | other | FloatValue to copy. |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
This function returns value.
|
inline |
Casting operator returns value.
|
inline |
Casting operator returns value.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Get FloatValue type string representation.
Implements Value.