All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TransportDirectedEdge.h
1 #pragma once
2 
3 #include "Transport.h"
4 #include "TransportWay.h"
5 #include "TransportDirectedEdgeId.h"
6 #include "TransportNodeId.h"
7 
8 namespace Eegeo
9 {
10  namespace Transport
11  {
13  {
14  public:
16 
18  const TransportDirectedEdgeId& id,
19  const TransportNodeId& nodeIdA,
20  const TransportNodeId& nodeIdB,
21  const TransportWayId& wayId,
22  bool isWayReversed
23  );
24 
25  const TransportDirectedEdgeId& GetId() const { return m_id; }
26  const TransportNodeId& GetNodeIdA() const { return m_nodeIdA; }
27  const TransportNodeId& GetNodeIdB() const { return m_nodeIdB; }
28  const TransportWayId& GetWayId() const { return m_wayId; }
29  bool IsWayReversed() const { return m_isWayReversed; }
30 
31  private:
33  TransportNodeId m_nodeIdA;
34  TransportNodeId m_nodeIdB;
35  TransportWayId m_wayId;
36  bool m_isWayReversed;
37  };
38  }
39 }