Aimsun Next Scripting  24.0
Public Types | Public Member Functions | List of all members
Aimsun::GShape::BasicImporterConfiguration Class Reference
Inheritance diagram for Aimsun::GShape::BasicImporterConfiguration:
Aimsun::GShape::NetworkImporterConfiguration

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)
 
GKLayergetGkLayer () 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)
 

Member Enumeration Documentation

◆ ImporterType

Enumerator
eExternalLayer 
eInternalLayer 
eNetwork 
eCentroids 
eCentroidConns 
eVMSs 
eDetectors 
eBusStops 
eJapan 
eBuildings 

Constructor & Destructor Documentation

◆ BasicImporterConfiguration()

Aimsun::GShape::BasicImporterConfiguration::BasicImporterConfiguration ( )

Member Function Documentation

◆ getBaseShapeFilePath()

const QString & Aimsun::GShape::BasicImporterConfiguration::getBaseShapeFilePath ( ) const

The path for the base shape file.

◆ getCodecName()

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.

◆ getCopyGISAttributesToObjects()

bool Aimsun::GShape::BasicImporterConfiguration::getCopyGISAttributesToObjects ( ) const

True if the importer must the attributes of the GIS file at the Aimsun model.

◆ getCreateNewType()

bool Aimsun::GShape::BasicImporterConfiguration::getCreateNewType ( ) const

True if data will be imported under a new object type.

◆ getGkLayer()

GKLayer * Aimsun::GShape::BasicImporterConfiguration::getGkLayer ( ) const

The GKLayer where the imported objects will be created.

◆ getImporterType()

ImporterType Aimsun::GShape::BasicImporterConfiguration::getImporterType ( ) const

Type of import to be done.

◆ getSectionEIDGisColumn()

const QString & Aimsun::GShape::BasicImporterConfiguration::getSectionEIDGisColumn ( ) const

The GIS column name corresponding to the Aimsun GKObject::externalIdAtt Column.

◆ getSectionNameGisColumn()

const QString & Aimsun::GShape::BasicImporterConfiguration::getSectionNameGisColumn ( ) const

The GIS column name corresponding to the Aimsun GKObject::nameAtt Column.

◆ getTypeName()

const QString & Aimsun::GShape::BasicImporterConfiguration::getTypeName ( ) const

New object type name which will use in case of getCreateNewType() being true.

◆ getUnits()

GK::UnitSystem Aimsun::GShape::BasicImporterConfiguration::getUnits ( ) const

The Unit System, by default metric.

◆ getUseForDecoration()

bool Aimsun::GShape::BasicImporterConfiguration::getUseForDecoration ( ) const

True if data will be imported into a decoration layer and as decoration objects (non editable).

◆ getWktCode()

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.

◆ setBaseShapeFilePath()

void Aimsun::GShape::BasicImporterConfiguration::setBaseShapeFilePath ( const QString &  value)

Sets the path for the base shape file.

◆ setCodecName()

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.

◆ setCopyGISAttributesToObjects()

void Aimsun::GShape::BasicImporterConfiguration::setCopyGISAttributesToObjects ( bool  value)

Sets if the importer must the attributes of the GIS file at the Aimsun model.

◆ setCreateNewType()

void Aimsun::GShape::BasicImporterConfiguration::setCreateNewType ( bool  value)

Sets if data will be imported under a new object type.

◆ setGkLayer()

void Aimsun::GShape::BasicImporterConfiguration::setGkLayer ( GKLayer value)

Sets the GKLayer where the imported objects will be created.

◆ setImporterType()

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.

◆ setSectionEIDGisColumn()

void Aimsun::GShape::BasicImporterConfiguration::setSectionEIDGisColumn ( const QString &  value)

Sets the GIS column name corresponding to the Aimsun GKObject::externalIdAtt Column.

◆ setSectionNameGisColumn()

void Aimsun::GShape::BasicImporterConfiguration::setSectionNameGisColumn ( const QString &  value)

Sets the GIS column name corresponding to the Aimsun GKObject::nameAtt Column.

◆ setTypeName()

void Aimsun::GShape::BasicImporterConfiguration::setTypeName ( const QString &  value)

Set New object type name which will use in case of getCreateNewType() being true.

◆ setUnits()

void Aimsun::GShape::BasicImporterConfiguration::setUnits ( GK::UnitSystem  value)

Sets the Unit System, by default metric.

◆ setUseForDecoration()

void Aimsun::GShape::BasicImporterConfiguration::setUseForDecoration ( bool  value)

Sets if data will be imported into a decoration layer and as decoration objects (non editable).

◆ setWktCode()

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.

© Aimsun SLU
Aimsun ®