CImageFileDirectory Class Reference

A tiff ImageFileDirectory (or IFD) address. More...

#include <ImageFileDirectory.h>

List of all members.

Public Member Functions

 CImageFileDirectory (class CTiffFile &i_tiff, CImageFileDirectory *i_previous=NULL)
 Read an IFD from a file.
bool End () const
 Check if this IFD represents the end of the directories chain.
uint32 ReferenceNext (CImageFileDirectory *i_next)
 Get the address of the reference to next IFD.
CImageFileDirectoryPrevious ()
 Retrieve previous IFD (or null if it is the first).
bool InsertAfterMe (CTiffFile &i_tiff, CImageFileDirectory *i_nextOne)
 Insert the IFD given in parameter after this IFD not breaking IFD chain.

Protected Member Functions

bool SetNext (CTiffFile &i_tiff, CImageFileDirectory *i_next)
 Set a new Next IFD for this IFD(modify file).


Detailed Description

A tiff ImageFileDirectory (or IFD) address.

A multipage Tiff is a TIFF file with several IFD, each represent a page. They are referenced as a chain. You can find the address of the first one in the Tiff header and find in each IFD the address of next IFD.


Constructor & Destructor Documentation

CImageFileDirectory::CImageFileDirectory ( class CTiffFile i_tiff,
CImageFileDirectory i_previous = NULL 
)

Read an IFD from a file.

Parameters:
i_tiff the file to read
i_previous the previous IFD or NULL to read first IFD of file


Member Function Documentation

uint32 CImageFileDirectory::ReferenceNext ( CImageFileDirectory i_next  ) 

Get the address of the reference to next IFD.

and set the caller as Next one.


The documentation for this class was generated from the following files:
Generated on Fri Nov 23 14:35:54 2007 for TiffRectoVerso by  doxygen 1.5.4