1 #ifndef DEFINITIONS_GROUP
2 #define DEFINITIONS_GROUP
32 #define NULL_POINTER 0
38 #define BITS_PER_BYTE 8
41 #define PI_APPROX 3.14159265358
48 #define formal(parameter)
53 #if defined(UNICODE) && defined(__WIN32__)
75 #define MAXINT32 0x7fffffff
79 #define MININT32 0x80000000
83 #define MAXINT16 0x7fff
87 #define MININT16 0x8000
152 virtual ~root_object() {}
The guards collection helps in testing preconditions and reporting errors.
const int GIGABYTE
Number of bytes in a gigabyte.
const int MINUTE_s
Number of seconds in a minute.
const int MEGABYTE
Number of bytes in a megabyte.
unsigned char abyte
A fairly important unit which is seldom defined...
unsigned long un_long
Abbreviated name for unsigned long integers.
const int DAY_s
Number of seconds in a day.
const int DAY_ms
Number of milliseconds in a day.
long int signed_long
Abbreviated name for signed long integers.
const int SECOND_ms
Number of milliseconds in a second.
unsigned int un_int
Abbreviated name for unsigned integers.
const int HOUR_s
Number of seconds in an hour.
const int HOUR_ms
Number of milliseconds in an hour.
unsigned short un_short
Abbreviated name for unsigned short integers.
long long signed_long_long
Abbreviated name for signed long long integers.
const int MINUTE_ms
Number of milliseconds in a minute.
const int KILOBYTE
Number of bytes in a kilobyte.