38 "The \"SBEND3D\" element defines a sector bending magnet.") {
40 (
"FMAPFN",
"The name of the field map.");
42 "Scale the field map up or down by this factor (default 1. is T).");
44 "Units for length coordinates (default 1. is mm).");
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
static AttCell * registerStringAttribute(const std::string &name)
Register a ``string'' element attribute.
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.
virtual ElementBase * removeWrappers()
Return the design element.
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh).
void setFieldUnits(double fieldUnits)
Base class for all beam line elements.
void setElement(ElementBase *)
Assign new CLASSIC element.
void registerOwnership() const
virtual OpalSBend3D * clone(const std::string &name)
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setLengthUnits(double lengthUnits)
virtual ElementBase * makeAlignWrapper()
Allow misalignment.
double getReal(const Attribute &attr)
Return real value.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
static AttCell * registerRealAttribute(const std::string &name)
Register a ``real'' element attribute.
void setFieldMapFileName(std::string name)
std::string getString(const Attribute &attr)
Get string value.