#include <PXXUnpackerUtil.h>
Inheritance diagram for PXXUnpackerUtil:
Public Member Functions | |
SET_LOGGER ("PXXObject") | |
virtual | ~PXXUnpackerUtil () |
Static Public Member Functions | |
static Bool8b_t | IsBigEndianMachine () |
static void | ByteSwap (Short16b_t &t_short) |
static void | ByteSwap (Int32b_t &t_int) |
static void | ByteSwap (Long64b_t &t_long) |
static void | ByteSwap (Float32b_t &t_float) |
static void | ByteSwap (Double64b_t &t_double) |
Static Public Attributes | |
static const Int32b_t | kCharSize_ |
static const Int32b_t | kShortSize_ |
static const Int32b_t | kIntSize_ |
static const Int32b_t | kLongSize_ |
static const Int32b_t | kFloatSize_ |
static const Int32b_t | kDoubleSize_ |
Protected Member Functions | |
PXXUnpackerUtil () |
This is an utility class for unpacker. All functions must be static so that // you don't need to instanciate the class. //
|
Destructor |
|
protected constructor |
|
|
|
|
|
|
|
|
|
Static functions to do byte swap. It modify the input arguments in order to avoid any risk to use un-swapped(wrong) value. |
|
Test your machine byte order. It keep the result to the fIsBigEndianMachine_ whose initial value is -1. If the value has changed, it just return the fIsBigEndianMachine_ without doing endian check. |
|
Reimplemented from PXXObject. |
|
public size constants |
|
|
|
|
|
|
|
|
|
|