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