OpenStructure
Public Member Functions | Static Public Member Functions | Protected Member Functions
MapIOTiffHandler Class Reference

#include <map_io_tiff_handler.hh>

Inherits MapIOHandler.

Inherited by MapIOJpkHandler.

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 ()

Protected Member Functions

tiff * open_subimage_file (const boost::filesystem::path &location, const TIF &formattif)
tiff * open_subimage_stream (std::istream &location, const TIF &formattif)
void load_image_data (tiff *tfile, img::ImageHandle &image, const TIF &formattif)
virtual void do_export (const img::MapHandle &sh, tiff *tfile, TIF &formatstruct) const

Detailed Description

Definition at line 81 of file map_io_tiff_handler.hh.


Member Function Documentation

virtual void do_export ( const img::MapHandle &  sh,
tiff *  tfile,
TIF formatstruct 
) const
protectedvirtual
virtual void Export ( const img::MapHandle &  sh,
const boost::filesystem::path &  loc,
const ImageFormatBase formatstruct 
) const
virtual

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler.

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler.

static String GetFormatDescription ( )
inlinestatic

Reimplemented in MapIOJpkHandler.

Definition at line 100 of file map_io_tiff_handler.hh.

static String GetFormatName ( )
inlinestatic

Reimplemented in MapIOJpkHandler.

Definition at line 99 of file map_io_tiff_handler.hh.

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

Map IO handler to read/write Tiff files.

This map IO handler reads and writes tiff-formatted files.

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler.

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler.

void load_image_data ( tiff *  tfile,
img::ImageHandle &  image,
const TIF formattif 
)
protected
static bool MatchContent ( unsigned char *  header)
static

Reimplemented in MapIOJpkHandler.

static bool MatchSuffix ( const String loc)
static

Reimplemented in MapIOJpkHandler.

static bool MatchType ( const ImageFormatBase type)
static

Reimplemented in MapIOJpkHandler.

tiff* open_subimage_file ( const boost::filesystem::path &  location,
const TIF formattif 
)
protected
tiff* open_subimage_stream ( std::istream &  location,
const TIF formattif 
)
protected

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