aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/filter/people-custom-pimpl.hxx
blob: 27a07ae1bc377b565c65ac38476b5b92ea896882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// file      : examples/cxx/hybrid/filter/people-custom-pimpl.hxx
// 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