- 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
ConstructorsConstructorDescriptionCreates a new RoutingFeatures.RoutingFeatures(int value) Creates a new RoutingFeatures with givenvalue.Creates a new RoutingFeatures where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QGeoServiceProvider.RoutingFeature []flags()Returns an array of flag objects represented by this RoutingFeatures.Sets the flagesetFlag(QGeoServiceProvider.RoutingFeature e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
RoutingFeatures
public RoutingFeatures()Creates a new RoutingFeatures. -
RoutingFeatures
Creates a new RoutingFeatures where the flags inargsare 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:
combinedin classQFlags<QGeoServiceProvider.RoutingFeature>- Parameters:
e- enum entry- Returns:
- new RoutingFeatures
-
setFlag
Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QGeoServiceProvider.RoutingFeature>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QGeoServiceProvider.RoutingFeature>
-
compareTo
- Specified by:
compareToin interfaceComparable<QGeoServiceProvider.RoutingFeatures>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-