Exiv2

Exiv2::Internal::TiffDataEntryBase Class Reference

Interface for a standard TIFF IFD entry consisting of a value which is a set of offsets to a data area. The sizes of these "strips" are provided in a related TiffSizeEntry, tag and group of which are set in the constructor. The implementations of this interface differ in whether the data areas are extracted to the higher level metadata (TiffDataEntry) or not (TiffImageEntry). More...

#include <tiffcomposite_int.hpp>

Inheritance diagram for Exiv2::Internal::TiffDataEntryBase:
Collaboration diagram for Exiv2::Internal::TiffDataEntryBase:

List of all members.

Public Member Functions

Creators
 TiffDataEntryBase (uint16_t tag, uint16_t group, uint16_t szTag, uint16_t szGroup)
 Constructor.
virtual ~TiffDataEntryBase ()
 Virtual destructor.
Manipulators
virtual void setStrips (const Value *pSize, const byte *pData, uint32_t sizeData, uint32_t baseOffset)=0
 Set the data areas ("strips").
Accessors
uint16_t szTag () const
 Return the group of the entry which has the size.
uint16_t szGroup () const
 Return the group of the entry which has the size.

Detailed Description

Interface for a standard TIFF IFD entry consisting of a value which is a set of offsets to a data area. The sizes of these "strips" are provided in a related TiffSizeEntry, tag and group of which are set in the constructor. The implementations of this interface differ in whether the data areas are extracted to the higher level metadata (TiffDataEntry) or not (TiffImageEntry).


Member Function Documentation

virtual void Exiv2::Internal::TiffDataEntryBase::setStrips ( const Value pSize,
const byte pData,
uint32_t  sizeData,
uint32_t  baseOffset 
) [pure virtual]

Set the data areas ("strips").

Parameters:
pSizePointer to the Value holding the sizes corresponding to this data entry.
pDataPointer to the data area.
sizeDataSize of the data area.
baseOffsetBase offset into the data area.

Implemented in Exiv2::Internal::TiffDataEntry, and Exiv2::Internal::TiffImageEntry.

Referenced by Exiv2::Internal::TiffReader::visitSizeEntry().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines