Source manager that allow us to read from a std::istream. More...
#include <jpeg.hpp>
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. | |
| claw::graphic::jpeg::reader::source_manager::source_manager | ( | std::istream & | is | ) |
| claw::graphic::jpeg::reader::source_manager::~source_manager | ( | ) |
Destructor.
Definition at line 112 of file jpeg_reader.cpp.
| boolean claw::graphic::jpeg::reader::source_manager::fill_input_buffer | ( | ) |
Fill the input buffer with new data.
Definition at line 120 of file jpeg_reader.cpp.
| void claw::graphic::jpeg::reader::source_manager::skip_input_data | ( | long | num_bytes | ) |
Skip some bytes in the input buffer.
| num_bytes | The number of bytes to skip. |
Definition at line 140 of file jpeg_reader.cpp.
| struct jpeg_source_mgr claw::graphic::jpeg::reader::source_manager::pub |