Header file that defines all scalar types. More...
Go to the source code of this file.
Classes | |
struct | _DateStructure |
union | _DoubleNint |
union | _FloatNint |
struct | _Split64 |
union | _Uint8PtrToUint32Ptr |
union | _Uint8ToInt16 |
union | _Uint8ToInt32 |
union | _Uint8ToUint16 |
union | _Uint8ToUint32 |
Macros | |
#define | SBG_HALF_UINT_16 (32768) |
#define | SBG_HALF_UINT_24 (8388608ul) |
#define | SBG_HALF_UINT_32 (2147483648ul) |
#define | SBG_HALF_UINT_64 (9223372036854775808ull) |
#define | SBG_HALF_UINT_8 (128) |
#define | SBG_MAX_INT_16 (32767) |
#define | SBG_MAX_INT_24 (8388607l) |
#define | SBG_MAX_INT_32 (2147483647l) |
#define | SBG_MAX_INT_64 (9223372036854775807ll) |
#define | SBG_MAX_INT_8 (127) |
#define | SBG_MAX_UINT_16 (65535) |
#define | SBG_MAX_UINT_24 (16777216ul) |
#define | SBG_MAX_UINT_32 (4294967295ul) |
#define | SBG_MAX_UINT_64 (0xFFFFFFFFFFFFFFFFull) |
#define | SBG_MAX_UINT_8 (255) |
#define | SBG_MIN_INT_16 (-32768) |
#define | SBG_MIN_INT_24 (-8388608l) |
#define | SBG_MIN_INT_32 (-2147483647l - 1) |
#define | SBG_MIN_INT_64 (-9223372036854775807ll - 1) |
#define | SBG_MIN_INT_8 (-128) |
Typedefs | |
typedef unsigned int | bool32 |
typedef struct _DateStructure | DateStructure |
typedef union _DoubleNint | DoubleNint |
typedef union _FloatNint | FloatNint |
typedef signed short | int16 |
typedef signed int | int32 |
typedef signed long long int | int64 |
typedef signed char | int8 |
typedef uint32 | sbgIpAddress |
typedef struct _Split64 | Split64 |
typedef unsigned short | uint16 |
typedef unsigned int | uint32 |
typedef unsigned long long int | uint64 |
typedef unsigned char | uint8 |
typedef union _Uint8PtrToUint32Ptr | Uint8PtrToUint32Ptr |
typedef union _Uint8ToInt16 | Uint8ToInt16 |
typedef union _Uint8ToInt32 | Uint8ToInt32 |
typedef union _Uint8ToUint16 | Uint8ToUint16 |
typedef union _Uint8ToUint32 | Uint8ToUint32 |
Header file that defines all scalar types.
The platform endianness should be defined here.
Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
Definition in file sbgTypes.h.
#define SBG_HALF_UINT_16 (32768) |
Definition at line 35 of file sbgTypes.h.
#define SBG_HALF_UINT_24 (8388608ul) |
Definition at line 40 of file sbgTypes.h.
#define SBG_HALF_UINT_32 (2147483648ul) |
Definition at line 45 of file sbgTypes.h.
#define SBG_HALF_UINT_64 (9223372036854775808ull) |
Definition at line 50 of file sbgTypes.h.
#define SBG_HALF_UINT_8 (128) |
Definition at line 30 of file sbgTypes.h.
#define SBG_MAX_INT_16 (32767) |
Definition at line 34 of file sbgTypes.h.
#define SBG_MAX_INT_24 (8388607l) |
Definition at line 39 of file sbgTypes.h.
#define SBG_MAX_INT_32 (2147483647l) |
Definition at line 44 of file sbgTypes.h.
#define SBG_MAX_INT_64 (9223372036854775807ll) |
Definition at line 49 of file sbgTypes.h.
#define SBG_MAX_INT_8 (127) |
Definition at line 29 of file sbgTypes.h.
#define SBG_MAX_UINT_16 (65535) |
Definition at line 36 of file sbgTypes.h.
#define SBG_MAX_UINT_24 (16777216ul) |
Definition at line 41 of file sbgTypes.h.
#define SBG_MAX_UINT_32 (4294967295ul) |
Definition at line 46 of file sbgTypes.h.
#define SBG_MAX_UINT_64 (0xFFFFFFFFFFFFFFFFull) |
Definition at line 51 of file sbgTypes.h.
#define SBG_MAX_UINT_8 (255) |
Definition at line 31 of file sbgTypes.h.
#define SBG_MIN_INT_16 (-32768) |
Definition at line 33 of file sbgTypes.h.
#define SBG_MIN_INT_24 (-8388608l) |
Definition at line 38 of file sbgTypes.h.
#define SBG_MIN_INT_32 (-2147483647l - 1) |
Definition at line 43 of file sbgTypes.h.
#define SBG_MIN_INT_64 (-9223372036854775807ll - 1) |
Definition at line 48 of file sbgTypes.h.
#define SBG_MIN_INT_8 (-128) |
Definition at line 28 of file sbgTypes.h.
typedef unsigned int bool32 |
Definition at line 59 of file sbgTypes.h.
typedef struct _DateStructure DateStructure |
This structure defines a date
typedef union _DoubleNint DoubleNint |
Union that allows type punning (access to a double number bits)
typedef union _FloatNint FloatNint |
Union that allows type punning (access to a floating point number bits)
typedef signed short int16 |
Definition at line 63 of file sbgTypes.h.
typedef signed int int32 |
Definition at line 64 of file sbgTypes.h.
typedef signed long long int int64 |
Definition at line 65 of file sbgTypes.h.
typedef signed char int8 |
Definition at line 62 of file sbgTypes.h.
typedef uint32 sbgIpAddress |
Define an IP v4 address stored in 4 bytes. The format is A.B.C.D, each component is 8 bits and stored in Big Endian.
Definition at line 70 of file sbgTypes.h.
typedef unsigned short uint16 |
Definition at line 57 of file sbgTypes.h.
typedef unsigned int uint32 |
Definition at line 58 of file sbgTypes.h.
typedef unsigned long long int uint64 |
Definition at line 60 of file sbgTypes.h.
typedef unsigned char uint8 |
Definition at line 56 of file sbgTypes.h.
typedef union _Uint8PtrToUint32Ptr Uint8PtrToUint32Ptr |
Used to get a uint32 from a uint8 array.
typedef union _Uint8ToInt16 Uint8ToInt16 |
Union used to convert a buffer or 2 unit8 two's complement values to a int16
typedef union _Uint8ToInt32 Uint8ToInt32 |
Union used to convert a buffer or 4 unit8 two's complement values to a int32
typedef union _Uint8ToUint16 Uint8ToUint16 |
Union used to convert a buffer or 2 unit8 values to a uint16
typedef union _Uint8ToUint32 Uint8ToUint32 |
Union used to convert a buffer or 4 unit8 values to a uint32