VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables

Go to the source code of this file.

Macros

#define is_bigendian()   ( (*(char*)&endianChecker) == 0 )
 

Functions

static void swapByteArray (char *byteArray, int theSize)
 Swap the byte array in memory. More...
 
static DtU16 endianSwap16Bit (DtU16 rhs)
 swap 16 bits More...
 
static DtU32 endianSwap32Bit (DtU32 rhs)
 swap 32 bits More...
 
static DtU64 endianSwap64Bit (DtU64 rhs)
 swap 64 bits More...
 

Variables

const int endianChecker = 1
 This checks whether the machine is Big Endian or Little Endian. More...
 

Macro Definition Documentation

#define is_bigendian ( )    ( (*(char*)&endianChecker) == 0 )

Function Documentation

static DtU16 endianSwap16Bit ( DtU16  rhs)
static

swap 16 bits

Referenced by endianSwap32Bit().

static DtU32 endianSwap32Bit ( DtU32  rhs)
static

swap 32 bits

References endianSwap16Bit().

Referenced by endianSwap64Bit().

static DtU64 endianSwap64Bit ( DtU64  rhs)
static

swap 64 bits

References endianSwap32Bit().

static void swapByteArray ( char *  byteArray,
int  theSize 
)
static

Swap the byte array in memory.

Variable Documentation

const int endianChecker = 1

This checks whether the machine is Big Endian or Little Endian.


Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)