Classes | Public Types | Public Member Functions | Static Public Member Functions

TransitPath Class Reference

List of all members.

Classes

struct  PathNode

Public Types

enum  PathNodeType { TRANSITNODE, ROADNODE }

Public Member Functions

 TransitPath (const Time &startTime)
void clear ()
void reverse ()
size_t size () const
const TimegetStartTime () const
int getTransfers () const
double getDurationInMinutes () const
void addStation (PathNodeType type, int stationId, double latitude, double longitude, Time arrivalTime, Time departureTime, int arrivedWithTripId)
PathNodeType getType (int pathNodeIndex)
int getStationId (int pathNodeIndex)
double getLatitude (int pathNodeIndex)
double getLongitude (int pathNodeIndex)
const TimegetArrivalTime (int pathNodeIndex)
const TimegetDepartureTime (int pathNodeIndex)
int getArrivedWithTripId (int pathNodeIndex)
bool isEqualTo (const TransitPath &otherPath) const
bool hasSameResult (const TransitPath &otherPath) const
string createDiffTo (const TransitPath &otherPath) const
string toString () const
string createJSON () const

Static Public Member Functions

static pair< vector< int >
, vector< int > > 
findDifferentPaths (const vector< TransitPath > &firstPaths, const vector< TransitPath > &secondPaths)
static pair< vector< int >
, vector< int > > 
findDifferentResults (const vector< TransitPath > &firstPaths, const vector< TransitPath > &secondPaths)

The documentation for this class was generated from the following files:
 All Classes Functions