Functions | |
void | createProjectFile (const QString &projectName, const QString &networkName, const QString &authorName, const QString &nodesFileName, const QString &linksFileName, const QString &trainsFileName, const QString &simEndTime, const QString &simTimestep, const QString &simPlotTime, const QString &filename) |
create the project file | |
std::tuple< QString, QString, QString, QString, QString, QString, QString, QString, QString > | readProjectFile (const QString &filename) |
read the project file | |
void XMLManager::createProjectFile | ( | const QString & | projectName, |
const QString & | networkName, | ||
const QString & | authorName, | ||
const QString & | nodesFileName, | ||
const QString & | linksFileName, | ||
const QString & | trainsFileName, | ||
const QString & | simEndTime, | ||
const QString & | simTimestep, | ||
const QString & | simPlotTime, | ||
const QString & | filename | ||
) |
create the project file
projectName | is the project name |
networkName | is the network name |
authorName | is the author name (who run the simulation) |
nodesFileName | is the nodes file path |
linksFileName | is the links file path |
trainsFileName | is the trains file path |
simEndTime | is the simulation end time |
simTimestep | is the time step of the simulation |
simPlotTime | is the frequency of plotting the trains |
filename | is the project file name |
std::tuple< QString, QString, QString, QString, QString, QString, QString, QString, QString > XMLManager::readProjectFile | ( | const QString & | filename | ) |
read the project file
filename | is the project file to load |