1 #ifndef BOOST_SERIALIZATION_TEST_A_HPP
2 #define BOOST_SERIALIZATION_TEST_A_HPP
4 // MS compatible compilers support #pragma once
9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10 // A.hpp simple class test
12 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
13 // Use, modification and distribution is subject to the Boost Software
14 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
15 // http://www.boost.org/LICENSE_1_0.txt)
17 // See http://www.boost.org for updates, documentation, and revision history.
19 #include <ostream> // for friend output operators
20 #include <cstddef> // size_t
21 #include <boost/config.hpp>
23 #if defined(BOOST_NO_STDC_NAMESPACE)
29 #include <boost/limits.hpp>
30 #include <boost/cstdint.hpp>
32 #include <boost/serialization/access.hpp>
33 #include <boost/serialization/string.hpp>
36 #define A_DLL_DECL BOOST_SYMBOL_IMPORT
37 #pragma message("A imported")
38 #elif defined(A_EXPORT)
39 #define A_DLL_DECL BOOST_SYMBOL_EXPORT
40 #pragma message ("A exported")
49 friend class boost::serialization::access;
50 template<class Archive>
53 const unsigned int /* file_version */
56 #ifndef BOOST_NO_INT64_T
70 #ifndef BOOST_NO_CWCHAR
81 #ifndef BOOST_NO_STD_WSTRING
86 bool check_equal(const A &rhs) const;
87 bool operator==(const A &rhs) const;
88 bool operator!=(const A &rhs) const;
89 bool operator<(const A &rhs) const; // used by less
90 // hash function for class A
91 operator std::size_t () const;
92 friend std::ostream & operator<<(std::ostream & os, A const & a);
95 #endif // BOOST_SERIALIZATION_TEST_A_HPP