diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-18 18:48:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-01-13 22:32:43 +0300 |
commit | 2615896faa646e5830abf2c269150e1165c66515 (patch) | |
tree | 7d95978ec0a83094c9462ed4e1f59d42f4ff8ddb /libxsd/libxsd/cxx/tree/date-time.txx | |
parent | 7420f85ea19b0562ffdd8123442f32bc8bac1267 (diff) |
Switch to build2
Diffstat (limited to 'libxsd/libxsd/cxx/tree/date-time.txx')
-rw-r--r-- | libxsd/libxsd/cxx/tree/date-time.txx | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/libxsd/libxsd/cxx/tree/date-time.txx b/libxsd/libxsd/cxx/tree/date-time.txx new file mode 100644 index 0000000..5d110b0 --- /dev/null +++ b/libxsd/libxsd/cxx/tree/date-time.txx @@ -0,0 +1,92 @@ +// file : libxsd/cxx/tree/date-time.txx +// 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); + } + } + } +} |