Revision 111, 0.9 kB
(checked in by mido, 17 years ago)
|
pridana knihovna XSD (a jeji chlebodarkyne XERCES), v ramci Win32 zprovoznen priklad tests/test_xsd_hello.cxx
|
Line | |
---|
1 | // file : xsd/cxx/tree/serialization.hxx |
---|
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 | |
---|
6 | #ifndef XSD_CXX_TREE_SERIALIZATION_HXX |
---|
7 | #define XSD_CXX_TREE_SERIALIZATION_HXX |
---|
8 | |
---|
9 | #include <sstream> |
---|
10 | |
---|
11 | #include <xercesc/dom/DOMElement.hpp> |
---|
12 | |
---|
13 | namespace xsd |
---|
14 | { |
---|
15 | namespace cxx |
---|
16 | { |
---|
17 | namespace tree |
---|
18 | { |
---|
19 | // |
---|
20 | // |
---|
21 | template <typename C> |
---|
22 | struct list_stream |
---|
23 | { |
---|
24 | list_stream (std::basic_ostringstream<C>& os, |
---|
25 | xercesc::DOMElement& parent) |
---|
26 | : os_ (os), parent_ (parent) |
---|
27 | { |
---|
28 | } |
---|
29 | |
---|
30 | std::basic_ostringstream<C>& os_; |
---|
31 | xercesc::DOMElement& parent_; |
---|
32 | }; |
---|
33 | } |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | #include <xsd/cxx/tree/serialization.txx> |
---|
38 | #include <xsd/cxx/tree/serialization/date-time.txx> |
---|
39 | |
---|
40 | #endif // XSD_CXX_TREE_SERIALIZATION_HXX |
---|