SDAI Primitive types
SDAI primitive types are used in operations to specify the data type of an attribute value or an aggregate element value. The primitive types are represented as elements of a C enumeration type named SdaiPrimitiveType in the SDAI C binding.
Â
typedef enum {
sdaiINTEGER,
sdaiREAL,
sdaiBOOLEAN,
sdaiLOGICAL,
sdaiSTRING,
sdaiBINARY,
sdaiENUMERATION,
sdaiADB,
sdaiINSTANCE,
sdaiAGGR,
sdaiSELECT,
edmUNIQUE_INDEX,
edmSEQUENCE_NUMBER,
edmTIME_STAMP,
edmPACKED_DATE,
edmFILE,
edmWIDE_COLUMN,
edmSIMPLEID,
edmNUMBER,
|sdaiINDETERMINATE
} SdaiPrimitiveType;
Â
Note:
This version of SdaiPrimitiveType also includes member elements that are applicable only to the EXPRESS Data ManagerTM. These elements are denoted by the edm prefix. The correlation between the SdaiPrimitiveType, EXPRESS and C Binding types is summarized in Table 1.
Â
EXPRESS Type |
C Binding |
SdaiPrimitiveType |
ENTITY instance |
SdaiInstance |
sdaiINSTANCE |
REAL |
SdaiReal |
sdaiREAL |
BOOLEAN |
SdaiBoolean |
sdaiBOOLEAN |
LOGICAL |
SdaiLogical |
sdaiLOGICAL |
STRING |
SdaiString |
sdaiSTRING |
BINARY |
SdaiBinary |
sdaiBINARY |
Enumeration |
SdaiEnumeration |
sdaiENUMERATION |
Attribute Data Block |
SdaiADB |
sdaiADB |
Aggregate |
SdaiAggr |
sdaiAGGR |
SELECT |
SdaiSelect |
sdaiSELECT |
INTEGER |
SdaiInteger |
sdaiINTEGER |
Â
Table 1 – A summary of the correlation between EXPRESS, C Binding and SdaiPrimitiveType Types.
Â
Â