65 virtual void print(std::ostream &stream)
const;
The base class for all OPAL beam lines and sequences.
The base class for all OPAL objects.
Interface for statements.
Abstract interface for a stream of input tokens.
virtual void replace(Object *oldObject, Object *newObject)
Replace references.
void operator=(const Line &)
virtual void parse(Statement &stat)
Parse the line object.
virtual FlaggedBeamline * fetchLine() const
Return the embedded CLASSIC beam line.
virtual void print(std::ostream &stream) const
Print the line.
virtual Line * copy(const std::string &name)
Make complete copy.
virtual double getLength() const
Return line length.
virtual Object * makeTemplate(const std::string &name, TokenStream &is, Statement &stat)
Make a line template.
void parseList(Statement &)
Line()
Exemplar constructor.
virtual Line * clone(const std::string &name)
Make clone.