File indexing completed on 2025-01-18 09:36:59
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_GIL_EXTENSION_IO_TARGA_DETAIL_WRITER_BACKEND_HPP
0009 #define BOOST_GIL_EXTENSION_IO_TARGA_DETAIL_WRITER_BACKEND_HPP
0010
0011 #include <boost/gil/extension/io/targa/tags.hpp>
0012
0013 namespace boost { namespace gil {
0014
0015 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
0016 #pragma warning(push)
0017 #pragma warning(disable:4512)
0018 #endif
0019
0020
0021
0022
0023 template< typename Device >
0024 struct writer_backend< Device
0025 , targa_tag
0026 >
0027 {
0028 public:
0029
0030 using format_tag_t = targa_tag;
0031
0032 public:
0033
0034 writer_backend( const Device& io_dev
0035 , const image_write_info< targa_tag >& info
0036 )
0037 : _io_dev( io_dev )
0038 , _info( info )
0039 {}
0040
0041 public:
0042
0043 Device _io_dev;
0044
0045 image_write_info< targa_tag > _info;
0046 };
0047
0048 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
0049 #pragma warning(pop)
0050 #endif
0051
0052 }
0053 }
0054
0055 #endif