Commit 1f07358f authored by Tao Zhong's avatar Tao Zhong

#134 Update ini file reader

parent bab68ba6
Pipeline #19867 passed with stages
in 25 seconds
......@@ -35,7 +35,7 @@
<string notr="true"/>
</property>
<property name="currentIndex">
<number>6</number>
<number>12</number>
</property>
<widget class="QWidget" name="tab_general">
<attribute name="title">
......@@ -2307,121 +2307,6 @@
<string>Δ T</string>
</property>
</column>
<item row="0" column="0">
<property name="text">
<string>1</string>
</property>
</item>
<item row="0" column="1">
<property name="text">
<string>1.33</string>
</property>
</item>
<item row="0" column="2">
<property name="text">
<string>0.0</string>
</property>
</item>
<item row="0" column="3">
<property name="text">
<string>0.6</string>
</property>
</item>
<item row="0" column="4">
<property name="text">
<string>0.2</string>
</property>
</item>
<item row="0" column="5">
<property name="text">
<string>0.6</string>
</property>
</item>
<item row="0" column="6">
<property name="text">
<string>0.2</string>
</property>
</item>
<item row="0" column="7">
<property name="text">
<string>0.6</string>
</property>
</item>
<item row="0" column="8">
<property name="text">
<string>0.2</string>
</property>
</item>
<item row="0" column="9">
<property name="text">
<string>0.6</string>
</property>
</item>
<item row="0" column="10">
<property name="text">
<string>0.2</string>
</property>
</item>
<item row="0" column="11">
<property name="text">
<string>0.15</string>
</property>
</item>
<item row="0" column="12">
<property name="text">
<string>0.001</string>
</property>
</item>
<item row="0" column="13">
<property name="text">
<string>0.15</string>
</property>
</item>
<item row="0" column="14">
<property name="text">
<string>0.001</string>
</property>
</item>
<item row="0" column="15">
<property name="text">
<string>0.15</string>
</property>
</item>
<item row="0" column="16">
<property name="text">
<string>0.001</string>
</property>
</item>
<item row="0" column="17">
<property name="text">
<string>0.5</string>
</property>
</item>
<item row="0" column="18">
<property name="text">
<string>0.001</string>
</property>
</item>
<item row="0" column="19">
<property name="text">
<string>0.0</string>
</property>
</item>
<item row="0" column="20">
<property name="text">
<string>0.0</string>
</property>
</item>
<item row="0" column="21">
<property name="text">
<string>1.0</string>
</property>
</item>
<item row="0" column="22">
<property name="text">
<string>0.001</string>
</property>
</item>
</widget>
</widget>
<widget class="QWidget" name="tab_model_gradnav">
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -78,29 +78,17 @@ public slots:
void readTau(QXmlStreamReader *reader, int modelindex);
void readAtou(QXmlStreamReader *reader, int modelindex);
void readT(QXmlStreamReader *reader, int modelindex);
void readRouteChoiceModels(QXmlStreamReader *reader);
void readRouter(QXmlStreamReader *reader);
void readRouterParameters(QXmlStreamReader *reader);
void readNavigationLines(QXmlStreamReader *reader);
void readVTK(QXmlStreamReader *reader);
private:
Ui::InifileWidget *ui;
jpsDatamanager *dataManager;
bool CheckHeaderData();
bool CheckTrafficData();
bool CheckRoutingData();
bool CheckSourceData();
bool CheckAgentData();
bool CheckModelGcfmData();
bool CheckAgentGcfmData();
bool CheckModelGompData();
bool CheckAgentGompData();
bool CheckModelTordData();
bool CheckAgentTordData();
bool CheckModelGradData();
bool CheckAgentGradData();
bool CheckModelKrauData();
bool CheckAgentKrauData();
bool CheckRouteChoiceData();
void writeHeaderData(QXmlStreamWriter *stream, QFile &file);
void writeRoutingData(QXmlStreamWriter *stream, QFile &file);
void writeFFGlobalShortestModel(QXmlStreamWriter *stream, QFile &file);
......@@ -115,12 +103,6 @@ private:
void writeModelKrauData(QXmlStreamWriter *stream, QFile &file);
void writeRouteChoiceData(QXmlStreamWriter *stream, QFile &file);
void ReadJuPedSimData(TiXmlElement* JuPedSim);
void ReadHeaderData(TiXmlElement* JuPedSim);
void ReadAgentData(TiXmlElement* JuPedSim);
void ReadModelData(TiXmlElement* JuPedSim);
void ReadRouteChoiceData(TiXmlElement* JuPedSim);
signals:
void inifileLoaded(QString, int);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment