Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:53

0001 // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
0002 // (C) Copyright 2003-2007 Jonathan Turkanis
0003 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
0005 
0006 // See http://www.boost.org/libs/iostreams for documentation.
0007 
0008 // Contains constants used by library.
0009 
0010 #ifndef BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED
0011 #define BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED
0012 
0013 #if defined(_MSC_VER)
0014 # pragma once
0015 #endif              
0016 
0017 #ifndef BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE
0018 # define BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE 4096
0019 #endif
0020 
0021 #ifndef BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE
0022 # define BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE 128
0023 #endif
0024 
0025 #ifndef BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE
0026 # define BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE 4
0027 #endif
0028 
0029 #include <boost/iostreams/detail/ios.hpp>  // streamsize.
0030 
0031 namespace boost { namespace iostreams {
0032 
0033 const std::streamsize default_device_buffer_size = 
0034     BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE; 
0035 const std::streamsize default_filter_buffer_size = 
0036     BOOST_IOSTREAMS_DEFAULT_FILTER_BUFFER_SIZE;
0037 const std::streamsize default_pback_buffer_size = 
0038     BOOST_IOSTREAMS_DEFAULT_PBACK_BUFFER_SIZE;
0039 
0040 } } // End namespaces iostreams, boost.
0041 
0042 #endif // #ifndef BOOST_IOSTREAMS_CONSTANTS_HPP_INCLUDED