claw  1.9.0
Public Member Functions | Public Attributes | List of all members
claw::graphic::jpeg::writer::destination_manager Struct Reference

Destination manager that allow us to write in a std::ostream. More...

#include <jpeg.hpp>

Public Member Functions

 destination_manager (std::ostream &os)
 Constructor. More...
 
 ~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.
 

Detailed Description

Destination manager that allow us to write in a std::ostream.

Author
Julien Jorge

Definition at line 191 of file jpeg.hpp.

Constructor & Destructor Documentation

◆ destination_manager()

claw::graphic::jpeg::writer::destination_manager::destination_manager ( std::ostream &  os)

Constructor.

Parameters
osThe stream we write in.

Definition at line 86 of file jpeg_writer.cpp.


The documentation for this struct was generated from the following files: