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