6 #include "FunctionalRoadClass.h"
17 : m_numLanes(numLanes)
18 , m_functionalRoadClass(functionalRoadClass)
21 int GetNumLanes()
const {
return m_numLanes; }
22 FunctionalRoadClass::Type GetFunctionalRoadClass()
const {
return m_functionalRoadClass; }
27 if (m_functionalRoadClass == rhs.m_functionalRoadClass)
28 return m_numLanes < rhs.m_numLanes;
30 return m_functionalRoadClass < rhs.m_functionalRoadClass;
35 return m_numLanes == rhs.m_numLanes && m_functionalRoadClass == rhs.m_functionalRoadClass;
40 FunctionalRoadClass::Type m_functionalRoadClass;