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/parser/schema-exceptions.txx | |
parent | 7420f85ea19b0562ffdd8123442f32bc8bac1267 (diff) |
Switch to build2
Diffstat (limited to 'libxsd/libxsd/cxx/parser/schema-exceptions.txx')
-rw-r--r-- | libxsd/libxsd/cxx/parser/schema-exceptions.txx | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/libxsd/libxsd/cxx/parser/schema-exceptions.txx b/libxsd/libxsd/cxx/parser/schema-exceptions.txx new file mode 100644 index 0000000..1e90b2b --- /dev/null +++ b/libxsd/libxsd/cxx/parser/schema-exceptions.txx @@ -0,0 +1,73 @@ +// file : libxsd/cxx/parser/schema-exceptions.txx +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +namespace xsd +{ + namespace cxx + { + namespace parser + { + // expected_element + // + template <typename C> + expected_element<C>:: + ~expected_element () + { + } + + template <typename C> + expected_element<C>:: + expected_element (const std::basic_string<C>& expected_namespace, + const std::basic_string<C>& expected_name) + : expected_namespace_ (expected_namespace), + expected_name_ (expected_name) + { + } + + template <typename C> + expected_element<C>:: + expected_element (const std::basic_string<C>& expected_namespace, + const std::basic_string<C>& expected_name, + const std::basic_string<C>& encountered_namespace, + const std::basic_string<C>& encountered_name) + : expected_namespace_ (expected_namespace), + expected_name_ (expected_name), + encountered_namespace_ (encountered_namespace), + encountered_name_ (encountered_name) + { + } + + // unexpected_element + // + template <typename C> + unexpected_element<C>:: + ~unexpected_element () + { + } + + template <typename C> + unexpected_element<C>:: + unexpected_element (const std::basic_string<C>& encountered_namespace, + const std::basic_string<C>& encountered_name) + : encountered_namespace_ (encountered_namespace), + encountered_name_ (encountered_name) + { + } + + // dynamic_type + // + template <typename C> + dynamic_type<C>:: + ~dynamic_type () throw () + { + } + + template <typename C> + dynamic_type<C>:: + dynamic_type (const std::basic_string<C>& type) + : type_ (type) + { + } + } + } +} |