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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
// file : cxx/tree/custom/taxonomy/people-custom.hxx
// copyright : not copyrighted - public domain
// Do not include this file directly, use people.hxx instead. This
// file is included into generated people.hxx so we do not need to
// guard against multiple inclusions.
//
#include <iosfwd> // std::ostream
// Include people-fwd.hxx here so that we can refer to the generated
// types.
//
#include "people-fwd.hxx"
namespace people
{
//
//
template <typename base>
class person_impl: public base
{
public:
person_impl (const xml_schema::string& name);
person_impl (const xercesc::DOMElement&,
xml_schema::flags = 0,
xml_schema::container* = 0);
person_impl (const person_impl&,
xml_schema::flags = 0,
xml_schema::container* = 0);
person_impl&
operator= (const person_impl&) = default;
virtual person_impl*
_clone (xml_schema::flags = 0,
xml_schema::container* = 0) const;
public:
virtual void
print (std::ostream&) const;
};
//
//
template <typename base>
class superman_impl: public base
{
public:
superman_impl (const xml_schema::string& name, bool can_fly);
superman_impl (const xercesc::DOMElement&,
xml_schema::flags = 0,
xml_schema::container* = 0);
superman_impl (const superman_impl&,
xml_schema::flags = 0,
xml_schema::container* = 0);
virtual superman_impl*
_clone (xml_schema::flags = 0,
xml_schema::container* = 0) const;
superman_impl&
operator= (const superman_impl&) = default;
public:
virtual void
print (std::ostream&) const;
};
//
//
template <typename base>
class batman_impl: public base
{
public:
batman_impl (const xml_schema::string& name,
bool can_fly,
unsigned int wing_span);
batman_impl (const xercesc::DOMElement&,
xml_schema::flags = 0,
xml_schema::container* = 0);
batman_impl (const batman_impl&,
xml_schema::flags = 0,
xml_schema::container* = 0);
batman_impl&
operator= (const batman_impl&) = default;
virtual batman_impl*
_clone (xml_schema::flags = 0,
xml_schema::container* = 0) const;
public:
virtual void
print (std::ostream&) const;
};
}
|