Loading...
Searching...
No Matches
persistentObject.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_CONCEPT_PERSISTENTOBJECT_H
#define BALL_CONCEPT_PERSISTENTOBJECT_H
#ifndef BALL_CONCEPT_OBJECT_H
# include <BALL/CONCEPT/object.h>
#endif
namespace BALL
{
class PersistenceManager;
class BALL_EXPORT PersistentObject
: public Object
{
public:
PersistentObject()
: Object()
{
}
virtual ~PersistentObject()
{
}
PersistenceManager& operator >> (PersistenceManager& pm) const;
virtual void persistentWrite(PersistenceManager& pm, const char* name = "") const;
virtual void persistentRead(PersistenceManager& pm);
virtual void finalize()
{
}
};
} // namespace BALL
#endif // BALL_CONCEPT_PERSISTENTOBJECT_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::Object::Object
Object()
Default constructor.
BALL::PersistenceManager
Definition persistenceManager.h:73
BALL::PersistentObject::persistentRead
virtual void persistentRead(PersistenceManager &pm)
BALL::PersistentObject::PersistentObject
PersistentObject()
Definition persistentObject.h:39
BALL::PersistentObject::persistentWrite
virtual void persistentWrite(PersistenceManager &pm, const char *name="") const
BALL::PersistentObject::finalize
virtual void finalize()
Definition persistentObject.h:103
BALL::PersistentObject::~PersistentObject
virtual ~PersistentObject()
Definition persistentObject.h:47
BALL
Definition constants.h:13
object.h