EPICS Base 7.0.8.0
|
The core data types used by epics. More...
Go to the source code of this file.
Classes | |
struct | epicsString |
!! Don't use this - it may vanish in the future !! More... | |
union | epicsAny |
Union of all types. More... | |
Macros | |
#define | stringOf(TOKEN) #TOKEN |
#define | MAX_STRING_SIZE 40 |
#define | firstEpicsType epicsInt8T |
#define | lastEpicsType epicsOldStringT |
#define | validEpicsType(x) ((x>=firstEpicsType) && (x<=lastEpicsType)) |
#define | invalidEpicsType(x) ((x<firstEpicsType) || (x>lastEpicsType)) |
Typedefs | |
typedef char | epicsOldString[MAX_STRING_SIZE] |
!! Don't use this - it may vanish in the future !! | |
epicsTypes | |
Architecture Independent Data Types These are sufficient for all our current archs | |
typedef signed char | epicsInt8 |
typedef unsigned char | epicsUInt8 |
typedef short | epicsInt16 |
typedef unsigned short | epicsUInt16 |
typedef int | epicsInt32 |
typedef unsigned int | epicsUInt32 |
typedef long long | epicsInt64 |
typedef unsigned long long | epicsUInt64 |
typedef epicsUInt16 | epicsEnum16 |
typedef float | epicsFloat32 |
typedef double | epicsFloat64 |
typedef epicsInt32 | epicsStatus |
Enumerations | |
enum | epicsBoolean { epicsFalse = 0 , epicsTrue = 1 } |
enum | epicsType { epicsInt8T , epicsUInt8T , epicsInt16T , epicsUInt16T , epicsEnum16T , epicsInt32T , epicsUInt32T , epicsFloat32T , epicsFloat64T , epicsStringT , epicsOldStringT } |
Corresponding Type Codes (this enum must start at zero) More... | |
enum | epicsTypeClass { epicsIntC , epicsUIntC , epicsEnumC , epicsFloatC , epicsStringC , epicsOldStringC } |
Variables | |
LIBCOM_API const char * | epicsTypeNames [lastEpicsType+1] |
An array providing the names for each type The enumeration epicsType is an index to this array of type name strings. | |
LIBCOM_API const char * | epicsTypeCodeNames [lastEpicsType+1] |
An array providing the names for each type code The enumeration epicsType is an index to this array of type code name strings. | |
LIBCOM_API const unsigned | epicsTypeSizes [lastEpicsType+1] |
An array providing the sizes for each type The enumeration epicsType is an index to this array of type code name strings. | |
LIBCOM_API const epicsTypeClass | epicsTypeClasses [lastEpicsType+1] |
An array providing the class of each type The enumeration epicsType is an index to this array of type class identifiers. | |
LIBCOM_API const char * | epicsTypeAnyFieldName [lastEpicsType+1] |
An array providing the field name for each type The enumeration epicsType is an index to this array of type code name strings. | |
Definition in file epicsTypes.h.
Definition at line 26 of file epicsTypes.h.
#define MAX_STRING_SIZE 40 |
Definition at line 59 of file epicsTypes.h.
#define firstEpicsType epicsInt8T |
Definition at line 121 of file epicsTypes.h.
#define lastEpicsType epicsOldStringT |
Definition at line 122 of file epicsTypes.h.
Definition at line 123 of file epicsTypes.h.
Definition at line 124 of file epicsTypes.h.
Definition at line 45 of file epicsTypes.h.
Definition at line 46 of file epicsTypes.h.
Definition at line 47 of file epicsTypes.h.
Definition at line 48 of file epicsTypes.h.
Definition at line 49 of file epicsTypes.h.
Definition at line 50 of file epicsTypes.h.
typedef epicsUInt16 epicsEnum16 |
Definition at line 53 of file epicsTypes.h.
Definition at line 54 of file epicsTypes.h.
Definition at line 55 of file epicsTypes.h.
typedef epicsInt32 epicsStatus |
Definition at line 56 of file epicsTypes.h.
Provided only for backwards compatibility with db_access.h
Definition at line 75 of file epicsTypes.h.
enum epicsBoolean |
Definition at line 32 of file epicsTypes.h.
Definition at line 108 of file epicsTypes.h.
enum epicsTypeClass |
Definition at line 196 of file epicsTypes.h.