From f0510d2f90467de8e8f260b47d79a9baaf9bef17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2009 07:15:29 +0200 Subject: Start tracking XSD with git --- libxsd/xsd/cxx/parser/schema-exceptions.txx | 75 +++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 libxsd/xsd/cxx/parser/schema-exceptions.txx (limited to 'libxsd/xsd/cxx/parser/schema-exceptions.txx') diff --git a/libxsd/xsd/cxx/parser/schema-exceptions.txx b/libxsd/xsd/cxx/parser/schema-exceptions.txx new file mode 100644 index 0000000..0d19604 --- /dev/null +++ b/libxsd/xsd/cxx/parser/schema-exceptions.txx @@ -0,0 +1,75 @@ +// file : xsd/cxx/parser/schema-exceptions.txx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC +// 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