sl@0: #ifndef BOOST_ARCHIVE_BINARY_IARCHIVE_HPP sl@0: #define BOOST_ARCHIVE_BINARY_IARCHIVE_HPP sl@0: sl@0: // MS compatible compilers support #pragma once sl@0: #if defined(_MSC_VER) && (_MSC_VER >= 1020) sl@0: # pragma once sl@0: #endif sl@0: sl@0: /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 sl@0: // binary_iarchive.hpp sl@0: sl@0: // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . sl@0: // Use, modification and distribution is subject to the Boost Software sl@0: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: // See http://www.boost.org for updates, documentation, and revision history. sl@0: sl@0: #include sl@0: #include sl@0: sl@0: namespace boost { sl@0: namespace archive { sl@0: sl@0: // do not derive from this class. If you want to extend this functionality sl@0: // via inhertance, derived from binary_iarchive_impl instead. This will sl@0: // preserve correct static polymorphism. sl@0: class binary_iarchive : sl@0: public binary_iarchive_impl< sl@0: boost::archive::binary_iarchive, sl@0: std::istream::char_type, sl@0: std::istream::traits_type sl@0: > sl@0: { sl@0: public: sl@0: binary_iarchive(std::istream & is, unsigned int flags = 0) : sl@0: binary_iarchive_impl< sl@0: binary_iarchive, std::istream::char_type, std::istream::traits_type sl@0: >(is, flags) sl@0: {} sl@0: binary_iarchive(std::streambuf & bsb, unsigned int flags = 0) : sl@0: binary_iarchive_impl< sl@0: binary_iarchive, std::istream::char_type, std::istream::traits_type sl@0: >(bsb, flags) sl@0: {} sl@0: }; sl@0: sl@0: } // namespace archive sl@0: } // namespace boost sl@0: sl@0: // required by smart_cast for compilers not implementing sl@0: // partial template specialization sl@0: BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(boost::archive::binary_iarchive) sl@0: sl@0: #endif // BOOST_ARCHIVE_BINARY_IARCHIVE_HPP