Claw  1.7.3
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.
 ~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 196 of file jpeg.hpp.

Constructor & Destructor Documentation

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

Constructor.

Parameters
osThe stream we write in.

Definition at line 91 of file jpeg_writer.cpp.


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