29 "The \"SRot\" element defines a coordinate rotation "
30 "around the s-axis.") {
32 (
"ANGLE",
"Angle for the transformation");
Interface for basic beam line object.
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
ValueFlag
Switch for value desired on ATTLIST command.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
Representation for a geometry patch.
static std::map< std::string, OwnPtr< AttCell > > attributeRegistry
The registry for named attributes.
virtual OpalSRot * clone(const std::string &name)
Make clone.
virtual void update()
Update the embedded CLASSIC patch.
Displacement and rotation in space.
Base class for all beam line elements.
void setElement(ElementBase *)
Assign new CLASSIC element.
void registerOwnership() const
virtual void updateUnknown(ElementBase *)
Transmit the ``unknown'' (not known to OPAL) attributes to CLASSIC.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setPatch(const Euclid3D &euclid)
Set patch.
OpalSRot()
Exemplar constructor.
double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
static Euclid3D ZRotation(double angle)
Make rotation.
static AttCell * registerRealAttribute(const std::string &name)
Register a ``real'' element attribute.
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.