Pointwise Plugin SDK
|
Functions | |
const void * | PwuApplyEndianness (PWP_ENDIANNESS endianness, const void *buf, size_t size) |
Apply specified byte order to buf containing size bytes. More... | |
PWP_ENDIANNESS | PwuGetOsEndianness (void) |
Query the OS's native endianness. More... | |
#define | PWU_ENDIANNESS PWP_ENDIANNESS |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead. More... | |
#define | PWU_ENDIAN_ERROR PWP_ENDIAN_ERROR |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead. More... | |
#define | PWU_ENDIAN_LITTLE PWP_ENDIAN_LITTLE |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead. More... | |
#define | PWU_ENDIAN_BIG PWP_ENDIAN_BIG |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead. More... | |
#define | PWU_ENDIAN_NATIVE PWP_ENDIAN_NATIVE |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead. More... | |
#define | PWU_ENDIAN_FOREIGN PWP_ENDIAN_FOREIGN |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead. More... | |
Platform Endianness detection.
#define PWU_ENDIAN_BIG PWP_ENDIAN_BIG |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead.
Definition at line 302 of file apiPWPUtils.h.
#define PWU_ENDIAN_ERROR PWP_ENDIAN_ERROR |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead.
Definition at line 300 of file apiPWPUtils.h.
#define PWU_ENDIAN_FOREIGN PWP_ENDIAN_FOREIGN |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead.
Definition at line 304 of file apiPWPUtils.h.
#define PWU_ENDIAN_LITTLE PWP_ENDIAN_LITTLE |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead.
Definition at line 301 of file apiPWPUtils.h.
#define PWU_ENDIAN_NATIVE PWP_ENDIAN_NATIVE |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead.
Definition at line 303 of file apiPWPUtils.h.
#define PWU_ENDIANNESS PWP_ENDIANNESS |
These PWU_ENDIAN macros are defined for backward compatibility. Usage is deprecated. Use the PWP_ENDIAN types instead.
Definition at line 299 of file apiPWPUtils.h.
const void* PwuApplyEndianness | ( | PWP_ENDIANNESS | endianness, |
const void * | buf, | ||
size_t | size | ||
) |
Apply specified byte order to buf containing size bytes.
Definition at line 230 of file apiPWPUtils.cxx.
References ENDIAN_MAXSIZE, PWP_ENDIAN_BIG, PWP_ENDIAN_ERROR, PWP_ENDIAN_FOREIGN, PWP_ENDIAN_LITTLE, PWP_ENDIAN_NATIVE, and PwuGetOsEndianness().
Referenced by PwuUnfRecWriteEndianBuf(), unfHdrLenWrite(), PwpFile::writeAt(), and PwpAnchoredFileValueWriter< ValType >::writeUnf().
PWP_ENDIANNESS PwuGetOsEndianness | ( | void | ) |
Query the OS's native endianness.
Definition at line 218 of file apiPWPUtils.cxx.
References PWP_ENDIAN_BIG, and PWP_ENDIAN_LITTLE.
Referenced by caeuFileByteOrder(), PwpFile::getOsByteOrder(), CaePlugin< MT >::getOsEndianness(), and PwuApplyEndianness().