|
Dune::Copasi
|
Simple tiff file interface. More...
#include <tiff_file.hh>
Classes | |
| struct | Info |
| Basic information about the tiff file. More... | |
Public Member Functions | |
| TIFFFile (const std::filesystem::path &filename) | |
| opens a tiff file from the file system | |
| TIFFFile (const TIFFFile &)=delete | |
| TIFFFile (TIFFFile &&)=delete | |
| TIFFFile & | operator= (const TIFFFile &)=delete |
| TIFFFile & | operator= (TIFFFile &&)=delete |
| ~TIFFFile () | |
| Destructor, closes the file. | |
| void | close () |
| Closes the file. | |
| void * | malloc_scanline () const |
| Allocates buffer to scan lines of the file. | |
| void | read_scanline (void *ptr, std::size_t row) const |
| Reads one line on the buffer for a given row. | |
| const Info & | info () const |
Static Public Member Functions | |
| static void | free (void *ptr) |
| Deallocates tiff type pointers. | |
Simple tiff file interface.
|
explicit |
opens a tiff file from the file system
|
delete |
| Dune::Copasi::TIFFFile::~TIFFFile | ( | ) |
Destructor, closes the file.
| void Dune::Copasi::TIFFFile::close | ( | ) |
Closes the file.
| void * Dune::Copasi::TIFFFile::malloc_scanline | ( | ) | const |
Allocates buffer to scan lines of the file.
Reads one line on the buffer for a given row.