Claw  1.7.0
Public Member Functions | Public Attributes
claw::graphic::jpeg::reader::source_manager Struct Reference

Source manager that allow us to read from a std::istream. More...

#include <jpeg.hpp>

List of all members.

Public Member Functions

 source_manager (std::istream &is)
 Constructor.
 ~source_manager ()
 Destructor.
boolean fill_input_buffer ()
 Fill the input buffer with new data.
void skip_input_data (long num_bytes)
 Skip some bytes in the input buffer.

Public Attributes

struct jpeg_source_mgr pub
 "public" fields, needed by the jpeg library.

Detailed Description

Source manager that allow us to read from a std::istream.

Author:
Julien Jorge

Definition at line 88 of file jpeg.hpp.


Constructor & Destructor Documentation

Constructor.

Parameters:
isThe stream we read from.

Definition at line 97 of file jpeg_reader.cpp.

References pub.


Member Function Documentation

Skip some bytes in the input buffer.

Parameters:
num_bytesThe number of bytes to skip.

Definition at line 147 of file jpeg_reader.cpp.

References CLAW_PRECOND.


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