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