summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree/elements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-18 16:17:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-18 16:17:39 +0200
commitaa66cbd3101414d48d153f5c2255fdada9b85d94 (patch)
tree1c478283292057b2e82536adab872cc271b74746 /libxsd/xsd/cxx/tree/elements.hxx
parent2eba9f9f73be55f3f070a73449de8e3764e9cd87 (diff)
Add support for default element values of anyType type
Diffstat (limited to 'libxsd/xsd/cxx/tree/elements.hxx')
-rw-r--r--libxsd/xsd/cxx/tree/elements.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/libxsd/xsd/cxx/tree/elements.hxx b/libxsd/xsd/cxx/tree/elements.hxx
index ab96860..8705c20 100644
--- a/libxsd/xsd/cxx/tree/elements.hxx
+++ b/libxsd/xsd/cxx/tree/elements.hxx
@@ -284,10 +284,15 @@ namespace xsd
/**
* @brief Default constructor.
*/
- _type ()
- : container_ (0)
- {
- }
+ _type ();
+
+ /**
+ * @brief Create an instance from a string.
+ *
+ * @param s A string to initialize the instance with.
+ */
+ template <typename C>
+ _type (const C* s);
public:
/**