57 if(dynamic_cast<Beamline *>(base)) {
Interface for basic beam line object.
virtual void handleElement(const FlaggedElmPtr &)
The operation to be done for elements.
void leave(const FlaggedElmPtr &) const
Leave an element or line.
virtual ElementBase * removeWrappers()
Return the design element.
void enter(const FlaggedElmPtr &) const
Enter an element or line.
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the algorithm to a FlaggedElmPtr.
RangeRep itsRange
Working data for range.
bool isActive() const
Test for active range.
void initialize()
Initialise data for search.
The base class for all OPAL elements.
virtual void handleBeamline(const FlaggedElmPtr &)
The operation to be done for beamlines.
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the visitor to an FlaggedElmPtr.
Representation of a range within a beam line or sequence.
An abstract sequence of beam line components.
virtual void execute()
Apply the algorithm to the top-level beamline.
ElementBase * getElement() const
Get the element pointer.
virtual void execute()
Execute the algorithm.
A section of a beam line.