Dune::Copasi
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
Dune::Copasi::TIFFFile Struct Reference

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
 
TIFFFileoperator= (const TIFFFile &)=delete
 
TIFFFileoperator= (TIFFFile &&)=delete
 
 ~TIFFFile ()
 Destructor, closes the file.
 
void close ()
 Closes the file.
 
voidmalloc_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 Infoinfo () const
 

Static Public Member Functions

static void free (void *ptr)
 Deallocates tiff type pointers.
 

Detailed Description

Simple tiff file interface.

Constructor & Destructor Documentation

◆ TIFFFile() [1/3]

Dune::Copasi::TIFFFile::TIFFFile ( const std::filesystem::path & filename)
explicit

opens a tiff file from the file system

◆ TIFFFile() [2/3]

Dune::Copasi::TIFFFile::TIFFFile ( const TIFFFile & )
delete

◆ TIFFFile() [3/3]

Dune::Copasi::TIFFFile::TIFFFile ( TIFFFile && )
delete

◆ ~TIFFFile()

Dune::Copasi::TIFFFile::~TIFFFile ( )

Destructor, closes the file.

Member Function Documentation

◆ close()

void Dune::Copasi::TIFFFile::close ( )

Closes the file.

◆ free()

static void Dune::Copasi::TIFFFile::free ( void * ptr)
static

Deallocates tiff type pointers.

◆ info()

const Info & Dune::Copasi::TIFFFile::info ( ) const
inline

◆ malloc_scanline()

void * Dune::Copasi::TIFFFile::malloc_scanline ( ) const

Allocates buffer to scan lines of the file.

◆ operator=() [1/2]

TIFFFile & Dune::Copasi::TIFFFile::operator= ( const TIFFFile & )
delete

◆ operator=() [2/2]

TIFFFile & Dune::Copasi::TIFFFile::operator= ( TIFFFile && )
delete

◆ read_scanline()

void Dune::Copasi::TIFFFile::read_scanline ( void * ptr,
std::size_t row ) const

Reads one line on the buffer for a given row.


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