rasdaman API
Public Member Functions | Static Public Member Functions | List of all members
r_Conv_TIFF Class Reference

#include <tiff.hh>

Inheritance diagram for r_Conv_TIFF:

Public Member Functions

 r_Conv_TIFF (const char *src, const r_Minterval &interv, const r_Type *tp) throw (r_Error)
 constructor using an r_Type object More...
 
 r_Conv_TIFF (const char *src, const r_Minterval &interv, int type) throw (r_Error)
 constructor using convert_type_e shortcut More...
 
 ~r_Conv_TIFF (void)
 destructor More...
 
virtual r_convDesc & convertTo (const char *options=NULL) throw (r_Error)
 convert to TIFF More...
 
virtual r_convDesc & convertFrom (const char *options=NULL) throw (r_Error)
 convert from TIFF More...
 
virtual r_Convertor * clone (void) const
 cloning More...
 
virtual const char * get_name (void) const
 identification More...
 
virtual r_Data_Format get_data_format (void) const
 

Static Public Member Functions

static int get_compression_from_name (const char *strComp)
 translate string compression type to libtiff compression type More...
 
static int get_resunit_from_name (const char *strComp)
 translate string resolution unit type to libtiff resolution unit type More...
 

Detailed Description

INCLUDE: tiff.hh

MODULE: conversion

PURPOSE: Provides interface to convert data between TIFF and internal format. The convertFrom() and convertTo() methods accept a null-terminated option string of the following syntax: optionString ::= ( option )* option ::= "comptype=" string "quality=" int "bpp=" int "bps=" int "depth=" int

CLASSES: r_Conv_TIFF

COMMENTS:

Constructor & Destructor Documentation

r_Conv_TIFF::r_Conv_TIFF ( const char *  src,
const r_Minterval &  interv,
const r_Type tp 
)
throw (r_Error
)

constructor using an r_Type object

r_Conv_TIFF::r_Conv_TIFF ( const char *  src,
const r_Minterval &  interv,
int  type 
)
throw (r_Error
)

constructor using convert_type_e shortcut

r_Conv_TIFF::~r_Conv_TIFF ( void  )

destructor

Member Function Documentation

virtual r_Convertor* r_Conv_TIFF::clone ( void  ) const
virtual

cloning

virtual r_convDesc& r_Conv_TIFF::convertFrom ( const char *  options = NULL)
throw (r_Error
)
virtual

convert from TIFF

virtual r_convDesc& r_Conv_TIFF::convertTo ( const char *  options = NULL)
throw (r_Error
)
virtual

convert to TIFF

static int r_Conv_TIFF::get_compression_from_name ( const char *  strComp)
static

translate string compression type to libtiff compression type

virtual r_Data_Format r_Conv_TIFF::get_data_format ( void  ) const
virtual
virtual const char* r_Conv_TIFF::get_name ( void  ) const
virtual

identification

static int r_Conv_TIFF::get_resunit_from_name ( const char *  strComp)
static

translate string resolution unit type to libtiff resolution unit type


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