18 #ifndef OPAL_OpalElement_HH
19 #define OPAL_OpalElement_HH
67 std::pair<ElementBase::ApertureType, std::vector<double> >
getApert()
const;
89 virtual void print(std::ostream&)
const;
111 const std::string& sName,
112 const std::string& tName,
119 const std::string&
name,
120 const std::string& image,
125 const std::string&
name,
A representation of an Object attribute.
Interface for statements.
void operator=(const OpalElement &)
static void printMultipoleStrength(std::ostream &os, int order, int &len, const std::string &sName, const std::string &tName, const Attribute &length, const Attribute &vNorm, const Attribute &vSkew)
Print multipole components in OPAL-8 format.
std::vector< double > getWakeParam() const
virtual double getLength() const
Return element length.
static void printAttribute(std::ostream &os, const std::string &name, const std::string &image, int &len)
Print an attribute with a OPAL-8 name (as an expression).
@ PARTICLEMATTERINTERACTION
virtual void parse(Statement &)
Parse the element.
const std::string getParticleMatterInteraction() const
const std::string getWMaterial() const
const std::string getWakeGeom() const
const std::string getWakeF() const
Return the element's type name.
virtual void updateUnknown(ElementBase *)
Transmit the `‘unknown’' (not known to OPAL) attributes to CLASSIC.
std::pair< ElementBase::ApertureType, std::vector< double > > getApert() const
const std::string getTypeName() const
Return the element's type name.
const std::string getWakeConductivity() const
virtual void print(std::ostream &) const
Print the object.
virtual void update()
Update the embedded CLASSIC element.
void registerOwnership() const