Changeset 80 in tmcsimulator for branches/FEPSimulator/NetworkReader.h
- Timestamp:
- 10/05/2017 03:04:40 PM (9 years ago)
- Location:
- branches/FEPSimulator
- Files:
-
- 1 copied
- 1 moved
-
. (moved) (moved from branches/fep_rpc_client)
-
NetworkReader.h (copied) (copied from branches/fep_rpc_client/NetworkReader.h) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/FEPSimulator/NetworkReader.h
r79 r80 6 6 * 7 7 * A NetworkReader contains two public methods 'getLines' and 'getLoops', 8 * which are getters for the list of FEP_LINES, and LDS_LOOPS, respectively.8 * which are getters for the list of FEP_LINES, and STATIONS, respectively. 9 9 * 10 10 * Example XML file: … … 65 65 66 66 vector<FEP_LINE*> getLines(); // Getter for FEP_LINE list 67 vector< LDS_LOOP*> getStations(); // Getter for LDS_LOOPlist67 vector<STATION*> getStations(); // Getter for STATION list 68 68 private: 69 69 vector<FEP_LINE*> lines; 70 vector< LDS_LOOP*> stations;70 vector<STATION*> stations; 71 71 int ldsIndex; 72 72 73 73 void loadLines(const char * networkFileName); 74 74 LOOP * parseLoop(TiXmlElement * loopElem); 75 LDS_LOOP* parseStation(TiXmlElement *stationElem, FEP_LINE *line);75 STATION * parseStation(TiXmlElement *stationElem, FEP_LINE *line); 76 76 FEP_LINE * parseLine(TiXmlElement *lineElem); 77 77 };
Note: See TracChangeset
for help on using the changeset viewer.
