aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/filter/people-custom-pimpl.hxx
blob: 1856811959961ac14fe40b7e0f2e07c0b87b473a (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
// file      : examples/cxx/hybrid/filter/people-custom-pimpl.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain

#ifndef PEOPLE_CUSTOM_PIMPL_HXX
#define PEOPLE_CUSTOM_PIMPL_HXX

// Customized people parser implementation.
//
class people_pimpl: public people_base_pimpl
{
public:
  void
  age_filter (unsigned short min, unsigned short max);

  virtual void
  person (const ::person&);

private:
  unsigned short min_age_;
  unsigned short max_age_;
};

#endif // PEOPLE_CUSTOM_PIMPL_HXX