- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Operations(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 Type Method Description QMemoryBarrier.Operations
clone()
Clones the flagsQMemoryBarrier.Operations
combined(QMemoryBarrier.Operation e)
Combines this flags with enum entry.int
compareTo(QMemoryBarrier.Operations other)
QMemoryBarrier.Operation[]
flags()
Returns an array of flag objects represented by this Operations.QMemoryBarrier.Operations
setFlag(QMemoryBarrier.Operation e)
Sets the flage
QMemoryBarrier.Operations
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>
-