mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-25 06:42:11 +00:00
2. created copy of original throw exception for use in the serialization Library.vcproj 3. addressed error maintenance of static type table which shows up on GCC 4. fixed internal names in xml_grammar so as not to conflict with likely preprocessor macros. 5. streamlined xml_grammar so as not to depend upon on non-thread safe component. [SVN r48575]
52 lines
1.3 KiB
C++
52 lines
1.3 KiB
C++
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
|
|
// basic_xml_archive.cpp:
|
|
|
|
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
|
|
// Use, modification and distribution is subject to the Boost Software
|
|
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// See http://www.boost.org for updates, documentation, and revision history.
|
|
|
|
#define BOOST_ARCHIVE_SOURCE
|
|
#include <boost/archive/basic_xml_archive.hpp>
|
|
|
|
namespace boost {
|
|
namespace archive {
|
|
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_OBJECT_ID(){
|
|
return "object_id";
|
|
}
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_OBJECT_REFERENCE(){
|
|
return "object_id_reference";
|
|
}
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_CLASS_ID(){
|
|
return "class_id";
|
|
}
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_CLASS_ID_REFERENCE(){
|
|
return "class_id_reference";
|
|
}
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_CLASS_NAME(){
|
|
return "class_name";
|
|
}
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_TRACKING(){
|
|
return "tracking_level";
|
|
}
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_VERSION(){
|
|
return "version";
|
|
}
|
|
BOOST_ARCHIVE_DECL(const char *)
|
|
BOOST_ARCHIVE_XML_SIGNATURE(){
|
|
return "signature";
|
|
}
|
|
|
|
}// namespace archive
|
|
}// namespace boost
|