- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QMemoryBarrier.Operations>
- Enclosing class:
QMemoryBarrier
public static final class QMemoryBarrier.Operations
extends QFlags<QMemoryBarrier.Operation>
implements Comparable<QMemoryBarrier.Operations>
QFlags type for enum QMemoryBarrier.Operation- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOperations(int value) Creates a new Operations with givenvalue.Operations(QMemoryBarrier.Operation ... args) Creates a new Operations where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QMemoryBarrier.Operation []flags()Returns an array of flag objects represented by this Operations.Sets the flagesetFlag(QMemoryBarrier.Operation e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
Operations
Creates a new Operations where the flags inargsare set.- Parameters:
args- enum entries
-
Operations
public Operations(int value) Creates a new Operations with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QMemoryBarrier.Operation>- Parameters:
e- enum entry- Returns:
- new Operations
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QMemoryBarrier.Operation>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QMemoryBarrier.Operation>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Operations.- Overrides:
flagsin classQFlags<QMemoryBarrier.Operation>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QMemoryBarrier.Operation>
-
compareTo
- Specified by:
compareToin interfaceComparable<QMemoryBarrier.Operations>
-