BALL 1.5.0
Loading...
Searching...
No Matches
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
12namespace BALL
13{
14
15 class PersistenceManager;
16
28 : public Object
29 {
30 public:
31
35
40 : Object()
41 {
42 }
43
48 {
49 }
51
55
67 PersistenceManager& operator >> (PersistenceManager& pm) const;
68
79 virtual void persistentWrite(PersistenceManager& pm, const char* name = "") const;
80
94
103 virtual void finalize()
104 {
105 }
107
108 };
109
110} // namespace BALL
111
112#endif // BALL_CONCEPT_PERSISTENTOBJECT_H
virtual void persistentRead(PersistenceManager &pm)
virtual void persistentWrite(PersistenceManager &pm, const char *name="") const
#define BALL_EXPORT