Aimsun Next Scripting
24.0
|
Public Types | |
enum class | NodesExportMode { eSimple , eComplex } |
enum class | DriverType { eESRI , eGeoJSON , eGML , eGPKG , eMapInfo } |
enum class | RegionToExport { eAll , eProblemNet , eExperiment , eSelection } |
Public Member Functions | |
ExporterConfiguration () | |
void | setFolder (const QString &folder) |
const QString & | getFolder () const |
void | setCS (const QString &CS) |
const QString & | getCS () const |
void | setNodesExportMode (NodesExportMode mode) |
NodesExportMode | getNodesExportMode () const |
void | setOutputDriver (DriverType driver) |
DriverType | getOutputDriver () const |
void | setNetworkState (GKObject *experiment) |
void | setRegionToExport (RegionToExport region, GKObject *container=nullptr) |
RegionToExport | getRegionToExport () const |
void | addCustomTypeColumns (GKType *type, const QVector< GKColumn * > &columns) |
const QVector< GKColumn * > & | getCustomTypeColumns (GKType *type) const |
|
strong |
|
strong |
|
strong |
Aimsun::GShape::ExporterConfiguration::ExporterConfiguration | ( | ) |
void Aimsun::GShape::ExporterConfiguration::addCustomTypeColumns | ( | GKType * | type, |
const QVector< GKColumn * > & | columns | ||
) |
Add an object type and columns to export. Returns false if 'type' or any of the 'columns' is null.
const QString & Aimsun::GShape::ExporterConfiguration::getCS | ( | ) | const |
Get the Coordinate System to use during export.
const QVector< GKColumn * > & Aimsun::GShape::ExporterConfiguration::getCustomTypeColumns | ( | GKType * | type | ) | const |
Get object's type columns listed to export if any.
const QString & Aimsun::GShape::ExporterConfiguration::getFolder | ( | ) | const |
Get the folder path where data will be exported.
NodesExportMode Aimsun::GShape::ExporterConfiguration::getNodesExportMode | ( | ) | const |
Get how the nodes will be exported.
DriverType Aimsun::GShape::ExporterConfiguration::getOutputDriver | ( | ) | const |
Get the output driver used to export.
RegionToExport Aimsun::GShape::ExporterConfiguration::getRegionToExport | ( | ) | const |
Get the region where the objects to export are selected.
void Aimsun::GShape::ExporterConfiguration::setCS | ( | const QString & | CS | ) |
Set the Coordinate System to use during export.
void Aimsun::GShape::ExporterConfiguration::setFolder | ( | const QString & | folder | ) |
Set the folder path where data will be exported.
void Aimsun::GShape::ExporterConfiguration::setNetworkState | ( | GKObject * | experiment | ) |
Set the experiment to apply geometry configurations and attribute overrides from.
void Aimsun::GShape::ExporterConfiguration::setNodesExportMode | ( | NodesExportMode | mode | ) |
Set how the nodes will be exported. By default, NodesExportMode.eSimple.
void Aimsun::GShape::ExporterConfiguration::setOutputDriver | ( | DriverType | driver | ) |
Set the output driver used to export. By default, DriverType.eESRI.
void Aimsun::GShape::ExporterConfiguration::setRegionToExport | ( | RegionToExport | region, |
GKObject * | container = nullptr |
||
) |
Set the region where to extract the objects to export. By default, RegionToExport.eAll. 'container' argument not need when RegionToExport.eAll used. This will override the objects to export set via 'setNetworkState(...)' but not the attribute overrides to apply.