From 2615896faa646e5830abf2c269150e1165c66515 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Dec 2020 18:48:46 +0300 Subject: Switch to build2 --- libxsd/libxsd/cxx/parser/schema-exceptions.txx | 73 ++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 libxsd/libxsd/cxx/parser/schema-exceptions.txx (limited to 'libxsd/libxsd/cxx/parser/schema-exceptions.txx') 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 + expected_element:: + ~expected_element () + { + } + + template + expected_element:: + expected_element (const std::basic_string& expected_namespace, + const std::basic_string& expected_name) + : expected_namespace_ (expected_namespace), + expected_name_ (expected_name) + { + } + + template + expected_element:: + expected_element (const std::basic_string& expected_namespace, + const std::basic_string& expected_name, + const std::basic_string& encountered_namespace, + const std::basic_string& encountered_name) + : expected_namespace_ (expected_namespace), + expected_name_ (expected_name), + encountered_namespace_ (encountered_namespace), + encountered_name_ (encountered_name) + { + } + + // unexpected_element + // + template + unexpected_element:: + ~unexpected_element () + { + } + + template + unexpected_element:: + unexpected_element (const std::basic_string& encountered_namespace, + const std::basic_string& encountered_name) + : encountered_namespace_ (encountered_namespace), + encountered_name_ (encountered_name) + { + } + + // dynamic_type + // + template + dynamic_type:: + ~dynamic_type () throw () + { + } + + template + dynamic_type:: + dynamic_type (const std::basic_string& type) + : type_ (type) + { + } + } + } +} -- cgit v1.1