29 static const Entry entries[] = {
41 Probe(), field(), geometry(), active(true)
46 Probe(right), field(), geometry(right.geometry), active(true)
51 Probe(
name), field(), geometry(), active(true)
65 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
66 if(aKey == entry->name) {
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
virtual double getElementLength() const
Get design length.
virtual void setElementLength(double length)
Set design length.
NullField field
The zero magnetic field.
bool active
The active/inactive flag.
virtual StraightGeometry & getGeometry()
Get geometry.
virtual ElementBase * clone() const
Return clone.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
StraightGeometry geometry
The probe's geometry.
virtual void setActive(bool=true)
Set active flag.
virtual NullField & getField()
Get field.
A geometry representing a straight line.
Abstract interface for read/write access to variable.
Access to a [b]double[/b] data member.
A zero electromagnetic field.