aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree/date-time.txx
blob: a363a3d783d7b13674394ee37cd9def84ff34be7 (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
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
// file      : xsd/cxx/tree/date-time.txx
// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

namespace xsd
{
  namespace cxx
  {
    namespace tree
    {
      // gday
      //
      template <typename C, typename B>
      gday<C, B>* gday<C, B>::
      _clone (flags f, container* c) const
      {
        return new gday (*this, f, c);
      }

      // gmonth
      //
      template <typename C, typename B>
      gmonth<C, B>* gmonth<C, B>::
      _clone (flags f, container* c) const
      {
        return new gmonth (*this, f, c);
      }

      // gyear
      //
      template <typename C, typename B>
      gyear<C, B>* gyear<C, B>::
      _clone (flags f, container* c) const
      {
        return new gyear (*this, f, c);
      }

      // gmonth_day
      //
      template <typename C, typename B>
      gmonth_day<C, B>* gmonth_day<C, B>::
      _clone (flags f, container* c) const
      {
        return new gmonth_day (*this, f, c);
      }

      // gyear_month
      //
      template <typename C, typename B>
      gyear_month<C, B>* gyear_month<C, B>::
      _clone (flags f, container* c) const
      {
        return new gyear_month (*this, f, c);
      }

      // date
      //
      template <typename C, typename B>
      date<C, B>* date<C, B>::
      _clone (flags f, container* c) const
      {
        return new date (*this, f, c);
      }

      // time
      //
      template <typename C, typename B>
      time<C, B>* time<C, B>::
      _clone (flags f, container* c) const
      {
        return new time (*this, f, c);
      }

      // date_time
      //
      template <typename C, typename B>
      date_time<C, B>* date_time<C, B>::
      _clone (flags f, container* c) const
      {
        return new date_time (*this, f, c);
      }

      // duration
      //
      template <typename C, typename B>
      duration<C, B>* duration<C, B>::
      _clone (flags f, container* c) const
      {
        return new duration (*this, f, c);
      }
    }
  }
}