File indexing completed on 2025-01-18 09:38:53
0001
0002
0003
0004
0005
0006
0007
0008
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 } }
0041
0042 #endif