Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Uniform.h File Reference

More...

#include <SimData/Namespace.h>

Go to the source code of this file.

Functions

bool isBigEndian ()
 Test for big-endian byte order.

bool isLittleEndian ()
 Test for little-endian byte order.


Detailed Description

Author:
Mark Rose <mrose@stm.lbl.gov>

Typedef Documentation

typedef signed short int16
 

typedef signed int int32
 

typedef unsigned short uint16
 

typedef unsigned int uint32
 

typedef unsigned char uint8
 


Function Documentation

bool isBigEndian   [inline]
 

Test for big-endian byte order.

bool isLittleEndian   [inline]
 

Test for little-endian byte order.


Variable Documentation

NAMESPACE_SIMDATA typedef signed char int8
 

Note that these are currently hard-coded, assuming that almost all modern compilers and architectures will use these quasi-standard sizes. If this is not true, these typedefs make it easy to adjust the mapping by hand (or by autoconf).

Note:
SimData currently uses internal structures to represent 64-bit integer types, but these may be optimized in the future to use long ints on 64-bit hardware.


SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:40 2003, using Doxygen 1.2.18.

[SF.net]