OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalVerticalFFAMagnet.h
Go to the documentation of this file.
1 //
2 // Header file for OpalVerticalFFAMagnet Element
3 //
4 // Copyright (c) 2019 Chris Rogers
5 // All rights reserved.
6 //
7 // OPAL is licensed under GNU GPL version 3.
8 
9 #ifndef OPAL_OPALVERTICALFFAMAGNET_H
10 #define OPAL_OPALVERTICALFFAMAGNET_H
11 
12 #include "Elements/OpalElement.h"
13 
17  public:
19  enum {
29  SIZE // size of the enum
30  };
31 
34 
36  virtual ~OpalVerticalFFAMagnet();
37 
39  virtual OpalVerticalFFAMagnet *clone(const std::string &name);
40 
45  virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag);
46 
48  virtual void update();
49 
50  private:
51  // Not implemented.
53  void operator=(const OpalVerticalFFAMagnet &);
54 
55  // Clone constructor.
56  OpalVerticalFFAMagnet(const std::string &name, OpalVerticalFFAMagnet *parent);
57 
58  static std::string docstring_m;
59 };
60 
61 #endif // OPAL_OPALVERTICALFFAMAGNET_H
62 
Interface for basic beam line object.
Definition: ElementBase.h:128
ValueFlag
Switch for value desired on ATTLIST command.
Definition: OpalElement.h:71
static std::string docstring_m
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Base class for all beam line elements.
Definition: OpalElement.h:41
virtual OpalVerticalFFAMagnet * clone(const std::string &name)
void operator=(const OpalVerticalFFAMagnet &)
const std::string name