blob: 8d590637e8d33ceb680d3912d00c8b3ccc6df6a6 (
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
32
33
|
// file : examples/cxx/hybrid/streaming/object-pimpl.hxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
#ifndef OBJECT_PIMPL_HXX
#define OBJECT_PIMPL_HXX
// Customized object parser implementation.
//
class object_pimpl: public object_pskel
{
public:
virtual void
pre ();
virtual void
id (unsigned int);
virtual void
position (const ::position&);
virtual object*
post_object ();
private:
unsigned int id_;
unsigned int count_;
float avg_lat_;
float avg_lon_;
};
#endif // OBJECT_PIMPL_HXX
|