FARGOS/VISTA Object Management Environment Core
..
|
Utility class for type check operations on OMEtype interactions. More...
#include <OMEbaseType.h>
Public Types | |
enum | TypeCompatibility_t { IDENTICAL_TYPES = (1 << 0), CAN_ASSIGN = (1 << 1), SAME_BASE_TYPE = (1 << 2), DISSIMILAR_SIGN = (1 << 3), CAN_PROMOTE = (1 << 4), CAN_DEMOTE = (1 << 5), INCOMPATIBLE_TYPES = (1 << 6), UNKNOWN_COMPATIBILITY = (1 << 7), ASSUME_COMPATIBLE = CAN_ASSIGN | UNKNOWN_COMPATIBILITY, TYPE_MASK = 255, OPTIONAL_TYPE_FLAG = 256, OME_CONST_POINTER = OME_POINTER | 0x1000 } |
Static Public Member Functions | |
static uint32_t | baseType (uint32_t t) OME_CONST_FUNCTION |
static bool | isTypeANY (uint32_t t) OME_CONST_FUNCTION |
static constexpr bool | is32BitInteger (uint32_t t) OME_CONST_FUNCTION |
static constexpr bool | isHeldBy32BitInteger (uint32_t t) OME_CONST_FUNCTION |
static constexpr bool | is64BitInteger (uint32_t t) OME_CONST_FUNCTION |
static constexpr bool | isInteger (uint32_t t) OME_CONST_FUNCTION |
static constexpr bool | isContainer (uint32_t t) OME_CONST_FUNCTION |
static uint32_t | typesAreAssignable (uint32_t srcType, uint32_t targetType) OME_CONST_FUNCTION |
Utility class for type check operations on OMEtype interactions.
|
inlinestatic |
References OMEfundamentalType.
|
inlinestaticconstexpr |
References OME_INT32, and OME_UINT32.
Referenced by debugDisplay(), debugDisplayAsHex(), and logOutput().
|
inlinestaticconstexpr |
References OME_INT64, and OME_UINT64.
Referenced by isInteger().
|
inlinestaticconstexpr |
References OME_ARRAY, OME_ASSOC, and OME_SET.
Referenced by skipAndOutputSetToStream().
|
inlinestaticconstexpr |
References OME_INT32, OME_UINT16, OME_UINT32, and OME_UINT8.
Referenced by isInteger().
|
inlinestaticconstexpr |
References is64BitInteger(), and isHeldBy32BitInteger().
|
inlinestatic |
References OME_ANY, OME_CONST_POINTER, OME_POINTER, OPTIONAL_TYPE_FLAG, and TYPE_MASK.
Referenced by typesAreAssignable().
|
inlinestatic |
end switch srcType
References ASSUME_COMPATIBLE, CAN_ASSIGN, CAN_DEMOTE, CAN_PROMOTE, DISSIMILAR_SIGN, IDENTICAL_TYPES, INCOMPATIBLE_TYPES, isTypeANY(), OME_DOUBLE, OME_FLOAT, OME_INT32, OME_INT64, OME_NIL, OME_OID, OME_STRING, OME_UINT16, OME_UINT32, OME_UINT64, OME_UINT8, SAME_BASE_TYPE, and UNKNOWN_COMPATIBILITY.
Referenced by OMEokToAssignTypes().
![]() | Generated: Tue Jul 28 2020 16:03:27
Support Information |