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