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

#include <map_io_tiff_handler.hh>

Inherits MapIOHandler, and MapIOHandler.

Inherited by MapIOJpkHandler, and 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
 
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 ()
 
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 bool ProvidesImport ()
 
static bool ProvidesExport ()
 
static String GetFormatName ()
 
static String GetFormatDescription ()
 
static bool MatchContent (unsigned char *header)
 
static bool MatchType (const ImageFormatBase &type)
 
static bool MatchSuffix (const String &loc)
 
static bool ProvidesImport ()
 
static bool ProvidesExport ()
 
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
 
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 85 of file map_io_tiff_handler.hh.

Member Function Documentation

◆ do_export() [1/2]

virtual void do_export ( const img::MapHandle sh,
tiff *  tfile,
TIF formatstruct 
) const
protectedvirtual

◆ do_export() [2/2]

virtual void do_export ( const img::MapHandle sh,
tiff *  tfile,
TIF formatstruct 
) const
protectedvirtual

◆ Export() [1/4]

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

◆ Export() [2/4]

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

◆ Export() [3/4]

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

◆ Export() [4/4]

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

◆ GetFormatDescription() [1/2]

static String GetFormatDescription ( )
inlinestatic

Definition at line 106 of file map_io_tiff_handler.hh.

◆ GetFormatDescription() [2/2]

static String GetFormatDescription ( )
inlinestatic

Definition at line 106 of file map_io_tiff_handler.hh.

◆ GetFormatName() [1/2]

static String GetFormatName ( )
inlinestatic

Definition at line 105 of file map_io_tiff_handler.hh.

◆ GetFormatName() [2/2]

static String GetFormatName ( )
inlinestatic

Definition at line 105 of file map_io_tiff_handler.hh.

◆ Import() [1/4]

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, and MapIOJpkHandler.

◆ Import() [2/4]

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, and MapIOJpkHandler.

◆ Import() [3/4]

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

◆ Import() [4/4]

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

◆ load_image_data() [1/2]

void load_image_data ( tiff *  tfile,
img::ImageHandle image,
const TIF formattif 
)
protected

◆ load_image_data() [2/2]

void load_image_data ( tiff *  tfile,
img::ImageHandle image,
const TIF formattif 
)
protected

◆ MatchContent() [1/2]

static bool MatchContent ( unsigned char *  header)
static

◆ MatchContent() [2/2]

static bool MatchContent ( unsigned char *  header)
static

◆ MatchSuffix() [1/2]

static bool MatchSuffix ( const String loc)
static

◆ MatchSuffix() [2/2]

static bool MatchSuffix ( const String loc)
static

◆ MatchType() [1/2]

static bool MatchType ( const ImageFormatBase type)
static

◆ MatchType() [2/2]

static bool MatchType ( const ImageFormatBase type)
static

◆ open_subimage_file() [1/2]

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

◆ open_subimage_file() [2/2]

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

◆ open_subimage_stream() [1/2]

tiff* open_subimage_stream ( std::istream &  location,
const TIF formattif 
)
protected

◆ open_subimage_stream() [2/2]

tiff* open_subimage_stream ( std::istream &  location,
const TIF formattif 
)
protected

◆ ProvidesExport() [1/2]

static bool ProvidesExport ( )
inlinestatic

Definition at line 104 of file map_io_tiff_handler.hh.

◆ ProvidesExport() [2/2]

static bool ProvidesExport ( )
inlinestatic

Definition at line 104 of file map_io_tiff_handler.hh.

◆ ProvidesImport() [1/2]

static bool ProvidesImport ( )
inlinestatic

Definition at line 103 of file map_io_tiff_handler.hh.

◆ ProvidesImport() [2/2]

static bool ProvidesImport ( )
inlinestatic

Definition at line 103 of file map_io_tiff_handler.hh.


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