Representation of a range within a beam line or sequence.
bool isActive() const
Test for active range.
void initialize()
Initialise data for search.
void leave(const FlaggedElmPtr &) const
Leave an element or line.
void enter(const FlaggedElmPtr &) const
Enter an element or line.
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the algorithm to a FlaggedElmPtr.
virtual void execute()
Apply the algorithm to the top-level beamline.
An abstract sequence of beam line components.
ElementBase * getElement() const
Get the element pointer.
A section of a beam line.
virtual void handleElement(const FlaggedElmPtr &)
The operation to be done for elements.
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the visitor to an FlaggedElmPtr.
virtual void handleBeamline(const FlaggedElmPtr &)
The operation to be done for beamlines.
virtual void execute()
Execute the algorithm.
RangeRep itsRange
Working data for range.