41 virtual Line*
clone(
const std::string& name);
45 virtual Line*
copy(
const std::string& name);
60 virtual void print(std::ostream& stream)
const;
68 Line(
const std::string& name,
Line* parent);
The base class for all OPAL beam lines and sequences.
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 OPALX 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.
The base class for all OPAL objects.
Interface for statements.
Abstract interface for a stream of input tokens.