Aimsun Next Scripting
24.0
|
Public Types | |
enum class | ImporterType { eExternalLayer , eInternalLayer , eNetwork , eCentroids , eCentroidConns , eVMSs , eDetectors , eBusStops , eJapan , eBuildings } |
Public Member Functions | |
BasicImporterConfiguration () | |
const QString & | getBaseShapeFilePath () const |
void | setBaseShapeFilePath (const QString &value) |
ImporterType | getImporterType () const |
void | setImporterType (ImporterType value) |
GKLayer * | getGkLayer () const |
void | setGkLayer (GKLayer *value) |
bool | getUseForDecoration () const |
void | setUseForDecoration (bool value) |
bool | getCreateNewType () const |
void | setCreateNewType (bool value) |
const QString & | getTypeName () const |
void | setTypeName (const QString &value) |
bool | getCopyGISAttributesToObjects () const |
void | setCopyGISAttributesToObjects (bool value) |
const QString & | getSectionEIDGisColumn () const |
void | setSectionEIDGisColumn (const QString &value) |
const QString & | getSectionNameGisColumn () const |
void | setSectionNameGisColumn (const QString &value) |
GK::UnitSystem | getUnits () const |
void | setUnits (GK::UnitSystem value) |
const QString & | getCodecName () const |
void | setCodecName (const QString &value) |
const QString & | getWktCode () const |
void | setWktCode (const QString &value) |
|
strong |
Aimsun::GShape::BasicImporterConfiguration::BasicImporterConfiguration | ( | ) |
const QString & Aimsun::GShape::BasicImporterConfiguration::getBaseShapeFilePath | ( | ) | const |
The path for the base shape file.
const QString & Aimsun::GShape::BasicImporterConfiguration::getCodecName | ( | ) | const |
The Codec Name, by default ("System") gets the codec from the operating system. See Qt Class QTextCodec::name() documentation for more information.
bool Aimsun::GShape::BasicImporterConfiguration::getCopyGISAttributesToObjects | ( | ) | const |
True if the importer must the attributes of the GIS file at the Aimsun model.
bool Aimsun::GShape::BasicImporterConfiguration::getCreateNewType | ( | ) | const |
True if data will be imported under a new object type.
GKLayer * Aimsun::GShape::BasicImporterConfiguration::getGkLayer | ( | ) | const |
The GKLayer where the imported objects will be created.
ImporterType Aimsun::GShape::BasicImporterConfiguration::getImporterType | ( | ) | const |
Type of import to be done.
const QString & Aimsun::GShape::BasicImporterConfiguration::getSectionEIDGisColumn | ( | ) | const |
The GIS column name corresponding to the Aimsun GKObject::externalIdAtt Column.
const QString & Aimsun::GShape::BasicImporterConfiguration::getSectionNameGisColumn | ( | ) | const |
The GIS column name corresponding to the Aimsun GKObject::nameAtt Column.
const QString & Aimsun::GShape::BasicImporterConfiguration::getTypeName | ( | ) | const |
New object type name which will use in case of getCreateNewType() being true.
GK::UnitSystem Aimsun::GShape::BasicImporterConfiguration::getUnits | ( | ) | const |
The Unit System, by default metric.
bool Aimsun::GShape::BasicImporterConfiguration::getUseForDecoration | ( | ) | const |
True if data will be imported into a decoration layer and as decoration objects (non editable).
const QString & Aimsun::GShape::BasicImporterConfiguration::getWktCode | ( | ) | const |
The WKT Code used to import, by default (empty string) gets the code from the base GIS file.
void Aimsun::GShape::BasicImporterConfiguration::setBaseShapeFilePath | ( | const QString & | value | ) |
Sets the path for the base shape file.
void Aimsun::GShape::BasicImporterConfiguration::setCodecName | ( | const QString & | value | ) |
Sets the Codec Name, by default ("System") gets the codec from the operating system. See Qt Class QTextCodec::name() documentation for more information.
void Aimsun::GShape::BasicImporterConfiguration::setCopyGISAttributesToObjects | ( | bool | value | ) |
Sets if the importer must the attributes of the GIS file at the Aimsun model.
void Aimsun::GShape::BasicImporterConfiguration::setCreateNewType | ( | bool | value | ) |
Sets if data will be imported under a new object type.
void Aimsun::GShape::BasicImporterConfiguration::setGkLayer | ( | GKLayer * | value | ) |
Sets the GKLayer where the imported objects will be created.
void Aimsun::GShape::BasicImporterConfiguration::setImporterType | ( | ImporterType | value | ) |
Sets the type of import to be done. Depending on it different configuration class must be set up.
void Aimsun::GShape::BasicImporterConfiguration::setSectionEIDGisColumn | ( | const QString & | value | ) |
Sets the GIS column name corresponding to the Aimsun GKObject::externalIdAtt Column.
void Aimsun::GShape::BasicImporterConfiguration::setSectionNameGisColumn | ( | const QString & | value | ) |
Sets the GIS column name corresponding to the Aimsun GKObject::nameAtt Column.
void Aimsun::GShape::BasicImporterConfiguration::setTypeName | ( | const QString & | value | ) |
Set New object type name which will use in case of getCreateNewType() being true.
void Aimsun::GShape::BasicImporterConfiguration::setUnits | ( | GK::UnitSystem | value | ) |
Sets the Unit System, by default metric.
void Aimsun::GShape::BasicImporterConfiguration::setUseForDecoration | ( | bool | value | ) |
Sets if data will be imported into a decoration layer and as decoration objects (non editable).
void Aimsun::GShape::BasicImporterConfiguration::setWktCode | ( | const QString & | value | ) |
Sets the WKT Code used to import, by default (empty string) gets the code from the base GIS file.