Go to the source code of this file.
|
class | SoMFEnum |
| Multiple-value field containing any number of enumerated type values. More...
|
|
|
#define | SO__MF_ENUM_CHECK_DATA(vals, typeName, fieldName, containerMacroName) { int _value_false= 0; while(_value_false) {} } |
| Debugging macros (used by other macros in this file) The container must have a field 'firstInstance'.
|
|
#define | SO__MF_ENUM_SET_TYPE(fieldName, enumType, contMacroName, contData) |
| This defines the specific type of enum expected by a particular SoMFEnum field.
|
|
#define | SO_NODE_SET_MF_ENUM_TYPE(fieldName, enumType) SO__MF_ENUM_SET_TYPE(fieldName,enumType,"NODE",fieldData) |
|
#define | SO_ENGINE_SET_MF_ENUM_TYPE(fieldName, enumType) SO__MF_ENUM_SET_TYPE(fieldName,enumType,"ENGINE",inputData) |
|
◆ SO__MF_ENUM_CHECK_DATA
#define SO__MF_ENUM_CHECK_DATA |
( |
|
vals, |
|
|
|
typeName, |
|
|
|
fieldName, |
|
|
|
containerMacroName |
|
) |
| { int _value_false= 0; while(_value_false) {} } |
◆ SO__MF_ENUM_SET_TYPE
#define SO__MF_ENUM_SET_TYPE |
( |
|
fieldName, |
|
|
|
enumType, |
|
|
|
contMacroName, |
|
|
|
contData |
|
) |
| |
Value: { \
int _value_false= 0; \
do { \
int _so_mf_enum_num; \
int *_so_mf_enum_vals; \
_so_mf_enum_num, \
_so_mf_enum_vals, \
_so_mf_enum_names); \
SO__MF_ENUM_CHECK_DATA(_so_mf_enum_vals, \
contMacroName); \
fieldName.setEnums(_so_mf_enum_num, \
_so_mf_enum_vals, \
_so_mf_enum_names); \
} while (_value_false); \
}
#define SO__QUOTE(str)
Handy macros.
Character string stored in a hash table.
Definition at line 157 of file SoMFEnum.h.
◆ SO_ENGINE_SET_MF_ENUM_TYPE
#define SO_ENGINE_SET_MF_ENUM_TYPE |
( |
|
fieldName, |
|
|
|
enumType |
|
) |
| SO__MF_ENUM_SET_TYPE(fieldName,enumType,"ENGINE",inputData) |
◆ SO_NODE_SET_MF_ENUM_TYPE
#define SO_NODE_SET_MF_ENUM_TYPE |
( |
|
fieldName, |
|
|
|
enumType |
|
) |
| SO__MF_ENUM_SET_TYPE(fieldName,enumType,"NODE",fieldData) |