| 126 | {} |
| 127 | |
| 128 | bool TransitStepInfo::IsEqualType(TransitStepInfo const & ts) const |
| 129 | { |
| 130 | if (m_type != ts.m_type) |
| 131 | return false; |
| 132 | |
| 133 | if (m_type != TransitType::Pedestrian && m_type != TransitType::IntermediatePoint) |
| 134 | return m_number == ts.m_number && m_colorARGB == ts.m_colorARGB; |
| 135 | return true; |
| 136 | } |
| 137 | |
| 138 | void TransitRouteInfo::AddStep(TransitStepInfo const & step) |
| 139 | { |