24 #ifndef EndianSwapper_h 25 #define EndianSwapper_h 96 float Float(
void *buf);
float Float(void *buf)
Swaps a floating point value.
Definition: EndianSwapper.cpp:94
char p_char[8]
Union containing the output value in byte format.
Definition: EndianSwapper.h:89
long long int p_longLongInt
Union containing the output 8 byte integer value with swapped bytes.
Definition: EndianSwapper.h:80
int p_int
Union containing the output 4 byte integer value with swapped bytes.
Definition: EndianSwapper.h:78
uint32_t p_uint32
Union containing the output uint32_t value with swapped bytes.
Definition: EndianSwapper.h:72
unsigned short int UnsignedShortInt(void *buf)
Swaps an unsigned short integer value.
Definition: EndianSwapper.cpp:213
bool willSwap() const
Definition: EndianSwapper.h:103
double p_double
Union containing the output double precision value with swapped bytes.
Definition: EndianSwapper.h:74
long long int LongLongInt(void *buf)
Swaps an 8 byte integer value.
Definition: EndianSwapper.cpp:168
short int p_shortInt
Union containing the output 2 byte integer value with swapped bytes.
Definition: EndianSwapper.h:82
double Double(void *buf)
Swaps a double precision value.
Definition: EndianSwapper.cpp:71
Byte swapper.
Definition: EndianSwapper.h:55
float p_float
Union containing the output floating point value with swapped bytes.
Definition: EndianSwapper.h:76
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
~EndianSwapper()
Destroys the EndianSwapper object.
Definition: EndianSwapper.cpp:62
int ExportFloat(void *buf)
Swaps a floating point value for Exporting.
Definition: EndianSwapper.cpp:115
short int ShortInt(void *buf)
Swaps a short integer value.
Definition: EndianSwapper.cpp:190
EndianSwapper(QString inputEndian)
Constructs an EndianSwapper object, determining whether swapping of bytes actually needs to occur and...
Definition: EndianSwapper.cpp:39
uint32_t Uint32_t(void *buf)
Swaps a 32bit unsigned integer.
Definition: EndianSwapper.cpp:146
unsigned short int p_uShortInt
Union containing the output unsigned short integer value with swapped bytes.
Definition: EndianSwapper.h:87
int Int(void *buf)
Swaps a 4 byte integer value.
Definition: EndianSwapper.cpp:124