
#include <bit/float.h>

Public Types | |
| typedef BitPointer< FloatingPoint > | pointer |
Public Member Functions | |
| FloatingPoint (ByteOrder bo=BYTEORDER_HOST) | |
| virtual | ~FloatingPoint () |
| virtual Data | as_data () const =0 |
| virtual size_t | size () const =0 |
| virtual const void * | voidptr () const =0 |
| virtual pointer | clone () const =0 |
| virtual void | set_value (const Data d)=0 |
| Sets the value from a data object by directly copying; byte ordering of the data is not considered. | |
| virtual void | set_value (const void *mem, size_t size)=0 |
| virtual void | set_value (const Data d, ByteOrder databo)=0 |
| Sets the value from a data object. | |
| template<typename T> | |
| operator T () | |
| template<typename T> | |
| FloatingPoint & | operator= (T f) |
| virtual const std::type_info & | int_type ()=0 |
Public Attributes | |
| ByteOrder | byte_order |
| typedef BitPointer<FloatingPoint> bit::FloatingPoint::pointer |
Reimplemented in bit::Float< F >.
| bit::FloatingPoint::FloatingPoint | ( | ByteOrder | bo = BYTEORDER_HOST |
) | [inline] |
| virtual bit::FloatingPoint::~FloatingPoint | ( | ) | [inline, virtual] |
| virtual Data bit::FloatingPoint::as_data | ( | ) | const [pure virtual] |
Implemented in bit::Float< F >.
| virtual size_t bit::FloatingPoint::size | ( | ) | const [pure virtual] |
| virtual const void* bit::FloatingPoint::voidptr | ( | ) | const [pure virtual] |
Implemented in bit::Float< F >.
| virtual pointer bit::FloatingPoint::clone | ( | ) | const [pure virtual] |
Implemented in bit::Float< F >.
| virtual void bit::FloatingPoint::set_value | ( | const Data | d | ) | [pure virtual] |
Sets the value from a data object by directly copying; byte ordering of the data is not considered.
| d | The data object. The first n bytes are used to set the value. |
Implemented in bit::Float< F >.
| virtual void bit::FloatingPoint::set_value | ( | const void * | mem, | |
| size_t | size | |||
| ) | [pure virtual] |
Implemented in bit::Float< F >.
Sets the value from a data object.
| d | The data object. The first n bytes are used to set the value. | |
| databo | The byte order of the data object |
Implemented in bit::Float< F >.
| bit::FloatingPoint::operator T | ( | ) | [inline] |
References bit::Float< F >::host(), and size().
| FloatingPoint & bit::FloatingPoint::operator= | ( | T | f | ) | [inline] |
References size().
| virtual const std::type_info& bit::FloatingPoint::int_type | ( | ) | [pure virtual] |
Implemented in bit::Float< F >.
1.5.6