ESyS-Particle  2.3
CheckPointable.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 
14 #ifndef ESYS_LSMCHECKPOINTABLE_H
15 #define ESYS_LSMCHECKPOINTABLE_H
16 
17 #include <iostream>
18 
19 namespace esys
20 {
21  namespace lsm
22  {
27  {
28  public:
30 
31  virtual ~CheckPointable();
32 
33  virtual void saveCheckPointData(std::ostream &oStream) = 0;
34  virtual void saveSnapShotData(std::ostream &oStream);
35 
36  virtual void loadCheckPointData(std::istream &iStream) = 0;
37  };
38  }
39 }
40 
41 #endif
virtual void saveSnapShotData(std::ostream &oStream)
Definition: CheckPointable.cpp:28
CheckPointable()
Definition: CheckPointable.cpp:20
Definition: CheckPointable.cpp:16
virtual void saveCheckPointData(std::ostream &oStream)=0
Definition: CheckPointable.h:26
virtual ~CheckPointable()
Definition: CheckPointable.cpp:24
virtual void loadCheckPointData(std::istream &iStream)=0