28 : byte_order(byte_order)
54ByteOrder::operator!=(
const ByteOrder order2)
const
56 return !(*
this == order2);
This class provides member functions to find out what byte-order your machine is and to swap numbers.
Definition ByteOrder.h:100
bool is_native_order() const
check if the object refers to the native order.
Definition ByteOrder.inl:39
Order
enum for specifying the byte-order
Definition ByteOrder.h:104
@ native
Definition ByteOrder.h:107
bool operator==(const ByteOrder order2) const
comparison operator
Definition ByteOrder.inl:46
static Order get_native_order()
returns the byte-order native to the machine the programme is running on.
Definition ByteOrder.inl:33
ByteOrder(Order byte_order=native)
constructor, defaulting to 'native' byte order
Definition ByteOrder.inl:27