Aimsun Next Scripting
22
|
Public Member Functions | |
GKBaseObject () | |
if (base) | |
virtual uint | getId () const =0 |
virtual const QString & | getTypeName () const =0 |
virtual QString | getTypeExternalName () const =0 |
virtual const GKObject * | getMaster () const =0 |
virtual const QString & | getName () const =0 |
virtual const QString & | getExternalId () const =0 |
virtual const QString & | getDescription () const =0 |
virtual GKModel * | getModel () const =0 |
virtual QVariant * | getDataValue (const GKColumn *attr, bool *deleteit, const GKContext &context=GKContext::anyContext) const =0 |
virtual QVariant * | getDataValueByID (uint attrId, bool *deleteit, const GKContext &context=GKContext::anyContext) const =0 |
virtual double | getDataValueInTS (const GKColumn *attr, GKTimeSerieIndex index, double *deviation=NULL) const =0 |
virtual double | getDataValueInTSByID (uint attrId, GKTimeSerieIndex index, double *deviation=NULL) const =0 |
virtual GKTimeSerie * | getDataValueTS (const GKColumn *attr) const =0 |
virtual GKTimeSerie * | getDataValueTSByID (uint attrId) const =0 |
virtual int | getDataValueInt (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual int | getDataValueIntByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual double | getDataValueDouble (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual double | getDataValueDoubleByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QString | getDataValueString (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QString | getDataValueStringByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual bool | getDataValueBool (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual bool | getDataValueBoolByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKObject * | getDataValueObject (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKObject * | getDataValueObjectByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDate | getDataValueDate (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDate | getDataValueDateByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QTime | getDataValueTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QTime | getDataValueTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDateTime | getDataValueDateTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual QDateTime | getDataValueDateTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKTimeDuration | getDataValueTimeDuration (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0 |
virtual GKTimeDuration | getDataValueTimeDurationByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0 |
Public Attributes | |
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKBaseObject * | base = (GKBaseObject*)sipCpp |
sipType = 0 | |
Static Public Attributes | |
Py_END_ALLOW_THREADS static End uint | idAtt |
static uint | nameAtt |
static uint | externalIdAtt |
static uint | descriptionAtt |
GKBaseObject::GKBaseObject | ( | ) |
|
pure virtual |
Get the value of an attribute. If no value is found None is returned. If deleteit is true the returned value must be deleted by the method that makes the call.
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, GKSection, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Get the value of an attribute. If no value is found None is returned. If deleteit is true the returned value must be deleted by the method that makes the call.
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKSection, GKForceEnrouteAssignment, GKObject, GKSimulatedObject, and GKPedestrianType.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Helper functions (only for access). It's faster than getDataValue since it doesn't creates any intermediate QVariant for internal attributes. Note that for GKTimeSerie it returns the default value, in order to get any other value (position or condition dependant) use getDataValue to take the whole attribute
Implemented in GKSection, GKForceEnrouteAssignment, GKObject, and GKSimulatedObject.
|
pure virtual |
Helper functions (only for access). It's faster than getDataValue since it doesn't creates any intermediate QVariant for internal attributes. Note that for GKTimeSerie it returns the default value, in order to get any other value (position or condition dependant) use getDataValue to take the whole attribute
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Get a value for a TimeSerie or 0.0 if no value is found (no value for the interval) and, optionally, its deviation
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Get a value for a TimeSerie or 0.0 if no value is found (no value for the interval) and, optionally, its deviation
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKForceEnrouteAssignment, GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Get a TimeSerie
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Get a TimeSerie
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Get the object description (entered by the user)
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Get the object external ID stored in GKObject::externalIdAtt.
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Return the unique identifier of this object.
Implemented in DTASection, DTATurning, GKObject, and GKSimulatedObject.
|
pure virtual |
The object that originates this object
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
Return the model of this object,
Implemented in GKObject, and GKSimulatedObject.
Referenced by if().
|
pure virtual |
The optional name of this object.
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
The type external name of this object. Is equivalent to getType()->getExternalName()
Implemented in GKObject, and GKSimulatedObject.
|
pure virtual |
The type name of this object
Implemented in DTAUserClass, GKObject, CMacroConnection, CMacroSection, CMacroTrajectory, CMacroTurning, and CMacroUserClass.
Referenced by if().
|
inline |
References base, getModel(), GKSystem::getSystem(), getTypeName(), and sipType.
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKBaseObject* GKBaseObject::base = (GKBaseObject*)sipCpp |
Referenced by if().
|
static |
Object Description as an attribute.
|
static |
Object External ID as an attribute.
|
static |
Object Identifier as an attribute.
|
static |
Object Name as an attribute.
GKBaseObject::sipType = 0 |
Referenced by if().