Line data Source code
1 : // file : xsd/cxx/tree/elements.txx
2 : // copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
3 : // license : GNU GPL v2 + exceptions; see accompanying LICENSE file
4 :
5 : #include <xercesc/util/XMLUniDefs.hpp>
6 :
7 : namespace xsd
8 : {
9 : namespace cxx
10 : {
11 : namespace tree
12 : {
13 : // user_data_keys_template
14 : //
15 : template <int dummy>
16 : const XMLCh user_data_keys_template<dummy>::node[21] =
17 : {xercesc::chLatin_x, xercesc::chLatin_s, xercesc::chLatin_d, // xsd
18 : xercesc::chColon, xercesc::chColon, // ::
19 : xercesc::chLatin_c, xercesc::chLatin_x, xercesc::chLatin_x, // cxx
20 : xercesc::chColon, xercesc::chColon, // ::
21 : xercesc::chLatin_t, xercesc::chLatin_r, xercesc::chLatin_e, // tre
22 : xercesc::chLatin_e, xercesc::chColon, xercesc::chColon, // e::
23 : xercesc::chLatin_n, xercesc::chLatin_o, xercesc::chLatin_d, // nod
24 : xercesc::chLatin_e, xercesc::chNull // e\0
25 : };
26 :
27 :
28 : // simple_type
29 : //
30 : template <typename C, typename B>
31 0 : simple_type<C, B>::
32 : simple_type (const simple_type& other,
33 : flags f,
34 : container* c)
35 0 : : B (other, f, c)
36 : {
37 0 : }
38 :
39 : template <typename C, typename B>
40 0 : simple_type<C, B>* simple_type<C, B>::
41 : _clone (flags f, container* c) const
42 : {
43 0 : return new simple_type (*this, f, c);
44 : }
45 :
46 : // fundamental_base
47 : //
48 : template <typename T, typename C, typename B, schema_type::value ST>
49 : fundamental_base<T, C, B, ST>* fundamental_base<T, C, B, ST>::
50 : _clone (flags f, container* c) const
51 : {
52 : return new fundamental_base (*this, f, c);
53 : }
54 : }
55 : }
56 : }
|