BALL
1.4.79
include
BALL
CONCEPT
objectCreator.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_OBJECTCREATOR_H
6
#define BALL_CONCEPT_OBJECTCREATOR_H
7
8
#ifndef BALL_CONCEPT_COMPOSITE_H
9
# include <
BALL/CONCEPT/composite.h
>
10
#endif
11
12
#ifndef BALL_CONCEPT_PERSISTENTOBJECT_H
13
# include <
BALL/CONCEPT/persistentObject.h
>
14
#endif
15
16
#ifndef BALL_CONCET_TEXTPERSISTENCEMANAGER_H
17
# include <
BALL/CONCEPT/textPersistenceManager.h
>
18
#endif
19
20
#ifdef BALL_HAS_ASIO
21
#ifndef BALL_SYSTEM_NETWORKING_H
22
# include <
BALL/SYSTEM/networking.h
>
23
#endif
24
#endif
25
26
#include <vector>
27
28
namespace
BALL
29
{
37
class
BALL_EXPORT
ObjectCreator
38
{
39
public
:
40
44
52
ObjectCreator
()
53
;
54
56
59
62
virtual
~
ObjectCreator
()
63
;
64
68
virtual
void
clear()
69
;
70
72
75
84
virtual
void
initPersistenceManager(
TextPersistenceManager
&pm)
85
;
86
95
virtual
Composite
*convertObject(
PersistentObject
&po)
96
;
97
99
102
103
#ifdef BALL_HAS_ASIO
104
116
Composite
*operator() (
TCPIOStream
&tcp_iostream)
117
;
118
#endif
119
121
122
private
:
123
124
bool
init_;
125
TextPersistenceManager
pm_;
126
};
127
128
}
// namespace BALL
129
130
#endif // BALL_CONCEPT_OBJECTCREATOR_H
BALL::TCPIOStream
Definition:
networking.h:35
BALL::Composite
Definition:
composite.h:71
composite.h
networking.h
textPersistenceManager.h
BALL::ObjectCreator
Definition:
objectCreator.h:37
BALL
-*- Mode: C++; tab-width: 2; -*-
Definition:
constants.h:12
BALL::PersistentObject
Definition:
persistentObject.h:27
BALL::TextPersistenceManager
Definition:
textPersistenceManager.h:27
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
persistentObject.h
Generated by
1.8.13