OpenStructure
Public Member Functions | Static Public Member Functions
MapIOPngHandler Class Reference

#include <map_io_png_handler.hh>

Inherits MapIOHandler.

Public Member Functions

virtual void Import (img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
virtual void Import (img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
virtual void Export (const img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct) const
virtual void Export (const img::MapHandle &sh, std::ostream &loc, const ImageFormatBase &formatstruct) const
- Public Member Functions inherited from MapIOHandler
virtual ~MapIOHandler ()

Static Public Member Functions

static bool MatchContent (unsigned char *header)
static bool MatchType (const ImageFormatBase &type)
static bool MatchSuffix (const String &loc)
static String GetFormatName ()
static String GetFormatDescription ()

Detailed Description

Definition at line 42 of file map_io_png_handler.hh.


Member Function Documentation

virtual void Export ( const img::MapHandle &  sh,
const boost::filesystem::path &  loc,
const ImageFormatBase formatstruct 
) const
virtual

Implements MapIOHandler.

virtual void Export ( const img::MapHandle &  sh,
std::ostream &  loc,
const ImageFormatBase formatstruct 
) const
virtual

Implements MapIOHandler.

static String GetFormatDescription ( )
inlinestatic

Definition at line 57 of file map_io_png_handler.hh.

static String GetFormatName ( )
inlinestatic

Definition at line 56 of file map_io_png_handler.hh.

virtual void Import ( img::MapHandle &  sh,
const boost::filesystem::path &  loc,
const ImageFormatBase formatstruct 
)
virtual

Map IO handler to read/write png image files.

This map IO handler reads and writes PNG formatted image files,

Implements MapIOHandler.

virtual void Import ( img::MapHandle &  sh,
std::istream &  loc,
const ImageFormatBase formatstruct 
)
virtual

Implements MapIOHandler.

static bool MatchContent ( unsigned char *  header)
static
static bool MatchSuffix ( const String loc)
static
static bool MatchType ( const ImageFormatBase type)
static

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