OPAL (Object Oriented Parallel Accelerator Library)  2024.1
OPAL
OpalEnge.h
Go to the documentation of this file.
1 
2 #ifndef OPAL_OPALENGE_H
3 #define OPAL_OPALENGE_H
4 
5 #include "Elements/OpalElement.h"
6 
9 class OpalEnge : public OpalElement {
10  public:
12  enum {
16  SIZE // size of the enum
17  };
18 
20  OpalEnge();
21 
23  virtual ~OpalEnge() {}
24 
26  virtual OpalEnge *clone(const std::string &name);
27 
29  virtual void update();
30 
31  private:
32  // Not implemented.
33  OpalEnge(const OpalEnge &);
34  void operator=(const OpalEnge &);
35 
36  // Clone constructor.
37  OpalEnge(const std::string &name, OpalEnge *parent);
38 };
39 #endif // OPAL_OPALENGE_H
virtual OpalEnge * clone(const std::string &name)
Definition: OpalEnge.cpp:38
void operator=(const OpalEnge &)
virtual void update()
Definition: OpalEnge.cpp:23
virtual ~OpalEnge()
Definition: OpalEnge.h:23
OpalEnge()
Definition: OpalEnge.cpp:10
const std::string name