Changeset 202 in tmcsimulator for branches/FEPSimulator/HighwaysParser.h


Ignore:
Timestamp:
10/30/2017 06:35:42 PM (9 years ago)
Author:
jtorres
Message:

Further progress on condensed format reader, not all green dots showing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FEPSimulator/HighwaysParser.h

    r198 r202  
    1313#include <iostream> 
    1414#include <sstream> 
     15#include <stdio.h> 
     16#include "DataPacker.h" 
    1517 
    1618class HighwaysParser { 
     
    1820    HighwaysParser(char * highwaysData); 
    1921     
    20     vector<FEP_LINE*> getLines(); 
    21     vector<STATION*> getStations(); 
    22      
     22    vector<FEP_LINE*> lines; 
     23    vector<STATION*> stations; 
    2324    virtual ~HighwaysParser(); 
    2425private: 
    25     vector<FEP_LINE*> lines; 
    26     vector<STATION*> stations; 
    27      
    28     FEP_LINE * parseLine(istringstream highwaysData); 
    29     STATION * parseStation(istringstream highwaysData); 
    30     LOOP * parseLoop(istringstream highwaysData); 
    31     void parseLines(istringstream highwaysData); 
     26    void parseLines(char * highwaysData); 
    3227}; 
    3328 
Note: See TracChangeset for help on using the changeset viewer.