OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
OpalVerticalFFAMagnet.h
Go to the documentation of this file.
1 //
2 // Class OpalVerticalFFAMagnet
3 // The class provides the user interface for the VERTICALFFA object
4 //
5 // Copyright (c) 2019 Chris Rogers
6 // All rights reserved
7 //
8 // This file is part of OPAL.
9 //
10 // OPAL is free software: you can redistribute it and/or modify
11 // it under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17 //
18 #ifndef OPAL_OPALVERTICALFFAMAGNET_H
19 #define OPAL_OPALVERTICALFFAMAGNET_H
20 
21 #include "Elements/OpalElement.h"
22 
24  public:
26  enum {
36  SIZE // size of the enum
37  };
38 
41 
43  virtual ~OpalVerticalFFAMagnet();
44 
46  virtual OpalVerticalFFAMagnet *clone(const std::string &name);
47 
49  virtual void update();
50 
51  private:
52  // Not implemented.
55 
56  // Clone constructor.
57  OpalVerticalFFAMagnet(const std::string &name, OpalVerticalFFAMagnet *parent);
58 
59  static std::string docstring_m;
60 };
61 
62 #endif // OPAL_OPALVERTICALFFAMAGNET_H
63 
const std::string name
void operator=(const OpalVerticalFFAMagnet &)
static std::string docstring_m
OpalVerticalFFAMagnet(const OpalVerticalFFAMagnet &)
virtual OpalVerticalFFAMagnet * clone(const std::string &name)