# gxUINT32 Integer Type

Topics

:

OverviewOverview
Conditional Directives
Type Definitions
Functions

Overview

The gxUINT32 class is used to represent 32 bit-unsigned integers independently of the operating system or hardware platform used. gxUINT32 types are implemented to overcome the big and little endian byte ordering problems encountered when writing integer values to a common database file or device accessed by several different types of machines. It works by separating a 32-bit value into four separate byte values and reordering the bytes lowest-order to highest-order. A gxUINT32 type has a base 10 limit of 4,294,967,295.

Conditional Directives

__USE_NATIVE_INT_TYPES__

- This conditional directive allows the use of native integer types in place of platform interoperable integer types for debugging purposes only.

Functions

The gxUINT32 class is designed to function in the same manner as built-in integer types and includes a full complement of arithmetic and comparison operator overloads. Each operator is overloaded for the following data types: gxUINT32, __LWORD__, __ULWORD__, __WORD__, __SWORD__, __ULWORD__, __USWORD__, __SBYTE__, and __UBYTE__.

End Of Document