Aimsun Next Scripting
22
|
Public Member Functions | |
NodeOutputElement () | |
const QVector< qint32 > & | getModes () const |
qint32 | getPurpose () const |
QVector< GKObject * > | getModes (GKModel *iModel) const |
GKTripPurpose * | getTripPurpose (GKModel *iModel) const |
qint32 | getVehicle () const |
void | setTargetId (const uint &targetId) |
uint | getTargetId () const |
QVector< FourSteps::DataDiscriminant > | getDiscriminants () const |
void | setDiscriminant (const FourSteps::DataDiscriminant &iDiscriminant, const QVariant &dataVal) |
QVariant | getDiscriminant (const FourSteps::DataDiscriminant &iDiscriminant) const |
void | removeDiscriminant (const FourSteps::DataDiscriminant &iDiscriminant) |
QString | getOutputTypeName () const |
EDataObjectType | getOutputType () const |
void | setOutputType (const EDataObjectType iOutputType) |
This class describes the relevant properties (discriminants) of any object used as input or output in the FourStepsExperiment context. For instance, a Skim matrix can be described setting the output type to EDataObjecttype::eSkim and setting the specific characteristic such as the GKUserClass or the GKTimePeriod with the use of Discriminants. A NodeConnection will contain NodeOutputElement instances, that come from the connection origin Output Slot.
NodeOutputElement::NodeOutputElement | ( | ) |
QVariant NodeOutputElement::getDiscriminant | ( | const FourSteps::DataDiscriminant & | iDiscriminant | ) | const |
Gets the value associated to the discriminant in this NodeOutputElement.
QVector< FourSteps::DataDiscriminant > NodeOutputElement::getDiscriminants | ( | ) | const |
Gets the discriminants specified.
const QVector< qint32 > & NodeOutputElement::getModes | ( | ) | const |
Gets the GKTransportationModes Ids associated.
Gets the Transportation Modes.
EDataObjectType NodeOutputElement::getOutputType | ( | ) | const |
Gets the output type of the NodeOutputElement.
QString NodeOutputElement::getOutputTypeName | ( | ) | const |
Gets the Type Name represented by the NodeOutputElement: Skim Matrix,OD Matrix, Volume(APA) or Generation/Attraction vector.
qint32 NodeOutputElement::getPurpose | ( | ) | const |
Gets the trip purpose Id.
uint NodeOutputElement::getTargetId | ( | ) | const |
Gets the Id of the GKObject that generated this NodeOutputElement (if any).
GKTripPurpose * NodeOutputElement::getTripPurpose | ( | GKModel * | iModel | ) | const |
Gets the GKTripPurpose.
qint32 NodeOutputElement::getVehicle | ( | ) | const |
Gets the GKVehicle Id.
void NodeOutputElement::removeDiscriminant | ( | const FourSteps::DataDiscriminant & | iDiscriminant | ) |
Removes the specified type of discriminant from this NodeOutputElement.
void NodeOutputElement::setDiscriminant | ( | const FourSteps::DataDiscriminant & | iDiscriminant, |
const QVariant & | dataVal | ||
) |
Sets the value of the specified discriminant.
void NodeOutputElement::setOutputType | ( | const EDataObjectType | iOutputType | ) |
Sets the output type of the NodeOutputElement.
void NodeOutputElement::setTargetId | ( | const uint & | targetId | ) |
Sets the Target Id.