root/win32/xsd-3.1.0-i686/libxsd/xsd/cxx/parser/schema-exceptions.txx @ 111

Revision 111, 2.0 kB (checked in by mido, 16 years ago)

pridana knihovna XSD (a jeji chlebodarkyne XERCES), v ramci Win32 zprovoznen priklad tests/test_xsd_hello.cxx

Line 
1// file      : xsd/cxx/parser/schema-exceptions.txx
2// author    : Boris Kolpackov <boris@codesynthesis.com>
3// copyright : Copyright (c) 2005-2008 Code Synthesis Tools CC
4// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file
5
6namespace xsd
7{
8  namespace cxx
9  {
10    namespace parser
11    {
12      // expected_element
13      //
14      template <typename C>
15      expected_element<C>::
16      ~expected_element ()
17      {
18      }
19
20      template <typename C>
21      expected_element<C>::
22      expected_element (const std::basic_string<C>& expected_namespace,
23                        const std::basic_string<C>& expected_name)
24          : expected_namespace_ (expected_namespace),
25            expected_name_ (expected_name)
26      {
27      }
28
29      template <typename C>
30      expected_element<C>::
31      expected_element (const std::basic_string<C>& expected_namespace,
32                        const std::basic_string<C>& expected_name,
33                        const std::basic_string<C>& encountered_namespace,
34                        const std::basic_string<C>& encountered_name)
35          : expected_namespace_ (expected_namespace),
36            expected_name_ (expected_name),
37            encountered_namespace_ (encountered_namespace),
38            encountered_name_ (encountered_name)
39      {
40      }
41
42      // unexpected_element
43      //
44      template <typename C>
45      unexpected_element<C>::
46      ~unexpected_element ()
47      {
48      }
49
50      template <typename C>
51      unexpected_element<C>::
52      unexpected_element (const std::basic_string<C>& encountered_namespace,
53                          const std::basic_string<C>& encountered_name)
54          : encountered_namespace_ (encountered_namespace),
55            encountered_name_ (encountered_name)
56      {
57      }
58
59      // dynamic_type
60      //
61      template <typename C>
62      dynamic_type<C>::
63      ~dynamic_type () throw ()
64      {
65      }
66
67      template <typename C>
68      dynamic_type<C>::
69      dynamic_type (const std::basic_string<C>& type)
70          : type_ (type)
71      {
72      }
73    }
74  }
75}
Note: See TracBrowser for help on using the browser.