rcsb_types.h
Go to the documentation of this file.
//$$FILE$$
//$$VERSION$$
//$$DATE$$
//$$LICENSE$$
#ifndef RCSB_TYPES_H
#define RCSB_TYPES_H
// Basic types
typedef char SInt8;
typedef unsigned char UInt8;
typedef short int SInt16;
typedef unsigned short int UInt16;
typedef int SInt32;
typedef unsigned int UInt32;
// Basic types sizes in octets
const UInt8 UINT32_SIZE = sizeof(UInt32);
enum eTypeCode
{
eTYPE_CODE_NONE = 0,
eTYPE_CODE_INT, // 1
eTYPE_CODE_FLOAT, // 2
eTYPE_CODE_STRING, // 3
eTYPE_CODE_TEXT, // 4
eTYPE_CODE_DATETIME, // 5
eTYPE_CODE_BIGINT // 6
};
#endif // RCSB_TYPES_H not defined
eTypeCode
eTypeCode
Definition rcsb_types.h:21
eTYPE_CODE_INT
@ eTYPE_CODE_INT
Definition rcsb_types.h:23
eTYPE_CODE_BIGINT
@ eTYPE_CODE_BIGINT
Definition rcsb_types.h:28
eTYPE_CODE_TEXT
@ eTYPE_CODE_TEXT
Definition rcsb_types.h:26
eTYPE_CODE_DATETIME
@ eTYPE_CODE_DATETIME
Definition rcsb_types.h:27
eTYPE_CODE_NONE
@ eTYPE_CODE_NONE
Definition rcsb_types.h:22
eTYPE_CODE_FLOAT
@ eTYPE_CODE_FLOAT
Definition rcsb_types.h:24
eTYPE_CODE_STRING
@ eTYPE_CODE_STRING
Definition rcsb_types.h:25
UInt16
unsigned short int UInt16
Definition rcsb_types.h:13
UInt32
unsigned int UInt32
Definition rcsb_types.h:15
SInt32
int SInt32
Definition rcsb_types.h:14
SInt16
short int SInt16
Definition rcsb_types.h:12
UInt8
unsigned char UInt8
Definition rcsb_types.h:11
UINT32_SIZE
const UInt8 UINT32_SIZE
Definition rcsb_types.h:18
SInt8
char SInt8
Definition rcsb_types.h:10