bioformats  5.1.2
Public Member Functions | Public Attributes | Private Member Functions | List of all members
ome::bioformats::tiff::TIFF::Impl Class Reference

Internal implementation details of TIFF. More...

+ Collaboration diagram for ome::bioformats::tiff::TIFF::Impl:

Public Member Functions

 Impl (const boost::filesystem::path &filename, const std::string &mode)
 The constructor. More...
 
 ~Impl ()
 The destructor. More...
 
void close ()
 Close the libtiff file handle. More...
 

Public Attributes

::TIFFtiff
 The libtiff file handle.
 
directory_index_type directoryCount
 The number of IFDs.
 

Private Member Functions

 Impl (const Impl &)
 Copy constructor (deleted).
 
Imploperator= (const Impl &)
 Assignment operator (deleted).
 

Detailed Description

Internal implementation details of TIFF.

Constructor & Destructor Documentation

ome::bioformats::tiff::TIFF::Impl::Impl ( const boost::filesystem::path &  filename,
const std::string &  mode 
)
inline

The constructor.

Opens the TIFF using TIFFOpen().

Parameters
filenamethe filename to open.
modethe file open mode.

References ome::bioformats::tiff::Sentry::error().

ome::bioformats::tiff::TIFF::Impl::~Impl ( )
inline

The destructor.

The open TIFF will be closed if open.

Todo:
Log the error elsewhere.

References close().

Member Function Documentation

void ome::bioformats::tiff::TIFF::Impl::close ( )
inline

Close the libtiff file handle.

If open, the file handle will be closed with TIFFClose.

References ome::bioformats::tiff::Sentry::error(), and ome::bioformats::tiff::Sentry::getMessage().

Referenced by ~Impl().

+ Here is the caller graph for this function:


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