Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies boolean flags for how two connected objects interact. More...
#include <omEngineConnectorFlags.h>
Public Types | |
enum | Flag { UNDEFINED = 0, ENABLED = (1 << 0), PRE = (1 << 1), POST = (1 << 2), DEFAULT = ENABLED | PRE } |
An enum that specifies the different connector flags. More... | |
Public Member Functions | |
ConnectorFlags () | |
Create a new connector flags object with no flags set. More... | |
ConnectorFlags (Flag flag) | |
Create a new connector flags object with the specified flag value initially set. More... | |
ConnectorFlags (UInt32 newFlags) | |
Create a new connector flags object with the specified initial combined flags value. More... | |
operator UInt32 () const | |
Convert this connector flags object to an integer value. More... | |
Bool | isSet (Flag flag) const |
Return whether or not the specified flag value is set for this flags object. More... | |
void | set (Flag flag, Bool newIsSet) |
Set whether or not the specified flag value is set for this flags object. More... | |
A class that specifies boolean flags for how two connected objects interact.
An enum that specifies the different connector flags.
|
inline |
Create a new connector flags object with no flags set.
|
inline |
Create a new connector flags object with the specified flag value initially set.
|
inline |
Create a new connector flags object with the specified initial combined flags value.
|
inline |
Convert this connector flags object to an integer value.
This operator is provided so that the ConnectorFlags object can be used as an integer value for bitwise logical operations.
Return whether or not the specified flag value is set for this flags object.
Set whether or not the specified flag value is set for this flags object.