Destination manager that allow us to write in a std::ostream. More...
#include <jpeg.hpp>
Public Member Functions | |
destination_manager (std::ostream &os) | |
Constructor. | |
~destination_manager () | |
Destructor. | |
void | flush () |
Write the content of the buffer in the file. | |
void | term () |
Write the last pending bytes in the file. | |
Public Attributes | |
struct jpeg_destination_mgr | pub |
"public" fields, needed by the jpeg library. | |
Destination manager that allow us to write in a std::ostream.
claw::graphic::jpeg::writer::destination_manager::destination_manager | ( | std::ostream & | os | ) |
claw::graphic::jpeg::writer::destination_manager::~destination_manager | ( | ) |
Destructor.
Definition at line 99 of file jpeg_writer.cpp.
void claw::graphic::jpeg::writer::destination_manager::flush | ( | ) |
Write the content of the buffer in the file.
Definition at line 107 of file jpeg_writer.cpp.
void claw::graphic::jpeg::writer::destination_manager::term | ( | ) |
Write the last pending bytes in the file.
Definition at line 118 of file jpeg_writer.cpp.
struct jpeg_destination_mgr claw::graphic::jpeg::writer::destination_manager::pub |