OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

virtual void do_export ( const img::MapHandle sh,
tiff *  tfile,
TIF formatstruct 
) const
protectedvirtual
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, and MapIOJpkHandler.

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

static String GetFormatDescription ( )
inlinestatic

Definition at line 106 of file map_io_tiff_handler.hh.

static String GetFormatDescription ( )
inlinestatic

Definition at line 106 of file map_io_tiff_handler.hh.

static String GetFormatName ( )
inlinestatic

Definition at line 105 of file map_io_tiff_handler.hh.

static String GetFormatName ( )
inlinestatic

Definition at line 105 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, and MapIOJpkHandler.

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.

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

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

Implements MapIOHandler.

Reimplemented in MapIOJpkHandler, and MapIOJpkHandler.

void load_image_data ( tiff *  tfile,
img::ImageHandle image,
const TIF formattif 
)
protected
void load_image_data ( tiff *  tfile,
img::ImageHandle image,
const TIF formattif 
)
protected
static bool MatchContent ( unsigned char *  header)
static
static bool MatchContent ( unsigned char *  header)
static
static bool MatchSuffix ( const String loc)
static
static bool MatchSuffix ( const String loc)
static
static bool MatchType ( const ImageFormatBase type)
static
static bool MatchType ( const ImageFormatBase type)
static
tiff* open_subimage_file ( const boost::filesystem::path &  location,
const TIF formattif 
)
protected
tiff* open_subimage_file ( const boost::filesystem::path &  location,
const TIF formattif 
)
protected
tiff* open_subimage_stream ( std::istream &  location,
const TIF formattif 
)
protected
tiff* open_subimage_stream ( std::istream &  location,
const TIF formattif 
)
protected
static bool ProvidesExport ( )
inlinestatic

Definition at line 104 of file map_io_tiff_handler.hh.

static bool ProvidesExport ( )
inlinestatic

Definition at line 104 of file map_io_tiff_handler.hh.

static bool ProvidesImport ( )
inlinestatic

Definition at line 103 of file map_io_tiff_handler.hh.

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 files: