typedef enum ODBPP::DataType

Name Windows 32bit Linux 32bit Length Value Description
BOOL bool bool 1 3 boolean
CHAR8 char char 1 5 8-bit character
CHAR16 unsigned short unsigned short 2 7 16-bit wide character
INT8 char char 1 9 8-bit signed integer
UINT8 unsigned char unsigned char 1 11 8-bit unsigned integer
INT16 short short 2 13 16-bit signed integer
UINT16 unsigned short unsigned short 2 15 16-bit unsigned integer
INT32 int int 4 17 32-bit signed integer
UINT32 unsigned int unsigned int 4 19 32-bit unsigned integer
INT64 __int64 long long int 8 21 64-bit signed integer
UINT64 unsigned __int64 unsigned long long int 8 23 64-bit unsigned integer
FLOAT32 float float 4 25 32-bit floating point
FLOAT64 double double 8 27 64-bit floating point
DATE n/a n/a 4 31 32-bit day counter from 1/1/1601
unsigned __int64 filetime = (date * 864000000000) + 432000000000;
FILETIME FILETIME typedef struct {
   unsigned int dwLowDateTime;
   unsigned int dwHighDateTime;
} FILETIME;
8 33 64-bit 100-nanosecond (10x-7) counter from 1/1/1601
OBJECTID unsigned int unsigned int 4 35 32-bit unsigned integer object identifier pointer
OBJECTID64 __int64 long long int 8 43 64-bit integer object identifier pointer, added Version 3.0
ARRAY char[] char[] n/a 37 char array for general use - indexable
RECT RECT typedef struct {
   int left;
   int top;
   int right;
   int bottom;
} RECT;
16 39 rectangle - indexable (Spatial Index only)
CUBE typedef struct {
   int left;
   int top;
   int front;
   int right;
   int bottom;
   int rear;
} CUBE;
typedef struct {
   int left;
   int top;
   int front;
   int right;
   int bottom;
   int rear;
} CUBE;
24 41 cube - indexable (Spatial Index only).
Left - specifies the x-coordinate of the upper-left corner of the rectangle. Top - specifies the y-coordinate of the upper-left corner of the rectangle. Front - specifies the z-coordinate of the upper-left corner of the rectangle. Right - specifies the x-coordinate of the lower-right corner of the rectangle Bottom - specifies the y-coordinate of the lower-right corner of the rectangle. Rear - specifies the z-coordinate of the lower-right corner of the rectangle.
ASTR char[] char[] n/a 2 UTF-8 character string - null terminating
USTR wchar_t[] unsigned short[] n/a 4 UTF-16 wide character string - null terminating
SBSTR n/a n/a n/a 6 short binary string, first 2 bytes have the length of the SBSTR including the 2 bytes - non-indexable
BSTR n/a n/a n/a 8 binary string, first 4 bytes have the length of the BSTR including the 4 bytes - non-indexable
PATTERN2D n/a n/a n/a 12 binary string, first 4 bytes have the length of the 2-D pattern including the 4 bytes, string containing POINT tuples {x,y}, added Version 4.1 - indexable with Pattern indexes
PATTERN3D n/a n/a n/a 14 binary string, first 4 bytes have the length of the 3-D pattern including the 4 bytes, string containing POINT3D tuples {x,y,z}, added Version 4.1 - indexable with Pattern indexes
SUB_TABLE n/a n/a n/a 10 binary string that contains sub-table objects - this field is non-indexable, but the sub-fields within this are indexable (Version 2.1 and on)