PyANGKernel.GKRealDataSetRestorerSimple

class GKRealDataSetRestorerSimple

A restorer of external detection data.

Details

This object restores data from an ascii file. When restored, a new column is created in the referenced type and the data is loaded for each referenced object.

Inheritance diagram of PyANGKernel.GKRealDataSetRestorerSimple

Synopsis

Methods

Static functions

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

class IdType

Object Identifier: eById: Internal Object ID eByName: Object Name eByExternalId: Object external ID

class TimeType

Time representation types: eDateTimeISO: ISO 8601 extended format (YYYY-MM-DD, or with time, YYYY-MM-DDTHH:MM:SS) eDateTimeLocal: The format used by the operating system. eTimeAbsoluteHHMMSS: HHMMSS and HMMSS formats are allowed. Base time is not taken into account. eTimeRelativeHHMMSS: HHMMSS and HMMSS formats are allowed. The time is relative to the base time. eTimeAbsoluteSS: Absolute time in seconds. eTimeRelativeSS: Time relative to base time in seconds.

class DecimalSeparator
__init__()
addVehicle(aColumn, aVehicleId)
Parameters:
  • aColumn – int

  • aVehicleId – int

Return type:

bool

clearColumns()
getBaseDate()
Return type:

QDateTime

getColumns()
Return type:

.list of GKRDS.ColType

getDecimalSeparator()
Return type:

DecimalSeparator

static getEnumString(t)
Parameters:

tIdType

Return type:

str

getFileName()
Return type:

str

getIdType()
Return type:

IdType

getLinesToSkip()
Return type:

int

getSeparator()
Return type:

QChar

getTimeType()
Return type:

TimeType

static getTimeTypeString(aTimeType)
Parameters:

aTimeTypeTimeType

Return type:

str

getUnits()
Return type:

UnitSystem

getUseFileNameAsId()
Return type:

bool

getVehicleColumns(aVehicleId)
Parameters:

aVehicleId – int

Return type:

.std.vectoruint

getVehicles()
Return type:

.std.vectorint

includeVehicle(aVehicleId)
Parameters:

aVehicleId – int

Return type:

bool

init(aRealDataSet)
Parameters:

aRealDataSetGKRealDataSet

Init attributes

postRestoreVehicles(aModel)
Parameters:

aModelGKModel

preStoreVehicles()
removeVehicle(aVehicleId)
Parameters:

aVehicleId – int

Return type:

bool

setBaseDate(value)
Parameters:

valueQDateTime

setColumns(value)
Parameters:

value – .list of GKRDS.ColType

setDecimalSeparator(value)
Parameters:

valueDecimalSeparator

setFileName(aname)
Parameters:

aname – str

setForcedInterval(newInterval)
Parameters:

newIntervalGKTimeDuration

setIdType(value)
Parameters:

valueIdType

setLinesToSkip(nbLines)
Parameters:

nbLines – int

setSeparator(value)
Parameters:

valueQChar

setTimeType(value)
Parameters:

valueTimeType

setUnits(value)
Parameters:

valueUnitSystem

setUseFileNameAsId(value)
Parameters:

value – bool

setVehicles(aVehicles)
Parameters:

aVehicles – .std.vectorint