- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RoutingFeatures(int value)
Creates a new RoutingFeatures with givenvalue
.RoutingFeatures(QGeoServiceProvider.RoutingFeature... args)
Creates a new RoutingFeatures where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QGeoServiceProvider.RoutingFeatures
clone()
Clones the flagsQGeoServiceProvider.RoutingFeatures
combined(QGeoServiceProvider.RoutingFeature e)
Combines this flags with enum entry.int
compareTo(QGeoServiceProvider.RoutingFeatures other)
QGeoServiceProvider.RoutingFeature[]
flags()
Returns an array of flag objects represented by this RoutingFeatures.QGeoServiceProvider.RoutingFeatures
setFlag(QGeoServiceProvider.RoutingFeature e)
Sets the flage
QGeoServiceProvider.RoutingFeatures
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>
-