|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef EndianSwapper_h
2 #define EndianSwapper_h
79 float Float(
void *buf);
float Float(void *buf)
Swaps a floating point value.
Definition: EndianSwapper.cpp:78
double p_double
Union containing the output double precision value with swapped bytes.
Definition: EndianSwapper.h:57
unsigned short int UnsignedShortInt(void *buf)
Swaps an unsigned short integer value.
Definition: EndianSwapper.cpp:197
float p_float
Union containing the output floating point value with swapped bytes.
Definition: EndianSwapper.h:59
uint32_t Uint32_t(void *buf)
Swaps a 32bit unsigned integer.
Definition: EndianSwapper.cpp:130
bool IsLsb()
Return true if this host is an LSB first machine and false if it is not.
Definition: Endian.h:67
unsigned short int p_uShortInt
Union containing the output unsigned short integer value with swapped bytes.
Definition: EndianSwapper.h:70
bool willSwap() const
Definition: EndianSwapper.h:86
~EndianSwapper()
Destroys the EndianSwapper object.
Definition: EndianSwapper.cpp:46
int ExportFloat(void *buf)
Swaps a floating point value for Exporting.
Definition: EndianSwapper.cpp:99
short int ShortInt(void *buf)
Swaps a short integer value.
Definition: EndianSwapper.cpp:174
bool IsMsb()
Return true if this host is an MSB first machine and false if it is not.
Definition: Endian.h:83
@ Double
Definition: PixelType.h:36
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
EndianSwapper(QString inputEndian)
Constructs an EndianSwapper object, determining whether swapping of bytes actually needs to occur and...
Definition: EndianSwapper.cpp:23
char p_char[8]
Union containing the output value in byte format.
Definition: EndianSwapper.h:72
int p_int
Union containing the output 4 byte integer value with swapped bytes.
Definition: EndianSwapper.h:61
Isis exception class.
Definition: IException.h:91
int Int(void *buf)
Swaps a 4 byte integer value.
Definition: EndianSwapper.cpp:108
Namespace for the standard library.
long long int p_longLongInt
Union containing the output 8 byte integer value with swapped bytes.
Definition: EndianSwapper.h:63
long long int LongLongInt(void *buf)
Swaps an 8 byte integer value.
Definition: EndianSwapper.cpp:152
Byte swapper.
Definition: EndianSwapper.h:38
uint32_t p_uint32
Union containing the output uint32_t value with swapped bytes.
Definition: EndianSwapper.h:55
double Double(void *buf)
Swaps a double precision value.
Definition: EndianSwapper.cpp:55
short int p_shortInt
Union containing the output 2 byte integer value with swapped bytes.
Definition: EndianSwapper.h:65
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16