A base class template for consumer and generator classes. More...
#include <streaming_base.hpp>
Public Types | |
typedef pixel_traits< pixel > | traits |
Public Member Functions | |
streaming_base (image_info &info) | |
streaming_base (size_t width, size_t height) | |
image_info const & | get_info () const |
Protected Member Functions | |
image_info & | get_info () |
void | reset (size_t) |
Protected Attributes | |
info_holder | m_info_holder |
A base class template for consumer and generator classes.
Provides default reset()
method implementation as well as info_holder
policy.
typedef pixel_traits< pixel > png::streaming_base< pixel, info_holder >::traits |
|
inlineexplicit |
|
inline |
|
inline |
Referenced by png::consumer< pixel, pixel_consumer, image_info_ref_holder, true >::read(), png::consumer< pixel, pixel_consumer, image_info_ref_holder, true >::read_rows(), png::consumer< pixel, pixel_consumer, image_info_ref_holder, true >::skip_interlaced_rows(), png::streaming_base< pixel, image_info_ref_holder >::streaming_base(), and png::generator< pixel, pixel_generator, image_info_ref_holder, true >::write().
|
inlineprotected |
|
inlineprotected |
|
protected |