WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WXP::TiffFile Class Reference

This class reads and writes GIF files. More...

#include "../include/TiffFile.h"

Public Member Functions

 TiffFile ()
 
 ~TiffFile ()
 
int init ()
 
 TiffFile (const char *filename, int access)
 
int open (const char *filename, int access)
 
bool isOpen ()
 
int close ()
 
int read (Image &image)
 
int write (Image &image)
 

Detailed Description

This class reads and writes GIF files.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ TiffFile() [1/2]

TiffFile::TiffFile ( )

Constructor. Initializes class values

References init().

◆ ~TiffFile()

TiffFile::~TiffFile ( )

Destuctor.

References close().

◆ TiffFile() [2/2]

TiffFile::TiffFile ( const char *  filename,
int  raccess 
)

Constructor. Opens the GIF file

Parameters
filenameThe file to open
raccessThe access (FileAttr::READ, FileAttr::WRITE)

References init(), and open().

Member Function Documentation

◆ close()

int TiffFile::close ( )

Closes the GIF file

References WXP::File::close().

Referenced by WXP::ImageFile::close(), and ~TiffFile().

◆ init()

int TiffFile::init ( )

Initializes the class values

Referenced by TiffFile(), and TiffFile().

◆ isOpen()

bool TiffFile::isOpen ( )

Returns if file is open or not

Returns
True if opened

Referenced by WXP::ImageFile::open().

◆ open()

int TiffFile::open ( const char *  filename,
int  raccess 
)

Opens the GIF file

Parameters
filenameThe file to open
raccessThe access (FileAttr::READ, FileAttr::WRITE)

References WXP::File::isOpen(), WXP::File::open(), WXP::FileAttr::READ, and WXP::FileAttr::WRITE.

Referenced by WXP::ImageFile::open(), WXP::SatFile::open(), and TiffFile().

◆ read()

int TiffFile::read ( Image image)

◆ write()

int TiffFile::write ( Image image)

Writes an Image to a TIFF file

Parameters
imageImage to write to file

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