11 const Entry entries[] = {
31 for (
const Entry* entry = entries; entry->name != 0; ++entry) {
32 if (aKey == entry->name) {
Abstract interface for read/write access to variable.
virtual void setEz(double)
Set component.
virtual ~ConstantEFieldCavityRep()
StraightGeometry geometry
ConstantEFieldCavityRep()
ElementBase * clone() const override
Return clone.
Channel * getChannel(const std::string &aKey, bool=false) override
Construct a read/write channel.
void setElementLength(double length) override
Set design length.
StraightGeometry & getGeometry() override
Get geometry.
ConstEzField & getField() override
Return field.
void setEz(double ez) override
Component applying a constant accelerating electric field (Ex,Ey,Ez).
virtual void setEz(double ez)
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
virtual double getElementLength() const
Get design length.
Access to a [b]double[/b] data member.
A geometry representing a straight line.
virtual void setElementLength(double length)
Set design length.