Helper Macros in Guiliani More...
#include "eC_Types.h"
#include <limits.h>
Go to the source code of this file.
Macros | |
#define | ENTRY(obj_id) -1 |
Helper Macros in Guiliani | |
#define | ENTRY(obj_id) obj_id, |
Helper Macros in Guiliani | |
#define | ENTRY_ENUM(a) -1 |
Helper Macros in Guiliani | |
#define | ENTRY_ENUM(a) a, |
Helper Macros in Guiliani | |
#define | MAP_OBJID_TO_ARRAY(OBJ_ID) static_cast<eC_UInt>(OBJ_ID-OBJ_START_TAG-1) |
Map Object Handles to interval 0 to NOF_OBJECTHANDLES. | |
#define | OBJECTID_TABLE |
Object Handles. More... | |
#define | UNMAP_OBJENTRY_TO_ARRAY(OBJ_ENTRY) static_cast<ObjectHandle_t>(OBJ_ENTRY+OBJ_START_TAG+1) |
Unmap Object Handles from interval 0 to NOF_OBJECTHANDLES. | |
Typedefs | |
typedef int | static_assert_something[(NO_HANDLE==0) ? 1 :-1] |
Will throw compile error negative subscript if NO_HANDLE is NOT 0! | |
Enumerations | |
enum | ObjectHandle_t { OBJ_START_TAG = ciCalculatedObjStartTag-1 , OBJ_MSGBOX_SAVEAS , OBJ_MSGBOX_SAVE , OBJ_MSGBOX_CANCEL , OBJ_MSGBOX_OK , OBJ_KEYBOARD_LAYOUT_ABC_CAPITAL , OBJ_KEYBOARD_LAYOUT_ABC , OBJ_KEYBOARD_LAYOUT_123 , OBJ_KEYBOARD_LAYOUT_SYM , NO_HANDLE , NOF_OBJECTHANDLES , GUILIANI_INTERNAL_ID = INT_MAX } |
List of object resource ids. | |
Variables | |
const int | ciCalculatedObjStartTag = -1 -1 -1 -1 -1 -1 -1 -1 |
preprocessor generates for all entries of OBJECTID_TABLE: -1 -1 -1..., resulting in a mathematical expression, that will be evaluated to -1*(Number of entries of IMAGE_TABLE | |
const eC_UInt | cuiNOFObjectHandles |
Used to contain the highest index cuiNOFXXXClasses = MAP_PROPID_TO_ARRAY(NOF_XXXCLASSES);. | |
#define OBJECTID_TABLE |
Object Handles.