FLAME  devel
 All Classes Functions Variables Typedefs Enumerations Pages
h5writer.h
1 #ifndef H5WRITER_H
2 #define H5WRITER_H
3 
4 #include <boost/noncopyable.hpp>
5 
6 #include "base.h"
7 
8 struct H5StateWriter : public boost::noncopyable
9 {
10  struct Pvt;
11  Pvt *pvt;
12 public:
13  H5StateWriter();
14  H5StateWriter(const char *);
15  H5StateWriter(const std::string&);
16  ~H5StateWriter();
17 
18  void open(const char *);
19  void open(const std::string&);
20  void close();
21 
22  void clear();
23 
24  void prepare(const StateBase *);
25 
26  void append(const StateBase *);
27 
28  void setAttr(const char *name, const char *val);
29  void setAttr(const char *name, const std::string& val) { setAttr(name, val.c_str()); }
30 
31  static void dontPrint();
32 };
33 
34 #endif // H5WRITER_H
The abstract base class for all simulation state objects.
Definition: base.h:28