aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/evolution/passthrough/unknown-type-simpl.hxx
blob: b3ea217f0c982c01a02c925b9ba72a17f919a9b4 (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/evolution/passthrough/unknown-type-simpl.hxx
// copyright : not copyrighted - public domain

#ifndef UNKNOWN_TYPE_SIMPL_HXX
#define UNKNOWN_TYPE_SIMPL_HXX

namespace transform
{
  // Customized unknown_type serializer implementation.
  //
  class unknown_type_simpl: public unknown_type_base_simpl
  {
  public:
    // Low-level raw XML serialization callbacks.
    //
    virtual void
    _serialize_attributes ();

    virtual void
    _serialize_content ();

    // Helper functions.
    //
  private:
    void
    serialize (const xml::attributes&);

    void
    serialize (const xml::elements&);
  };
}

#endif // UNKNOWN_TYPE_SIMPL_HXX