- 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
ConstructorDescriptionOperations
(int value) Creates a new Operations with givenvalue
.Operations
(QMemoryBarrier.Operation ... args) Creates a new Operations where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QMemoryBarrier.Operation []
flags()
Returns an array of flag objects represented by this Operations.Sets the flage
setFlag
(QMemoryBarrier.Operation e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
Operations
Creates a new Operations where the flags inargs
are 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:
combined
in classQFlags<QMemoryBarrier.Operation>
- Parameters:
e
- enum entry- Returns:
- new Operations
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QMemoryBarrier.Operation>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in 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:
flags
in classQFlags<QMemoryBarrier.Operation>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QMemoryBarrier.Operation>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QMemoryBarrier.Operations>
-