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

## Constructor & Destructor Documentation

## destination_manager()

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

Constructor.

Parameters

  os | The stream we write in.

Definition at line 91 of file jpeg_writer.cpp.

Referenced by claw__graphic__jpeg__destination_manager__term_destination().

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

- jpeg.hpp
- code/jpeg_writer.cpp