ome-files  0.5.0
Public Member Functions | Public Attributes | List of all members
ome::files::tiff::TIFF::Impl Class Reference

Internal implementation details of TIFF. More...

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

Public Member Functions

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

Public Attributes

::TIFFtiff
 The libtiff file handle.
 
std::vector< offset_typeoffsets
 Directory offsets.
 

Detailed Description

Internal implementation details of TIFF.

Constructor & Destructor Documentation

◆ Impl()

ome::files::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::files::tiff::Sentry::error().

◆ ~Impl()

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

The destructor.

The open TIFF will be closed if open.

Todo:
Log the error elsewhere.

Member Function Documentation

◆ close()

SKIP void ome::files::tiff::TIFF::Impl::close ( )
inline

Close the libtiff file handle.

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

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


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