#include <EndianIO.h>
Inheritance diagram for Teddy::SysSupport::EndianIO:

Public Methods | |
| EndianIO () | |
| Default constructor. More... | |
| void | set_bigendian () |
| Set bigendian byteorder for stream. More... | |
| void | set_littlendian () |
| Set little-endian byteorder for stream. More... | |
| bool | q_MSBfirst () const |
| Is byteorder bigendian? More... | |
Private Types | |
| enum | { MSBfirst, LSBfirst } |
Private Attributes | |
| enum Teddy::SysSupport::EndianIO:: { ... } | byte_order |
A very very poor implementation for endian independent access to endian sensitive data,
Definition at line 44 of file EndianIO.h.
|
|
Definition at line 45 of file EndianIO.h. |
|
|
Default constructor.
Definition at line 33 of file EndianIO.cpp. |
|
|
Is byteorder bigendian?
Definition at line 50 of file EndianIO.cpp. References byte_order, and MSBfirst. Referenced by Teddy::SysSupport::EndianIn::read_float, Teddy::SysSupport::EndianIn::read_long, Teddy::SysSupport::EndianIn::read_short, Teddy::SysSupport::EndianOut::write_float, Teddy::SysSupport::EndianOut::write_long, and Teddy::SysSupport::EndianOut::write_short. |
|
|
Set bigendian byteorder for stream.
Definition at line 38 of file EndianIO.cpp. References byte_order, and MSBfirst. |
|
|
Set little-endian byteorder for stream.
Definition at line 44 of file EndianIO.cpp. References byte_order, and LSBfirst. |
|
|
Referenced by q_MSBfirst, set_bigendian, and set_littlendian. |