123 return (
static_cast<int>(a) &
static_cast<int>(b)) != 0;
constexpr bool operator&(GNEPathElement::Options a, GNEPathElement::Options b)
override tag parent bit operator
constexpr GNEPathElement::Options operator|(GNEPathElement::Options a, GNEPathElement::Options b)
override tag parent bit operator
const GNEPathElement::Options myOptions
pathElement option
GNEPathElement & operator=(const GNEPathElement &)=delete
Invalidated assignment operator.
virtual GNELane * getLastPathLane() const =0
get last path lane
virtual ~GNEPathElement()
destructor
GNEPathElement::Options getPathElementOptions() const
get path element option
virtual bool isPathElementSelected() const =0
check if path element is selected
GNEPathElement()=delete
invalidate default constructor
virtual void drawLanePartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const =0
Draws partial object over lane.
bool isRoute() const
check if pathElement is a route
bool isNetworkElement() const
check if pathElement is a network element
GNEPathElement(const GNEPathElement &)=delete
Invalidated copy constructor.
virtual void drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const =0
Draws partial object over junction.
bool isDemandElement() const
check if pathElement is a demand element
virtual void computePathElement()=0
implement in children+
bool isAdditionalElement() const
check if pathElement is an additional element
virtual GNELane * getFirstPathLane() const =0
get first path lane
bool isDataElement() const
check if pathElement is a data element
Stores the information about how to visualize structures.