1 #ifndef OPAL_Element_HH
2 #define OPAL_Element_HH
108 Element(
int size,
const char *
name,
const char *help);
137 #endif // OPAL_Element_HH
Pointer< ElementBase > itsClassicElement
virtual double getExit(ReferenceType) const
Return arc length from origin to exit (positive !).
Interface for basic beam line object.
virtual void setShared(bool)
Set shared flag.
virtual bool shouldUpdate() const
Update flag.
virtual bool canReplaceBy(Object *object)
Test if replacement is allowed.
The base class for all OPAL elements.
ReferenceType
Reference for element positioning.
void setElement(ElementBase *)
Assign new CLASSIC element.
ElementBase * getElement() const
Return the embedded CLASSIC element.
static Element * find(const std::string &name)
Find named Element.
virtual double getLength() const =0
Return element length.
virtual bool shouldTrace() const
Trace flag.
The base class for all OPAL objects.
void operator=(const Element &)
virtual const std::string getCategory() const
Return the object category as a string.
virtual double getEntrance(ReferenceType) const
Return arc length from origin to entrance (negative !).