Claw
1.7.3
|
Target manager that allow us to write in a std::ostream. More...
#include <png.hpp>
Public Member Functions | |
target_manager (std::ostream &os) | |
Constructor. | |
void | write (png_bytep data, png_size_t length) |
Write data in the ouput stream. | |
void | flush () |
Flush the output stream. |
claw::graphic::png::writer::target_manager::target_manager | ( | std::ostream & | os | ) |
Constructor.
os | The stream in which we write. |
Definition at line 72 of file png_writer.cpp.
References CLAW_PRECOND.
void claw::graphic::png::writer::target_manager::write | ( | png_bytep | data, |
png_size_t | length | ||
) |
Write data in the ouput stream.
data | (out) Array of the bytes to write. |
length | Number of bytes to write. |
Definition at line 85 of file png_writer.cpp.
Referenced by claw__graphic__png__target_manager__write().