OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
MemoryWriter.h
Go to the documentation of this file.
1 #ifndef OPAL_MEMORY_WRITER_H
2 #define OPAL_MEMORY_WRITER_H
3 
4 #include "SDDSWriter.h"
5 
6 class MemoryWriter : public SDDSWriter {
7 
8 public:
9  MemoryWriter(const std::string& fname, bool restart);
10 
11  void write(PartBunchBase<double, 3> *beam) override;
12 
13 private:
14  void fillHeader();
15 };
16 
17 #endif
MemoryWriter(const std::string &fname, bool restart)
Definition: MemoryWriter.cpp:8
void fillHeader()
void write(PartBunchBase< double, 3 > *beam) override