blob: 1b0b25f95d0e06fa277088ead12707cf37f24f11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// file : examples/cxx/hybrid/streaming/object-simpl.hxx
// copyright : not copyrighted - public domain
#ifndef OBJECT_SIMPL_HXX
#define OBJECT_SIMPL_HXX
// Customized object serializer implementation.
//
class object_simpl: public object_sskel
{
public:
virtual void
pre (const object&);
virtual unsigned int
id ();
virtual bool
position_next ();
virtual const ::position&
position ();
private:
unsigned int id_;
unsigned int count_;
::position cur_pos_;
};
#endif // OBJECT_SIMPL_HXX
|