OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
AttList.h
Go to the documentation of this file.
1 #ifndef OPAL_AttList_HH
2 #define OPAL_AttList_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: AttList.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: AttList
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:46 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "AbstractObjects/Action.h"
22 #include <iosfwd>
23 
24 class Beamline;
25 
26 
27 // Class AttList
28 // ------------------------------------------------------------------------
30 
31 class AttList: public Action {
32 
33 public:
34 
36  AttList();
37 
38  virtual ~AttList();
39 
41  virtual AttList *clone(const std::string &name);
42 
44  virtual void execute();
45 
46 private:
47 
48  // Not implemented.
49  AttList(const AttList &);
50  void operator=(const AttList &);
51 
52  // Clone constructor.
53  AttList(const std::string &name, AttList *parent);
54 
55  // The working routine.
56  void writeTable(const Beamline &line, std::ostream &os);
57 };
58 
59 #endif // OPAL_AttList_HH
The ATTLIST command.
Definition: AttList.h:31
virtual AttList * clone(const std::string &name)
Make clone.
Definition: AttList.cpp:80
The base class for all OPAL actions.
Definition: Action.h:30
virtual void execute()
Execute the command.
Definition: AttList.cpp:85
void writeTable(const Beamline &line, std::ostream &os)
Definition: AttList.cpp:123
virtual ~AttList()
Definition: AttList.cpp:76
AttList()
Exemplar constructor.
Definition: AttList.cpp:52
void operator=(const AttList &)
An abstract sequence of beam line components.
Definition: Beamline.h:37
const std::string name