36 const Entry entries[] = {
75 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
76 if(aKey == entry->name) {
88 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
89 image->
setAttribute(entry->name, (this->*(entry->get))());
Interface for basic beam line object.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
virtual void setElementLength(double length)
Set design length.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
Representation for a orbit position monitor.
Monitor is off (inactive).
virtual ElementBase * clone() const
Return clone.
virtual double getElementLength() const
Get design length.
virtual ElementImage * getImage() const
Construct an image.
void setAttribute(const std::string &aKey, double val)
Set value of an attribute.
virtual ElementImage * getImage() const
Construct an image.
Abstract interface for read/write access to variable.
Representation for an orbit position monitor.
bool active
The active/inactive flag.
virtual Plane getPlane() const
Get plane.
Access to a [b]double[/b] data member.