BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
persistentObject.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_CONCEPT_PERSISTENTOBJECT_H
6 #define BALL_CONCEPT_PERSISTENTOBJECT_H
7 
8 #ifndef BALL_CONCEPT_OBJECT_H
9 # include <BALL/CONCEPT/object.h>
10 #endif
11 
12 namespace BALL
13 {
14 
15  class PersistenceManager;
16 
28  : public Object
29  {
30  public:
31 
35 
40  : Object()
41  {
42  }
43 
47  virtual ~PersistentObject()
48  {
49  }
51 
55 
68 
79  virtual void persistentWrite(PersistenceManager& pm, const char* name = "") const;
80 
93  virtual void persistentRead(PersistenceManager& pm);
94 
103  virtual void finalize()
104  {
105  }
107 
108  };
109 
110 } // namespace BALL
111 
112 #endif // BALL_CONCEPT_PERSISTENTOBJECT_H
std::istream & operator>>(std::istream &is, TRegularData1D< ValueType > &grid)
Input operator.
#define BALL_EXPORT
Definition: COMMON/global.h:50