![]() |
Coin
4.0.3
Coin3D core library
|
The SoSFBitMask class is a container for a set of bit flags. More...
#include <Inventor/fields/SoSFBitMask.h>
Static Public Member Functions | |
static void * | createInstance (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
![]() | |
static void * | createInstance (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
![]() | |
static void | atexit_cleanup (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
![]() | |
static void | cleanupClass (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
static void | initClasses (void) |
Additional Inherited Members | |
![]() | |
enum | FieldType { NORMAL_FIELD = 0 , EVENTIN_FIELD , EVENTOUT_FIELD , EXPOSED_FIELD } |
![]() | |
virtual SbBool | findEnumName (int value, const SbName *&name) const |
virtual SbBool | findEnumValue (const SbName &name, int &val) |
![]() | |
SoSField (void) | |
![]() | |
SoField (void) | |
virtual SoNotRec | createNotRec (SoBase *cont) |
virtual void | evaluateConnection (void) const |
SbBool | isDestructing (void) const |
virtual SbBool | readConnection (SoInput *in) |
void | valueChanged (SbBool resetdefault=TRUE) |
virtual void | writeConnection (SoOutput *out) const |
![]() | |
SbName * | enumNames |
int * | enumValues |
SbBool | legalValuesSet |
int | numEnums |
int | value |
The SoSFBitMask class is a container for a set of bit flags.
This field is used where nodes, engines or other field containers needs to store one particular set of bit flags from an enumerated set.
A field of this type stores its value to file as the symbolic names, rather than the actual integer bitmask. If more than one bit is set in the value when exporting, the bits are written like this: "(BITNAME|BITNAME|BITNAME|...)".
SoSFBitMask instances are derived from SoSFEnum instances, and are initialized in the same way using the exact same enum-field-related macros.
Copy value(s) from f into this field. f must be of the same type as this field.
Reimplemented from SoSFEnum.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
This static method returns the SoType object associated with objects of this class.
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.
Check for equal type and value(s).
Reimplemented from SoSFEnum.