C++ API Reference: MPxViewportComputeItem::Actions Struct Reference

A bitmask storing a set of actions. More...

#include <MPxViewportComputeItem.h>

Public Member Functions

void bitSet (Action action)
 Set a single bit in bitmask. More...
 
void bitClear (Action action)
 Clear a single bit in bitmask. More...
 
bool bitCheck (Action action) const
 
void bitmaskSet (Actions actions)
 Set a group of bits in bitmask. More...
 
void bitmaskClear (Actions actions)
 Clear a group of bits in bitmask. More...
 
bool bitmaskCheckAll (Actions actions) const
 
bool bitmaskCheckAny (Actions actions) const
 

Detailed Description

A bitmask storing a set of actions.

Member Function Documentation

void bitSet ( Action  action)

Set a single bit in bitmask.

Parameters
[in]actionthe bit to set.
void bitClear ( Action  action)

Clear a single bit in bitmask.

Parameters
[in]actionthe bit to clear.
bool bitCheck ( Action  action) const
Parameters
[in]actionthe bit to test.
Returns
true if bit action is set in bitmask.
void bitmaskSet ( Actions  actions)

Set a group of bits in bitmask.

Parameters
[in]actionsthe bits to set.
void bitmaskClear ( Actions  actions)

Clear a group of bits in bitmask.

Parameters
[in]actionsthe bits to clear.
bool bitmaskCheckAll ( Actions  actions) const
Parameters
[in]actionsthe bits to check.
Returns
true if all bits in actions are set in bitmask.
bool bitmaskCheckAny ( Actions  actions) const
Parameters
[in]actionsthe bits to check.
Returns
true if at least one bit in actions is set in bitmask.

The documentation for this struct was generated from the following files:
  • MPxViewportComputeItem.h
  • MPxViewportComputeItem.cpp