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

Go to the source code of this file.

Classes

union  DtFloat64Layout
 Used to Swap Longs. More...
 
union  DtFloat32Layout
 

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...
 
static DtFloat32 endianSwapFloat32Bit (DtFloat32 rhs)
 swap 32 bits More...
 
static DtFloat64 endianSwapFloat64Bit (DtFloat64 rhs)
 swap 64 bits More...
 
static DtString MakeCCompatibleString (DtString input)
 

Variables

static int myCurrentLargeFileNum = 0
 
static std::map< DtString,
DtString
longNamesToShortNames
 
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(), and endianSwapFloat32Bit().

static DtU32 endianSwap32Bit ( DtU32  rhs)
static

swap 32 bits

References endianSwap16Bit().

Referenced by endianSwap64Bit(), and endianSwapFloat64Bit().

static DtU64 endianSwap64Bit ( DtU64  rhs)
static

swap 64 bits

References endianSwap32Bit().

static DtFloat32 endianSwapFloat32Bit ( DtFloat32  rhs)
static
static DtFloat64 endianSwapFloat64Bit ( DtFloat64  rhs)
static
static DtString MakeCCompatibleString ( DtString  input)
static
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.

std::map<DtString,DtString> longNamesToShortNames
static

Referenced by MakeCCompatibleString().

int myCurrentLargeFileNum = 0
static

Referenced by MakeCCompatibleString().


Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)