summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd/xsd/cxx/tree')
-rw-r--r--libxsd/xsd/cxx/tree/ace-cdr-stream-common.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/ace-cdr-stream-extraction.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/ace-cdr-stream-insertion.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/bits/literals.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/bits/literals.ixx1
-rw-r--r--libxsd/xsd/cxx/tree/buffer.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/buffer.txx1
-rw-r--r--libxsd/xsd/cxx/tree/comparison-map.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/comparison-map.txx1
-rw-r--r--libxsd/xsd/cxx/tree/containers-wildcard.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/containers.hxx13
-rw-r--r--libxsd/xsd/cxx/tree/containers.txx1
-rw-r--r--libxsd/xsd/cxx/tree/date-time-extraction.txx1
-rw-r--r--libxsd/xsd/cxx/tree/date-time-insertion.txx1
-rw-r--r--libxsd/xsd/cxx/tree/date-time-ostream.txx1
-rw-r--r--libxsd/xsd/cxx/tree/date-time.hxx46
-rw-r--r--libxsd/xsd/cxx/tree/date-time.ixx1
-rw-r--r--libxsd/xsd/cxx/tree/date-time.txx1
-rw-r--r--libxsd/xsd/cxx/tree/element-map.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/element-map.txx1
-rw-r--r--libxsd/xsd/cxx/tree/elements.hxx21
-rw-r--r--libxsd/xsd/cxx/tree/elements.ixx1
-rw-r--r--libxsd/xsd/cxx/tree/elements.txx1
-rw-r--r--libxsd/xsd/cxx/tree/error-handler.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/error-handler.txx1
-rw-r--r--libxsd/xsd/cxx/tree/exceptions.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/exceptions.txx1
-rw-r--r--libxsd/xsd/cxx/tree/facet.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/istream-fwd.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/istream.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/iterator-adapter.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/list.hxx11
-rw-r--r--libxsd/xsd/cxx/tree/ostream.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing.txx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/boolean.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/byte.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/date-time.txx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/decimal.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/double.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/element-map.txx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/float.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/int.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/long.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/short.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/unsigned-byte.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/unsigned-int.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/unsigned-long.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/parsing/unsigned-short.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization.txx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/boolean.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/byte.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/date-time.txx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/decimal.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/double.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/element-map.txx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/float.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/int.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/long.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/short.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/unsigned-byte.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/unsigned-int.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/unsigned-long.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/serialization/unsigned-short.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/std-ostream-map.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/std-ostream-map.txx1
-rw-r--r--libxsd/xsd/cxx/tree/std-ostream-operators.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/stream-extraction-map.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/stream-extraction-map.txx1
-rw-r--r--libxsd/xsd/cxx/tree/stream-extraction.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/stream-insertion-map.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/stream-insertion-map.txx1
-rw-r--r--libxsd/xsd/cxx/tree/stream-insertion.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/text.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/text.txx1
-rw-r--r--libxsd/xsd/cxx/tree/type-factory-map.hxx8
-rw-r--r--libxsd/xsd/cxx/tree/type-factory-map.txx17
-rw-r--r--libxsd/xsd/cxx/tree/type-serializer-map.hxx6
-rw-r--r--libxsd/xsd/cxx/tree/type-serializer-map.txx12
-rw-r--r--libxsd/xsd/cxx/tree/types.hxx49
-rw-r--r--libxsd/xsd/cxx/tree/types.txx1
-rw-r--r--libxsd/xsd/cxx/tree/xdr-stream-common.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/xdr-stream-extraction.hxx1
-rw-r--r--libxsd/xsd/cxx/tree/xdr-stream-insertion.hxx1
85 files changed, 158 insertions, 101 deletions
diff --git a/libxsd/xsd/cxx/tree/ace-cdr-stream-common.hxx b/libxsd/xsd/cxx/tree/ace-cdr-stream-common.hxx
index 28d93d2..25f4791 100644
--- a/libxsd/xsd/cxx/tree/ace-cdr-stream-common.hxx
+++ b/libxsd/xsd/cxx/tree/ace-cdr-stream-common.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/ace-cdr-stream-common.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ACE_CDR_STREAM_COMMON_HXX
diff --git a/libxsd/xsd/cxx/tree/ace-cdr-stream-extraction.hxx b/libxsd/xsd/cxx/tree/ace-cdr-stream-extraction.hxx
index 50dabf2..3da39d2 100644
--- a/libxsd/xsd/cxx/tree/ace-cdr-stream-extraction.hxx
+++ b/libxsd/xsd/cxx/tree/ace-cdr-stream-extraction.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/ace-cdr-stream-extraction.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ACE_CDR_STREAM_EXTRACTION_HXX
diff --git a/libxsd/xsd/cxx/tree/ace-cdr-stream-insertion.hxx b/libxsd/xsd/cxx/tree/ace-cdr-stream-insertion.hxx
index c88b5b3..40b1c4c 100644
--- a/libxsd/xsd/cxx/tree/ace-cdr-stream-insertion.hxx
+++ b/libxsd/xsd/cxx/tree/ace-cdr-stream-insertion.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/ace-cdr-stream-insertion.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ACE_CDR_STREAM_INSERTION_HXX
diff --git a/libxsd/xsd/cxx/tree/bits/literals.hxx b/libxsd/xsd/cxx/tree/bits/literals.hxx
index 3dfb1ab..e15830c 100644
--- a/libxsd/xsd/cxx/tree/bits/literals.hxx
+++ b/libxsd/xsd/cxx/tree/bits/literals.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/bits/literals.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_BITS_LITERALS_HXX
diff --git a/libxsd/xsd/cxx/tree/bits/literals.ixx b/libxsd/xsd/cxx/tree/bits/literals.ixx
index d24c64f..e55657d 100644
--- a/libxsd/xsd/cxx/tree/bits/literals.ixx
+++ b/libxsd/xsd/cxx/tree/bits/literals.ixx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/bits/literals.ixx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_BITS_LITERALS_IXX
diff --git a/libxsd/xsd/cxx/tree/buffer.hxx b/libxsd/xsd/cxx/tree/buffer.hxx
index e6ad8ce..b455c33 100644
--- a/libxsd/xsd/cxx/tree/buffer.hxx
+++ b/libxsd/xsd/cxx/tree/buffer.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/buffer.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
/**
diff --git a/libxsd/xsd/cxx/tree/buffer.txx b/libxsd/xsd/cxx/tree/buffer.txx
index fe0d49d..0ad8ecd 100644
--- a/libxsd/xsd/cxx/tree/buffer.txx
+++ b/libxsd/xsd/cxx/tree/buffer.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/buffer.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
diff --git a/libxsd/xsd/cxx/tree/comparison-map.hxx b/libxsd/xsd/cxx/tree/comparison-map.hxx
index 897caba..d78cc90 100644
--- a/libxsd/xsd/cxx/tree/comparison-map.hxx
+++ b/libxsd/xsd/cxx/tree/comparison-map.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/comparison-map.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_COMPARISON_MAP_HXX
diff --git a/libxsd/xsd/cxx/tree/comparison-map.txx b/libxsd/xsd/cxx/tree/comparison-map.txx
index 0ab63ef..cc739b3 100644
--- a/libxsd/xsd/cxx/tree/comparison-map.txx
+++ b/libxsd/xsd/cxx/tree/comparison-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/comparison-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd/cxx/tree/types.hxx>
diff --git a/libxsd/xsd/cxx/tree/containers-wildcard.hxx b/libxsd/xsd/cxx/tree/containers-wildcard.hxx
index 40b5a69..7fc5dce 100644
--- a/libxsd/xsd/cxx/tree/containers-wildcard.hxx
+++ b/libxsd/xsd/cxx/tree/containers-wildcard.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/containers-wildcard.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_CONTAINERS_WILDCARD_HXX
diff --git a/libxsd/xsd/cxx/tree/containers.hxx b/libxsd/xsd/cxx/tree/containers.hxx
index 1eb14ae..3e26ca3 100644
--- a/libxsd/xsd/cxx/tree/containers.hxx
+++ b/libxsd/xsd/cxx/tree/containers.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/containers.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_CONTAINERS_HXX
@@ -859,6 +858,11 @@ namespace xsd
{
}
+#ifdef XSD_CXX11
+ sequence&
+ operator= (const sequence&) = default;
+#endif
+
public:
void
assign (size_type n, const T& x)
@@ -1091,7 +1095,7 @@ namespace xsd
}
// Note that the container object of the two sequences being
- // swapped should be the same.
+ // swapped should be the same.
//
void
swap (sequence& x)
@@ -1133,6 +1137,11 @@ namespace xsd
: base_sequence (s)
{
}
+
+#ifdef XSD_CXX11
+ sequence&
+ operator= (const sequence&) = default;
+#endif
};
diff --git a/libxsd/xsd/cxx/tree/containers.txx b/libxsd/xsd/cxx/tree/containers.txx
index 9af001f..11f52a1 100644
--- a/libxsd/xsd/cxx/tree/containers.txx
+++ b/libxsd/xsd/cxx/tree/containers.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/containers.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <ostream>
diff --git a/libxsd/xsd/cxx/tree/date-time-extraction.txx b/libxsd/xsd/cxx/tree/date-time-extraction.txx
index e331a8e..c23c953 100644
--- a/libxsd/xsd/cxx/tree/date-time-extraction.txx
+++ b/libxsd/xsd/cxx/tree/date-time-extraction.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/date-time-extraction.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
diff --git a/libxsd/xsd/cxx/tree/date-time-insertion.txx b/libxsd/xsd/cxx/tree/date-time-insertion.txx
index 91245ab..3a54cf8 100644
--- a/libxsd/xsd/cxx/tree/date-time-insertion.txx
+++ b/libxsd/xsd/cxx/tree/date-time-insertion.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/date-time-insertion.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
diff --git a/libxsd/xsd/cxx/tree/date-time-ostream.txx b/libxsd/xsd/cxx/tree/date-time-ostream.txx
index f79a9be..e1f1763 100644
--- a/libxsd/xsd/cxx/tree/date-time-ostream.txx
+++ b/libxsd/xsd/cxx/tree/date-time-ostream.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/date-time-ostream.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <ostream>
diff --git a/libxsd/xsd/cxx/tree/date-time.hxx b/libxsd/xsd/cxx/tree/date-time.hxx
index 858e6b2..d5d06ec 100644
--- a/libxsd/xsd/cxx/tree/date-time.hxx
+++ b/libxsd/xsd/cxx/tree/date-time.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/date-time.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
/**
@@ -211,6 +210,11 @@ namespace xsd
*/
gday (const gday& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ gday&
+ operator= (const gday&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -372,6 +376,11 @@ namespace xsd
*/
gmonth (const gmonth& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ gmonth&
+ operator= (const gmonth&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -533,6 +542,11 @@ namespace xsd
*/
gyear (const gyear& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ gyear&
+ operator= (const gyear&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -697,6 +711,11 @@ namespace xsd
*/
gmonth_day (const gmonth_day& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ gmonth_day&
+ operator= (const gmonth_day&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -881,6 +900,11 @@ namespace xsd
*/
gyear_month (const gyear_month& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ gyear_month&
+ operator= (const gyear_month&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -1069,6 +1093,11 @@ namespace xsd
*/
date (const date& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ date&
+ operator= (const date&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -1270,6 +1299,11 @@ namespace xsd
*/
time (const time& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ time&
+ operator= (const time&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -1494,6 +1528,11 @@ namespace xsd
virtual date_time*
_clone (flags f = 0, container* c = 0) const;
+#ifdef XSD_CXX11
+ date_time&
+ operator= (const date_time&) = default;
+#endif
+
/**
* @brief Create an instance from a data representation
* stream.
@@ -1724,6 +1763,11 @@ namespace xsd
*/
duration (const duration& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ duration&
+ operator= (const duration&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
diff --git a/libxsd/xsd/cxx/tree/date-time.ixx b/libxsd/xsd/cxx/tree/date-time.ixx
index 59834be..b34ceab 100644
--- a/libxsd/xsd/cxx/tree/date-time.ixx
+++ b/libxsd/xsd/cxx/tree/date-time.ixx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/date-time.ixx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
diff --git a/libxsd/xsd/cxx/tree/date-time.txx b/libxsd/xsd/cxx/tree/date-time.txx
index a363a3d..dfa1ac7 100644
--- a/libxsd/xsd/cxx/tree/date-time.txx
+++ b/libxsd/xsd/cxx/tree/date-time.txx
@@ -1,5 +1,4 @@
// 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
diff --git a/libxsd/xsd/cxx/tree/element-map.hxx b/libxsd/xsd/cxx/tree/element-map.hxx
index 11aa53a..d42f569 100644
--- a/libxsd/xsd/cxx/tree/element-map.hxx
+++ b/libxsd/xsd/cxx/tree/element-map.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/element-map.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ELEMENT_MAP_HXX
diff --git a/libxsd/xsd/cxx/tree/element-map.txx b/libxsd/xsd/cxx/tree/element-map.txx
index b19a94d..1eb5d9d 100644
--- a/libxsd/xsd/cxx/tree/element-map.txx
+++ b/libxsd/xsd/cxx/tree/element-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/element-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
diff --git a/libxsd/xsd/cxx/tree/elements.hxx b/libxsd/xsd/cxx/tree/elements.hxx
index 919804d..cff1ada 100644
--- a/libxsd/xsd/cxx/tree/elements.hxx
+++ b/libxsd/xsd/cxx/tree/elements.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/elements.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
/**
@@ -236,6 +235,8 @@ namespace xsd
std::size_t index;
};
+ //@cond
+
bool
operator== (const content_order&, const content_order&);
@@ -245,8 +246,6 @@ namespace xsd
bool
operator< (const content_order&, const content_order&);
- //@cond
-
// DOM user data keys.
//
template <int dummy>
@@ -459,7 +458,9 @@ namespace xsd
// anyType content API.
//
public:
+ //@cond
typedef element_optional dom_content_optional;
+ //@endcond
/**
* @brief Return a read-only (constant) reference to the anyType
@@ -1199,10 +1200,10 @@ namespace xsd
dom_content_optional dom;
};
- //@endcond
-
mutable XSD_AUTO_PTR<content_type> content_;
+ //@endcond
+
private:
container* container_;
};
@@ -1253,6 +1254,11 @@ namespace xsd
*/
simple_type (const simple_type& x, flags f = 0, container* c = 0);
+#ifdef XSD_CXX11
+ simple_type&
+ operator= (const simple_type&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -1616,6 +1622,11 @@ namespace xsd
{
}
+#ifdef XSD_CXX11
+ fundamental_base&
+ operator= (const fundamental_base&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
diff --git a/libxsd/xsd/cxx/tree/elements.ixx b/libxsd/xsd/cxx/tree/elements.ixx
index 2c160b3..6e758e4 100644
--- a/libxsd/xsd/cxx/tree/elements.ixx
+++ b/libxsd/xsd/cxx/tree/elements.ixx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/elements.ixx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
diff --git a/libxsd/xsd/cxx/tree/elements.txx b/libxsd/xsd/cxx/tree/elements.txx
index 1c5bd54..f57e3c8 100644
--- a/libxsd/xsd/cxx/tree/elements.txx
+++ b/libxsd/xsd/cxx/tree/elements.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/elements.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xercesc/util/XMLUniDefs.hpp>
diff --git a/libxsd/xsd/cxx/tree/error-handler.hxx b/libxsd/xsd/cxx/tree/error-handler.hxx
index 28db9db..35cd85c 100644
--- a/libxsd/xsd/cxx/tree/error-handler.hxx
+++ b/libxsd/xsd/cxx/tree/error-handler.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/error-handler.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ERROR_HANDLER_HXX
diff --git a/libxsd/xsd/cxx/tree/error-handler.txx b/libxsd/xsd/cxx/tree/error-handler.txx
index fa0fdcb..5fde8b7 100644
--- a/libxsd/xsd/cxx/tree/error-handler.txx
+++ b/libxsd/xsd/cxx/tree/error-handler.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/error-handler.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
diff --git a/libxsd/xsd/cxx/tree/exceptions.hxx b/libxsd/xsd/cxx/tree/exceptions.hxx
index 76e7d25..928652f 100644
--- a/libxsd/xsd/cxx/tree/exceptions.hxx
+++ b/libxsd/xsd/cxx/tree/exceptions.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/exceptions.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
/**
diff --git a/libxsd/xsd/cxx/tree/exceptions.txx b/libxsd/xsd/cxx/tree/exceptions.txx
index 796c94a..2ff645e 100644
--- a/libxsd/xsd/cxx/tree/exceptions.txx
+++ b/libxsd/xsd/cxx/tree/exceptions.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/exceptions.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd/cxx/tree/bits/literals.hxx>
diff --git a/libxsd/xsd/cxx/tree/facet.hxx b/libxsd/xsd/cxx/tree/facet.hxx
index f2452da..d0a5d8c 100644
--- a/libxsd/xsd/cxx/tree/facet.hxx
+++ b/libxsd/xsd/cxx/tree/facet.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/facet.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_FACET_HXX
diff --git a/libxsd/xsd/cxx/tree/istream-fwd.hxx b/libxsd/xsd/cxx/tree/istream-fwd.hxx
index c27150c..801b89d 100644
--- a/libxsd/xsd/cxx/tree/istream-fwd.hxx
+++ b/libxsd/xsd/cxx/tree/istream-fwd.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/istream-fwd.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ISTREAM_FWD_HXX
diff --git a/libxsd/xsd/cxx/tree/istream.hxx b/libxsd/xsd/cxx/tree/istream.hxx
index 0a8bc3b..c50a122 100644
--- a/libxsd/xsd/cxx/tree/istream.hxx
+++ b/libxsd/xsd/cxx/tree/istream.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/istream.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ISTREAM_HXX
diff --git a/libxsd/xsd/cxx/tree/iterator-adapter.hxx b/libxsd/xsd/cxx/tree/iterator-adapter.hxx
index 5b47421..d1f5d51 100644
--- a/libxsd/xsd/cxx/tree/iterator-adapter.hxx
+++ b/libxsd/xsd/cxx/tree/iterator-adapter.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/iterator-adapter.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_ITERATOR_ADAPTER_HXX
diff --git a/libxsd/xsd/cxx/tree/list.hxx b/libxsd/xsd/cxx/tree/list.hxx
index ea04aca..c44c882 100644
--- a/libxsd/xsd/cxx/tree/list.hxx
+++ b/libxsd/xsd/cxx/tree/list.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/list.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_LIST_HXX
@@ -63,6 +62,11 @@ namespace xsd
{
}
+#ifdef XSD_CXX11
+ list&
+ operator= (const list&) = default;
+#endif
+
public:
list (const xercesc::DOMElement&, flags = 0, container* c = 0);
@@ -113,6 +117,11 @@ namespace xsd
{
}
+#ifdef XSD_CXX11
+ list&
+ operator= (const list&) = default;
+#endif
+
public:
list (const xercesc::DOMElement&, flags = 0, container* c = 0);
diff --git a/libxsd/xsd/cxx/tree/ostream.hxx b/libxsd/xsd/cxx/tree/ostream.hxx
index 7919670..179dba0 100644
--- a/libxsd/xsd/cxx/tree/ostream.hxx
+++ b/libxsd/xsd/cxx/tree/ostream.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/ostream.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_OSTREAM_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing.hxx b/libxsd/xsd/cxx/tree/parsing.hxx
index cfd9445..388e364 100644
--- a/libxsd/xsd/cxx/tree/parsing.hxx
+++ b/libxsd/xsd/cxx/tree/parsing.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing.txx b/libxsd/xsd/cxx/tree/parsing.txx
index ca7b5e5..6dd2fc1 100644
--- a/libxsd/xsd/cxx/tree/parsing.txx
+++ b/libxsd/xsd/cxx/tree/parsing.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <string>
diff --git a/libxsd/xsd/cxx/tree/parsing/boolean.hxx b/libxsd/xsd/cxx/tree/parsing/boolean.hxx
index 3bf2a8a..64cf5bf 100644
--- a/libxsd/xsd/cxx/tree/parsing/boolean.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/boolean.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/boolean.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_BOOLEAN_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/byte.hxx b/libxsd/xsd/cxx/tree/parsing/byte.hxx
index d4a6be7..8fc4d8f 100644
--- a/libxsd/xsd/cxx/tree/parsing/byte.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/byte.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/byte.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_BYTE_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/date-time.txx b/libxsd/xsd/cxx/tree/parsing/date-time.txx
index 4be8d32..04f8f48 100644
--- a/libxsd/xsd/cxx/tree/parsing/date-time.txx
+++ b/libxsd/xsd/cxx/tree/parsing/date-time.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/date-time.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd/cxx/ro-string.hxx>
diff --git a/libxsd/xsd/cxx/tree/parsing/decimal.hxx b/libxsd/xsd/cxx/tree/parsing/decimal.hxx
index eb42c70..07128f9 100644
--- a/libxsd/xsd/cxx/tree/parsing/decimal.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/decimal.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/decimal.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_DECIMAL_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/double.hxx b/libxsd/xsd/cxx/tree/parsing/double.hxx
index ac1914d..7e1a7cc 100644
--- a/libxsd/xsd/cxx/tree/parsing/double.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/double.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/double.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_DOUBLE_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/element-map.txx b/libxsd/xsd/cxx/tree/parsing/element-map.txx
index a585eb0..a6b1e31 100644
--- a/libxsd/xsd/cxx/tree/parsing/element-map.txx
+++ b/libxsd/xsd/cxx/tree/parsing/element-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/element-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_ELEMENT_MAP_TXX
diff --git a/libxsd/xsd/cxx/tree/parsing/float.hxx b/libxsd/xsd/cxx/tree/parsing/float.hxx
index d6da733..bbeab2c 100644
--- a/libxsd/xsd/cxx/tree/parsing/float.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/float.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/float.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_FLOAT_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/int.hxx b/libxsd/xsd/cxx/tree/parsing/int.hxx
index d19097c..566edef 100644
--- a/libxsd/xsd/cxx/tree/parsing/int.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/int.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/int.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_INT_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/long.hxx b/libxsd/xsd/cxx/tree/parsing/long.hxx
index 65107e3..97b81d6 100644
--- a/libxsd/xsd/cxx/tree/parsing/long.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/long.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/long.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_LONG_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/short.hxx b/libxsd/xsd/cxx/tree/parsing/short.hxx
index 3698c49..8b97f80 100644
--- a/libxsd/xsd/cxx/tree/parsing/short.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/short.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/short.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_SHORT_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/unsigned-byte.hxx b/libxsd/xsd/cxx/tree/parsing/unsigned-byte.hxx
index e8bd4d4..6a8b606 100644
--- a/libxsd/xsd/cxx/tree/parsing/unsigned-byte.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/unsigned-byte.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/unsigned-byte.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_UNSIGNED_BYTE_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/unsigned-int.hxx b/libxsd/xsd/cxx/tree/parsing/unsigned-int.hxx
index 1cea998..c9f1f64 100644
--- a/libxsd/xsd/cxx/tree/parsing/unsigned-int.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/unsigned-int.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/unsigned-int.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_UNSIGNED_INT_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/unsigned-long.hxx b/libxsd/xsd/cxx/tree/parsing/unsigned-long.hxx
index e3c0322..4c77484 100644
--- a/libxsd/xsd/cxx/tree/parsing/unsigned-long.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/unsigned-long.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/unsigned-long.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_UNSIGNED_LONG_HXX
diff --git a/libxsd/xsd/cxx/tree/parsing/unsigned-short.hxx b/libxsd/xsd/cxx/tree/parsing/unsigned-short.hxx
index 9ef1a42..5491bcd 100644
--- a/libxsd/xsd/cxx/tree/parsing/unsigned-short.hxx
+++ b/libxsd/xsd/cxx/tree/parsing/unsigned-short.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/parsing/unsigned-short.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_PARSING_UNSIGNED_SHORT_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization.hxx b/libxsd/xsd/cxx/tree/serialization.hxx
index 04d1d07..3d8a193 100644
--- a/libxsd/xsd/cxx/tree/serialization.hxx
+++ b/libxsd/xsd/cxx/tree/serialization.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization.txx b/libxsd/xsd/cxx/tree/serialization.txx
index 297fe98..07c2d4d 100644
--- a/libxsd/xsd/cxx/tree/serialization.txx
+++ b/libxsd/xsd/cxx/tree/serialization.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <string>
diff --git a/libxsd/xsd/cxx/tree/serialization/boolean.hxx b/libxsd/xsd/cxx/tree/serialization/boolean.hxx
index 85c8dfa..bd53f73 100644
--- a/libxsd/xsd/cxx/tree/serialization/boolean.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/boolean.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/boolean.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_BOOLEAN_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/byte.hxx b/libxsd/xsd/cxx/tree/serialization/byte.hxx
index cf2d41b..f0e121e 100644
--- a/libxsd/xsd/cxx/tree/serialization/byte.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/byte.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/byte.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_BYTE_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/date-time.txx b/libxsd/xsd/cxx/tree/serialization/date-time.txx
index a2c8bf6..fe305a4 100644
--- a/libxsd/xsd/cxx/tree/serialization/date-time.txx
+++ b/libxsd/xsd/cxx/tree/serialization/date-time.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/date-time.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <locale>
diff --git a/libxsd/xsd/cxx/tree/serialization/decimal.hxx b/libxsd/xsd/cxx/tree/serialization/decimal.hxx
index 557b3f8..adfd167 100644
--- a/libxsd/xsd/cxx/tree/serialization/decimal.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/decimal.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/decimal.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_DECIMAL_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/double.hxx b/libxsd/xsd/cxx/tree/serialization/double.hxx
index 18c1f23..1375836 100644
--- a/libxsd/xsd/cxx/tree/serialization/double.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/double.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/double.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_DOUBLE_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/element-map.txx b/libxsd/xsd/cxx/tree/serialization/element-map.txx
index 46c1948..a4c199e 100644
--- a/libxsd/xsd/cxx/tree/serialization/element-map.txx
+++ b/libxsd/xsd/cxx/tree/serialization/element-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/element-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_ELEMENT_MAP_TXX
diff --git a/libxsd/xsd/cxx/tree/serialization/float.hxx b/libxsd/xsd/cxx/tree/serialization/float.hxx
index 83045a6..ef935a3 100644
--- a/libxsd/xsd/cxx/tree/serialization/float.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/float.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/float.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_FLOAT_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/int.hxx b/libxsd/xsd/cxx/tree/serialization/int.hxx
index 32cab7d..a01c11a 100644
--- a/libxsd/xsd/cxx/tree/serialization/int.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/int.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/int.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_INT_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/long.hxx b/libxsd/xsd/cxx/tree/serialization/long.hxx
index 84c1f76..5978e55 100644
--- a/libxsd/xsd/cxx/tree/serialization/long.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/long.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/long.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_LONG_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/short.hxx b/libxsd/xsd/cxx/tree/serialization/short.hxx
index 6e083a7..d10f047 100644
--- a/libxsd/xsd/cxx/tree/serialization/short.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/short.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/short.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_SHORT_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/unsigned-byte.hxx b/libxsd/xsd/cxx/tree/serialization/unsigned-byte.hxx
index c0116ab..889a0de 100644
--- a/libxsd/xsd/cxx/tree/serialization/unsigned-byte.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/unsigned-byte.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/unsigned-byte.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_UNSIGNED_BYTE_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/unsigned-int.hxx b/libxsd/xsd/cxx/tree/serialization/unsigned-int.hxx
index 2c6b709..eb34a1d 100644
--- a/libxsd/xsd/cxx/tree/serialization/unsigned-int.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/unsigned-int.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/unsigned-int.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_UNSIGNED_INT_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/unsigned-long.hxx b/libxsd/xsd/cxx/tree/serialization/unsigned-long.hxx
index e8345c8..2c857da 100644
--- a/libxsd/xsd/cxx/tree/serialization/unsigned-long.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/unsigned-long.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/unsigned-long.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_UNSIGNED_LONG_HXX
diff --git a/libxsd/xsd/cxx/tree/serialization/unsigned-short.hxx b/libxsd/xsd/cxx/tree/serialization/unsigned-short.hxx
index 0a63b74..15dc743 100644
--- a/libxsd/xsd/cxx/tree/serialization/unsigned-short.hxx
+++ b/libxsd/xsd/cxx/tree/serialization/unsigned-short.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/serialization/unsigned-short.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_SERIALIZATION_UNSIGNED_SHORT_HXX
diff --git a/libxsd/xsd/cxx/tree/std-ostream-map.hxx b/libxsd/xsd/cxx/tree/std-ostream-map.hxx
index 83d3f4b..87d2621 100644
--- a/libxsd/xsd/cxx/tree/std-ostream-map.hxx
+++ b/libxsd/xsd/cxx/tree/std-ostream-map.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/std-ostream-map.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_STD_OSTREAM_MAP_HXX
diff --git a/libxsd/xsd/cxx/tree/std-ostream-map.txx b/libxsd/xsd/cxx/tree/std-ostream-map.txx
index 171f2d1..a8cfa32 100644
--- a/libxsd/xsd/cxx/tree/std-ostream-map.txx
+++ b/libxsd/xsd/cxx/tree/std-ostream-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/std-ostream-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd/cxx/tree/types.hxx>
diff --git a/libxsd/xsd/cxx/tree/std-ostream-operators.hxx b/libxsd/xsd/cxx/tree/std-ostream-operators.hxx
index cd5a9bd..620f23a 100644
--- a/libxsd/xsd/cxx/tree/std-ostream-operators.hxx
+++ b/libxsd/xsd/cxx/tree/std-ostream-operators.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/std-ostream-operators.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_STD_OSTREAM_OPERATORS_HXX
diff --git a/libxsd/xsd/cxx/tree/stream-extraction-map.hxx b/libxsd/xsd/cxx/tree/stream-extraction-map.hxx
index 9b5493b..698f432 100644
--- a/libxsd/xsd/cxx/tree/stream-extraction-map.hxx
+++ b/libxsd/xsd/cxx/tree/stream-extraction-map.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/stream-extraction-map.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_STREAM_EXTRACTION_MAP_HXX
diff --git a/libxsd/xsd/cxx/tree/stream-extraction-map.txx b/libxsd/xsd/cxx/tree/stream-extraction-map.txx
index e990d64..55950d3 100644
--- a/libxsd/xsd/cxx/tree/stream-extraction-map.txx
+++ b/libxsd/xsd/cxx/tree/stream-extraction-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/stream-extraction-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd/cxx/tree/types.hxx>
diff --git a/libxsd/xsd/cxx/tree/stream-extraction.hxx b/libxsd/xsd/cxx/tree/stream-extraction.hxx
index 6d79fca..ff909d8 100644
--- a/libxsd/xsd/cxx/tree/stream-extraction.hxx
+++ b/libxsd/xsd/cxx/tree/stream-extraction.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/stream-extraction.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_STREAM_EXTRACTION_HXX
diff --git a/libxsd/xsd/cxx/tree/stream-insertion-map.hxx b/libxsd/xsd/cxx/tree/stream-insertion-map.hxx
index 47f26cf..86c02f3 100644
--- a/libxsd/xsd/cxx/tree/stream-insertion-map.hxx
+++ b/libxsd/xsd/cxx/tree/stream-insertion-map.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/stream-insertion-map.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_STREAM_INSERTION_MAP_HXX
diff --git a/libxsd/xsd/cxx/tree/stream-insertion-map.txx b/libxsd/xsd/cxx/tree/stream-insertion-map.txx
index 36eec23..3fb4b6a 100644
--- a/libxsd/xsd/cxx/tree/stream-insertion-map.txx
+++ b/libxsd/xsd/cxx/tree/stream-insertion-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/stream-insertion-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd/cxx/tree/types.hxx>
diff --git a/libxsd/xsd/cxx/tree/stream-insertion.hxx b/libxsd/xsd/cxx/tree/stream-insertion.hxx
index 5a24fa9..a199f4f 100644
--- a/libxsd/xsd/cxx/tree/stream-insertion.hxx
+++ b/libxsd/xsd/cxx/tree/stream-insertion.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/stream-insertion.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_STREAM_INSERTION_HXX
diff --git a/libxsd/xsd/cxx/tree/text.hxx b/libxsd/xsd/cxx/tree/text.hxx
index 473b0a6..7a37332 100644
--- a/libxsd/xsd/cxx/tree/text.hxx
+++ b/libxsd/xsd/cxx/tree/text.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/text.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_TEXT_HXX
diff --git a/libxsd/xsd/cxx/tree/text.txx b/libxsd/xsd/cxx/tree/text.txx
index 1a6ad11..89b783a 100644
--- a/libxsd/xsd/cxx/tree/text.txx
+++ b/libxsd/xsd/cxx/tree/text.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/text.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xercesc/dom/DOMText.hpp>
diff --git a/libxsd/xsd/cxx/tree/type-factory-map.hxx b/libxsd/xsd/cxx/tree/type-factory-map.hxx
index 767969d..d52982f 100644
--- a/libxsd/xsd/cxx/tree/type-factory-map.hxx
+++ b/libxsd/xsd/cxx/tree/type-factory-map.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/type-factory-map.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_TYPE_FACTORY_MAP_HXX
@@ -151,11 +150,14 @@ namespace xsd
//
//
- template<unsigned long id, typename C, typename T>
+ template<unsigned long id, typename C>
struct element_factory_initializer
{
+ typedef typename type_factory_map<C>::factory factory;
+
element_factory_initializer (const C* root_name, const C* root_ns,
- const C* subst_name, const C* subst_ns);
+ const C* subst_name, const C* subst_ns,
+ factory);
~element_factory_initializer ();
diff --git a/libxsd/xsd/cxx/tree/type-factory-map.txx b/libxsd/xsd/cxx/tree/type-factory-map.txx
index 7bcc61c..5a9dc38 100644
--- a/libxsd/xsd/cxx/tree/type-factory-map.txx
+++ b/libxsd/xsd/cxx/tree/type-factory-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/type-factory-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xercesc/validators/schema/SchemaSymbols.hpp>
@@ -303,6 +302,9 @@ namespace xsd
if (i != element_map_.end ())
{
+ // Note that we may find an abstract element in which case the
+ // returned factory will be NULL.
+ //
f = find_substitution (i->second, qn);
}
}
@@ -456,21 +458,22 @@ namespace xsd
//
//
- template<unsigned long id, typename C, typename T>
- element_factory_initializer<id, C, T>::
+ template<unsigned long id, typename C>
+ element_factory_initializer<id, C>::
element_factory_initializer (const C* root_name, const C* root_ns,
- const C* subst_name, const C* subst_ns)
+ const C* subst_name, const C* subst_ns,
+ factory f)
: root_name_ (root_name), root_ns_ (root_ns),
subst_name_ (subst_name), subst_ns_ (subst_ns)
{
type_factory_map_instance<id, C> ().register_element (
xml::qualified_name<C> (root_name, root_ns),
xml::qualified_name<C> (subst_name, subst_ns),
- &factory_impl<T>);
+ f);
}
- template<unsigned long id, typename C, typename T>
- element_factory_initializer<id, C, T>::
+ template<unsigned long id, typename C>
+ element_factory_initializer<id, C>::
~element_factory_initializer ()
{
type_factory_map_instance<id, C> ().unregister_element (
diff --git a/libxsd/xsd/cxx/tree/type-serializer-map.hxx b/libxsd/xsd/cxx/tree/type-serializer-map.hxx
index 485654c..50869b5 100644
--- a/libxsd/xsd/cxx/tree/type-serializer-map.hxx
+++ b/libxsd/xsd/cxx/tree/type-serializer-map.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/type-serializer-map.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_TYPE_SERIALIZER_MAP_HXX
@@ -217,8 +216,11 @@ namespace xsd
template<unsigned long id, typename C, typename T>
struct element_serializer_initializer
{
+ typedef typename type_serializer_map<C>::serializer serializer;
+
element_serializer_initializer (const C* root_name, const C* root_ns,
- const C* subst_name, const C* subst_ns);
+ const C* subst_name, const C* subst_ns,
+ serializer);
~element_serializer_initializer ();
diff --git a/libxsd/xsd/cxx/tree/type-serializer-map.txx b/libxsd/xsd/cxx/tree/type-serializer-map.txx
index 6a41570..a6c690a 100644
--- a/libxsd/xsd/cxx/tree/type-serializer-map.txx
+++ b/libxsd/xsd/cxx/tree/type-serializer-map.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/type-serializer-map.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xercesc/util/XMLUni.hpp>
@@ -551,14 +550,21 @@ namespace xsd
template<unsigned long id, typename C, typename T>
element_serializer_initializer<id, C, T>::
element_serializer_initializer (const C* root_name, const C* root_ns,
- const C* subst_name, const C* subst_ns)
+ const C* subst_name, const C* subst_ns,
+ serializer s)
: root_name_ (root_name), root_ns_ (root_ns)
{
+ // Note that we still have to use real typeid (instead of, say, NULL)
+ // for abstract elements to make sure we have separate entries for
+ // each of them. We can assume that such a typeid can never be looked
+ // up (since it's impossible to instantiate the corresponding abstract
+ // type).
+ //
type_serializer_map_instance<id, C> ().register_element (
xml::qualified_name<C> (root_name, root_ns),
xml::qualified_name<C> (subst_name, subst_ns),
typeid (T),
- &serializer_impl<T>);
+ s);
}
template<unsigned long id, typename C, typename T>
diff --git a/libxsd/xsd/cxx/tree/types.hxx b/libxsd/xsd/cxx/tree/types.hxx
index fec4151..0790997 100644
--- a/libxsd/xsd/cxx/tree/types.hxx
+++ b/libxsd/xsd/cxx/tree/types.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/types.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
/**
@@ -269,6 +268,18 @@ namespace xsd
base () = x;
return *this;
}
+
+ public:
+ /**
+ * @brief Explicitly "cast" to the base string type.
+ *
+ * @return A const reference to the instance as the base string type.
+ */
+ const std::basic_string<C>&
+ base_string () const
+ {
+ return *this;
+ }
};
/**
@@ -1079,6 +1090,11 @@ namespace xsd
{
}
+#ifdef XSD_CXX11
+ nmtokens&
+ operator= (const nmtokens&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -2560,6 +2576,11 @@ namespace xsd
{
}
+#ifdef XSD_CXX11
+ idrefs&
+ operator= (const idrefs&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -2868,6 +2889,18 @@ namespace xsd
return *this;
}
+ public:
+ /**
+ * @brief Explicitly "cast" to the base string type.
+ *
+ * @return A const reference to the instance as the base string type.
+ */
+ const std::basic_string<C>&
+ base_string () const
+ {
+ return *this;
+ }
+
protected:
//@cond
@@ -2968,6 +3001,11 @@ namespace xsd
//
}
+#ifdef XSD_CXX11
+ qname&
+ operator= (const qname&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
@@ -3124,7 +3162,9 @@ namespace xsd
class base64_binary: public B, public buffer<C>
{
public:
+ //@cond
typedef typename buffer<C>::size_t size_t;
+ //@endcond
public:
/**
@@ -3343,7 +3383,9 @@ namespace xsd
class hex_binary: public B, public buffer<C>
{
public:
+ //@cond
typedef typename buffer<C>::size_t size_t;
+ //@endcond
public:
/**
@@ -3846,6 +3888,11 @@ namespace xsd
{
}
+#ifdef XSD_CXX11
+ entities&
+ operator= (const entities&) = default;
+#endif
+
/**
* @brief Copy the instance polymorphically.
*
diff --git a/libxsd/xsd/cxx/tree/types.txx b/libxsd/xsd/cxx/tree/types.txx
index cb5f8b1..c2a461c 100644
--- a/libxsd/xsd/cxx/tree/types.txx
+++ b/libxsd/xsd/cxx/tree/types.txx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/types.txx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xercesc/util/Base64.hpp>
diff --git a/libxsd/xsd/cxx/tree/xdr-stream-common.hxx b/libxsd/xsd/cxx/tree/xdr-stream-common.hxx
index d687c3c..7db4223 100644
--- a/libxsd/xsd/cxx/tree/xdr-stream-common.hxx
+++ b/libxsd/xsd/cxx/tree/xdr-stream-common.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/xdr-stream-common.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_XDR_STREAM_COMMON_HXX
diff --git a/libxsd/xsd/cxx/tree/xdr-stream-extraction.hxx b/libxsd/xsd/cxx/tree/xdr-stream-extraction.hxx
index a77b7f3..044e93a 100644
--- a/libxsd/xsd/cxx/tree/xdr-stream-extraction.hxx
+++ b/libxsd/xsd/cxx/tree/xdr-stream-extraction.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/xdr-stream-extraction.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_XDR_STREAM_EXTRACTION_HXX
diff --git a/libxsd/xsd/cxx/tree/xdr-stream-insertion.hxx b/libxsd/xsd/cxx/tree/xdr-stream-insertion.hxx
index 672faf5..b834f8e 100644
--- a/libxsd/xsd/cxx/tree/xdr-stream-insertion.hxx
+++ b/libxsd/xsd/cxx/tree/xdr-stream-insertion.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/tree/xdr-stream-insertion.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_XDR_STREAM_INSERTION_HXX