OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalSBend.h
Go to the documentation of this file.
1 #ifndef OPAL_OpalSBend_HH
2 #define OPAL_OpalSBend_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: OpalSBend.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: OpalSBend
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:40 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "Elements/OpalBend.h"
22 
23 class OpalWake;
25 
26 // Class OpalSBend
27 // ------------------------------------------------------------------------
29 
30 class OpalSBend: public OpalBend {
31 
32 public:
33 
35  OpalSBend();
36 
37  virtual ~OpalSBend();
38 
40  virtual OpalSBend *clone(const std::string &name);
41 
43  virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag);
44 
46  virtual void update();
47 
48 private:
49 
50  // Not implemented.
51  OpalSBend(const OpalSBend &);
52  void operator=(const OpalSBend &);
53 
54  // Clone constructor.
55  OpalSBend(const std::string &name, OpalSBend *parent);
56 
59 };
60 
61 #endif // OPAL_OpalSBend_HH
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
Definition: OpalSBend.cpp:68
Interface for basic beam line object.
Definition: ElementBase.h:128
ValueFlag
Switch for value desired on ATTLIST command.
Definition: OpalElement.h:71
The SBEND element.
Definition: OpalSBend.h:30
virtual ~OpalSBend()
Definition: OpalSBend.cpp:54
The WAKE definition.
Definition: OpalWake.h:34
Base class for all bending magnets.
Definition: OpalBend.h:30
ParticleMatterInteraction * parmatint_m
Definition: OpalSBend.h:58
OpalWake * owk_m
Definition: OpalSBend.h:57
void operator=(const OpalSBend &)
virtual void update()
Update the embedded CLASSIC bend.
Definition: OpalSBend.cpp:113
OpalSBend()
Exemplar constructor.
Definition: OpalSBend.cpp:34
const std::string name
virtual OpalSBend * clone(const std::string &name)
Make clone.
Definition: OpalSBend.cpp:62