| Revision 209,
521 bytes
checked in by jtorres, 9 years ago
(diff) |
|
branches/FEPSimulator/tests: added unit test HighwaysParserTest?.cpp, which yielded a bug in HighwayParser?.cpp (not returning correct loop_loc... garbage data...), this likely explains why not all green dots were showing
|
| Rev | Line | |
|---|
| 1 | /* |
|---|
| 2 | * File: HighwaysParser.h |
|---|
| 3 | * Author: jtorres |
|---|
| 4 | * |
|---|
| 5 | * Created on October 28, 2017, 7:23 PM |
|---|
| 6 | */ |
|---|
| 7 | |
|---|
| 8 | #ifndef HIGHWAYSPARSER_H |
|---|
| 9 | #define HIGHWAYSPARSER_H |
|---|
| 10 | |
|---|
| 11 | #include "network.h" |
|---|
| 12 | #include <vector> |
|---|
| 13 | #include <iostream> |
|---|
| 14 | #include <sstream> |
|---|
| 15 | #include <stdio.h> |
|---|
| 16 | #include "DataPacker.h" |
|---|
| 17 | |
|---|
| 18 | class HighwaysParser { |
|---|
| 19 | public: |
|---|
| 20 | HighwaysParser(char * highwaysData); |
|---|
| 21 | void parseLines(char * highwaysData); |
|---|
| 22 | vector<FEP_LINE*> lines; |
|---|
| 23 | vector<STATION*> stations; |
|---|
| 24 | virtual ~HighwaysParser(); |
|---|
| 25 | private: |
|---|
| 26 | }; |
|---|
| 27 | |
|---|
| 28 | #endif /* HIGHWAYSPARSER_H */ |
|---|
| 29 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.