aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/filter/people-custom-simpl.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-02-24 15:16:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-02-24 15:16:26 +0200
commit707cc94fe52463870a9c6c8e2e66eaaa389e601d (patch)
tree13e10ff28bf4455d915f9d59b401bdbb62a393cb /examples/cxx/hybrid/filter/people-custom-simpl.hxx
Start tracking XSD/e with git after version 3.0.03.0.0
Diffstat (limited to 'examples/cxx/hybrid/filter/people-custom-simpl.hxx')
-rw-r--r--examples/cxx/hybrid/filter/people-custom-simpl.hxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/cxx/hybrid/filter/people-custom-simpl.hxx b/examples/cxx/hybrid/filter/people-custom-simpl.hxx
new file mode 100644
index 0000000..c3df238
--- /dev/null
+++ b/examples/cxx/hybrid/filter/people-custom-simpl.hxx
@@ -0,0 +1,23 @@
+// file : examples/cxx/hybrid/filter/people-custom-simpl.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : not copyrighted - public domain
+
+#ifndef PEOPLE_CUSTOM_SIMPL_HXX
+#define PEOPLE_CUSTOM_SIMPL_HXX
+
+// Customized people serializer implementation.
+//
+class people_simpl: public people_base_simpl
+{
+public:
+ void
+ gender_filter (gender);
+
+ virtual bool
+ person_next ();
+
+private:
+ gender gender_;
+};
+
+#endif // PEOPLE_CUSTOM_SIMPL_HXX