Loading...
Searching...
No Matches
objectCreator.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_CONCEPT_OBJECTCREATOR_H
#define BALL_CONCEPT_OBJECTCREATOR_H
#ifndef BALL_CONCEPT_COMPOSITE_H
# include <BALL/CONCEPT/composite.h>
#endif
#ifndef BALL_CONCEPT_PERSISTENTOBJECT_H
# include <BALL/CONCEPT/persistentObject.h>
#endif
#ifndef BALL_CONCET_TEXTPERSISTENCEMANAGER_H
# include <BALL/CONCEPT/textPersistenceManager.h>
#endif
#ifndef BALL_SYSTEM_NETWORKING_H
# include <BALL/SYSTEM/networking.h>
#endif
#include <vector>
namespace BALL
{
class BALL_EXPORT ObjectCreator
{
public:
ObjectCreator()
;
virtual ~ObjectCreator()
;
virtual void clear()
;
virtual void initPersistenceManager(TextPersistenceManager &pm)
;
virtual Composite *convertObject(PersistentObject &po)
;
Composite *operator() (TCPIOStream &tcp_iostream)
;
private:
bool init_;
TextPersistenceManager pm_;
};
}// namespace BALL
#endif // BALL_CONCEPT_OBJECTCREATOR_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::Composite
Definition composite.h:74
BALL::ObjectCreator::initPersistenceManager
virtual void initPersistenceManager(TextPersistenceManager &pm)
BALL::ObjectCreator::~ObjectCreator
virtual ~ObjectCreator()
BALL::ObjectCreator::ObjectCreator
ObjectCreator()
BALL::ObjectCreator::convertObject
virtual Composite * convertObject(PersistentObject &po)
BALL::ObjectCreator::clear
virtual void clear()
BALL::PersistentObject
Definition persistentObject.h:29
BALL::TCPIOStream
Definition networking.h:31
BALL::TextPersistenceManager
Definition textPersistenceManager.h:29
composite.h
BALL
Definition constants.h:13
networking.h
persistentObject.h
textPersistenceManager.h