libpng++  v0.2.5-1
C++ library for PNG images
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
png::streaming_base< pixel, info_holder > Class Template Reference

A base class template for consumer and generator classes. More...

#include <streaming_base.hpp>

Inheritance diagram for png::streaming_base< pixel, info_holder >:
Collaboration diagram for png::streaming_base< pixel, info_holder >:

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_infoget_info ()
 
void reset (size_t)
 

Protected Attributes

info_holder m_info_holder
 

Detailed Description

template<typename pixel, class info_holder>
class png::streaming_base< pixel, info_holder >

A base class template for consumer and generator classes.

Provides default reset() method implementation as well as info_holder policy.

Member Typedef Documentation

template<typename pixel, class info_holder>
typedef pixel_traits< pixel > png::streaming_base< pixel, info_holder >::traits

Constructor & Destructor Documentation

template<typename pixel, class info_holder>
png::streaming_base< pixel, info_holder >::streaming_base ( image_info info)
inlineexplicit
template<typename pixel, class info_holder>
png::streaming_base< pixel, info_holder >::streaming_base ( size_t  width,
size_t  height 
)
inline

Member Function Documentation

template<typename pixel, class info_holder>
image_info& png::streaming_base< pixel, info_holder >::get_info ( )
inlineprotected
template<typename pixel, class info_holder>
void png::streaming_base< pixel, info_holder >::reset ( size_t  )
inlineprotected

Member Data Documentation

template<typename pixel, class info_holder>
info_holder png::streaming_base< pixel, info_holder >::m_info_holder
protected

The documentation for this class was generated from the following file: