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