PyANGKernel.GKModeChoiceClass

class GKModeChoiceClass

Inheritance diagram of PyANGKernel.GKModeChoiceClass

Synopsis

Methods

Static functions

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

Used in Multimodal to get the existent modes in the model.

__init__()
static createModeChoiceClass(aModel, aTransportationModes, aPurpose)
Parameters:
  • aModelGKModel

  • aTransportationModes – .list of const GKTransportationMode

  • aPurposeGKTripPurpose

Return type:

GKModeChoiceClass

static findModeChoiceClass(aModel, aTransportationModes, aPurpose)
Parameters:
  • aModelGKModel

  • aTransportationModes – .list of const GKTransportationMode

  • aPurposeGKTripPurpose

Return type:

GKModeChoiceClass

getTransportationModes()
Return type:

.list of const GKTransportationMode

getTripPurpose()
Return type:

GKTripPurpose

setTransportationModes(aTransportationModes)
Parameters:

aTransportationModes – .list of const GKTransportationMode

setTripPurpose(aTripPurpose)
Parameters:

aTripPurposeGKTripPurpose