18#ifndef OPAL_OpalElement_HH
19#define OPAL_OpalElement_HH
68 std::pair<ApertureType, std::vector<double> >
getApert()
const;
90 virtual void print(std::ostream&)
const;
112 const std::string& sName,
113 const std::string& tName,
120 const std::string&
name,
121 const std::string& image,
126 const std::string&
name,
A representation of an Object attribute.
Interface for statements.
void operator=(const OpalElement &)
std::pair< ApertureType, std::vector< double > > getApert() const
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.
virtual double getLength() const
Return element length.
std::vector< double > getWakeParam() const
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.
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