Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoMFEnum.h File Reference

Go to the source code of this file.

Classes

class  SoMFEnum
 Multiple-value field containing any number of enumerated type values. More...
 

Macros

#define SO__MF_ENUM_CHECK_DATA(vals, typeName, fieldName, containerMacroName)   ;
 
#define SO__MF_ENUM_SET_TYPE(fieldName, enumType, contMacroName, contData)
 
#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)
 

Macro Definition Documentation

◆ SO__MF_ENUM_CHECK_DATA

#define SO__MF_ENUM_CHECK_DATA (   vals,
  typeName,
  fieldName,
  containerMacroName 
)    ;

Definition at line 174 of file SoMFEnum.h.

◆ SO__MF_ENUM_SET_TYPE

#define SO__MF_ENUM_SET_TYPE (   fieldName,
  enumType,
  contMacroName,
  contData 
)
Value:
{ \
int _so_mf_enum_num; \
int *_so_mf_enum_vals; \
SbName *_so_mf_enum_names; \
contData->getEnumData((char *)SO__QUOTE(enumType), \
_so_mf_enum_num, \
_so_mf_enum_vals, \
_so_mf_enum_names); \
SO__MF_ENUM_CHECK_DATA(_so_mf_enum_vals, \
SO__QUOTE(enumType), \
SO__QUOTE(fieldName), \
contMacroName); \
fieldName.setEnums(_so_mf_enum_num, \
_so_mf_enum_vals, \
_so_mf_enum_names); \
}
Character string stored in a hash table.
Definition SbName.h:162

Definition at line 184 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)

Definition at line 204 of file SoMFEnum.h.

◆ SO_NODE_SET_MF_ENUM_TYPE

#define SO_NODE_SET_MF_ENUM_TYPE (   fieldName,
  enumType 
)     SO__MF_ENUM_SET_TYPE(fieldName,enumType,"NODE",fieldData)

Definition at line 201 of file SoMFEnum.h.