36 const Entry entries[] = {
80 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
81 if(aKey == entry->name) {
93 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
94 image->
setAttribute(entry->name, (this->*(entry->get))());
Representation of a closed orbit corrector.
Interface for basic beam line object.
virtual double getBy() const
Get field.
virtual ElementBase * clone() const
Return clone.
virtual void setElementLength(double length)
Set design length.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
virtual ElementImage * getImage() const
Construct an image.
virtual double getBx() const
Get horizontal field component in Teslas.
virtual Plane getPlane() const
Get plane.
virtual double getElementLength() const
Get design length.
virtual void setBy(double)
Set field.
virtual ElementImage * getImage() const
Construct an image.
void setAttribute(const std::string &aKey, double val)
Set value of an attribute.
Corrector acts on y-plane.
Abstract interface for read/write access to variable.
virtual void setBx(double)
Set horizontal field component in Teslas.
Representation for an orbit corrector.
Access to a [b]double[/b] data member.