1 #ifndef OPAL_Sequence_HH
2 #define OPAL_Sequence_HH
87 virtual void print(std::ostream &)
const;
135 #endif // OPAL_Sequence_HH
double findDriftLength(TLine::iterator drift) const
virtual void print(std::ostream &) const
Print sequence.
virtual TLine * fetchLine() const
Return the embedded CLASSIC beam line.
Abstract interface for a stream of input tokens.
Sequence()
Exemplar constructor.
An ``archetype'' for a SEQUENCE with arguments.
virtual void parse(Statement &)
Parse sequence.
TLine::iterator findNamedPosition(TLine &, const std::string &) const
void insertDrifts(TLine &line)
virtual double getEntrance(ReferenceType) const
Return the arc length from origin to entrance.
virtual void replace(Object *oldObject, Object *newObject)
Replace references to elements.
ReferenceType getReference() const
Return the reference type flag.
Template class for beam lines.
void operator=(const Sequence &)
ReferenceType
Reference for element positioning.
void addEndMarkers(TLine &line) const
Interface for statements.
static void updateList(Sequence *, TLine *)
void storeLine(TLine &line)
Store sequence line.
The parser for SEQUENCE members.
virtual Sequence * clone(const std::string &name)
Make clone.
virtual double getExit(ReferenceType) const
Return the arc length from origin to exit.
TBeamline< SequenceMember > TLine
The type of a sequence line.
The base class for all OPAL beam lines and sequences.
virtual Sequence * copy(const std::string &name)
Make copy of the sequence line.
This class contains all data for the sequence editor.
virtual double getLength() const
Return sequence length.
The base class for all OPAL objects.
std::string::iterator iterator
virtual void update()
Update the embedded CLASSIC beam line.
virtual Object * makeTemplate(const std::string &, TokenStream &, Statement &)
Make a sequence template.