Line | |
---|
1 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
---|
2 | // xml_archive.cpp: |
---|
3 | |
---|
4 | // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . |
---|
5 | // Use, modification and distribution is subject to the Boost Software |
---|
6 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
---|
7 | // http://www.boost.org/LICENSE_1_0.txt) |
---|
8 | |
---|
9 | // See http://www.boost.org for updates, documentation, and revision history. |
---|
10 | |
---|
11 | #define BOOST_ARCHIVE_SOURCE |
---|
12 | #include <boost/archive/basic_xml_archive.hpp> |
---|
13 | |
---|
14 | namespace boost { |
---|
15 | namespace archive { |
---|
16 | |
---|
17 | BOOST_ARCHIVE_DECL(const char *) |
---|
18 | OBJECT_ID(){ |
---|
19 | return "object_id"; |
---|
20 | } |
---|
21 | BOOST_ARCHIVE_DECL(const char *) |
---|
22 | OBJECT_REFERENCE(){ |
---|
23 | return "object_id_reference"; |
---|
24 | } |
---|
25 | BOOST_ARCHIVE_DECL(const char *) |
---|
26 | CLASS_ID(){ |
---|
27 | return "class_id"; |
---|
28 | } |
---|
29 | BOOST_ARCHIVE_DECL(const char *) |
---|
30 | CLASS_ID_REFERENCE(){ |
---|
31 | return "class_id_reference"; |
---|
32 | } |
---|
33 | BOOST_ARCHIVE_DECL(const char *) |
---|
34 | CLASS_NAME(){ |
---|
35 | return "class_name"; |
---|
36 | } |
---|
37 | BOOST_ARCHIVE_DECL(const char *) |
---|
38 | TRACKING(){ |
---|
39 | return "tracking_level"; |
---|
40 | } |
---|
41 | BOOST_ARCHIVE_DECL(const char *) |
---|
42 | VERSION(){ |
---|
43 | return "version"; |
---|
44 | } |
---|
45 | BOOST_ARCHIVE_DECL(const char *) |
---|
46 | SIGNATURE(){ |
---|
47 | return "signature"; |
---|
48 | } |
---|
49 | |
---|
50 | }// namespace archive |
---|
51 | }// namespace boost |
---|
Note: See
TracBrowser
for help on using the repository browser.