public abstract

Inheritance Graph

graph BT
	AbstractBitmapStreamer
	AbstractBitmapStreamer --> AbstractStreamer
	StreamerPNG --> AbstractBitmapStreamer
	StreamerSDL --> AbstractBitmapStreamer
	StreamerSDLImage --> AbstractBitmapStreamer
	StreamerSTB --> AbstractBitmapStreamer
	StreamerTGA --> AbstractBitmapStreamer
	click AbstractBitmapStreamer "classUtil_1_1Serialization_1_1AbstractBitmapStreamer"
	click AbstractStreamer "classUtil_1_1Serialization_1_1AbstractStreamer"
	click StreamerPNG "classUtil_1_1Serialization_1_1StreamerPNG"
	click StreamerSDL "classUtil_1_1Serialization_1_1StreamerSDL"
	click StreamerSDLImage "classUtil_1_1Serialization_1_1StreamerSDLImage"
	click StreamerSTB "classUtil_1_1Serialization_1_1StreamerSTB"
	click StreamerTGA "classUtil_1_1Serialization_1_1StreamerTGA"

Description

Interface for classes that are capable of converting between bitmaps and streams.

Author: Benjamin Eikel

Date: 2011-09-08

Public Functions

   
   
  ~AbstractBitmapStreamer()
   
Reference < Bitmap > loadBitmap(std::istream & void)
   
bool saveBitmap(const Bitmap & void, std::ostream & void)

Protected Functions

   
   
  AbstractBitmapStreamer()
Creation is only possible in subclasses.

Documentation

function
Util::Serialization::AbstractBitmapStreamer::~AbstractBitmapStreamer

public inline virtual
   
   
~AbstractBitmapStreamer( )

Defined in Util/Serialization/AbstractBitmapStreamer.h:34


function
Util::Serialization::AbstractBitmapStreamer::loadBitmap

public virtual
     
     
Reference < Bitmap > loadBitmap( std::istream & void )

Load a bitmap from the given stream.

Parameters

input
Use the data from the stream beginning at the preset position.

Returns

Bitmap object. The caller is responsible for the memory deallocation.

Defined in Util/Serialization/AbstractBitmapStreamer.h:43


function
Util::Serialization::AbstractBitmapStreamer::saveBitmap

public inline virtual
     
     
bool saveBitmap( const Bitmap & void,
  std::ostream & void
)    

Save a bitmap to the given stream.

Parameters

bitmap
Bitmap object to save.
output
Use the stream for writing beginning at the preset position.

Returns

trueif successful,falseotherwise.

Defined in Util/Serialization/AbstractBitmapStreamer.h:52


function
Util::Serialization::AbstractBitmapStreamer::AbstractBitmapStreamer

protected inline
   
   
AbstractBitmapStreamer( )

Creation is only possible in subclasses.

Defined in Util/Serialization/AbstractBitmapStreamer.h:59