Files and functions for OBIDMS columns with the data type OBI_BOOL

This commit is contained in:
celinemercier
2015-08-11 11:00:59 +02:00
parent bc2ca89088
commit eaca9c85f1
10 changed files with 186 additions and 2 deletions

View File

@ -21,11 +21,11 @@
/**
* @brief enum for the boolean OBIType.
*/
typedef enum {
typedef enum OBIBool {
FALSE = 0,
TRUE = 1,
OBIBool_NA = 2
} OBIBool_t, *OBIBool_p; /**< a boolean true/false value */
} obibool_t, *obibool_p; /**< a boolean true/false value */
/**
@ -35,6 +35,7 @@ typedef enum OBIType {
OBI_VOID = 0, /**< data type not specified */
OBI_INT, /**< a signed integer value (C type : int32_t) */
OBI_FLOAT, /**< a floating value (C type : double) */
OBI_BOOL, /**< a boolean true/false value, see obibool_t enum */
OBI_CHAR, /**< a character (C type : char) */
OBI_IDX /**< an index in a data structure (C type : size_t) */
} OBIType_t, *OBIType_p;