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