Exiv2::Internal::OrfHeader Class Reference

Olympus ORF header structure. More...

#include <orfimage_int.hpp>

Inheritance diagram for Exiv2::Internal::OrfHeader:
[legend]
Collaboration diagram for Exiv2::Internal::OrfHeader:
[legend]

List of all members.

Public Member Functions

Creators

 OrfHeader ()
 Default constructor.
 ~OrfHeader ()
 Destructor.
Manipulators

bool read (const byte *pData, uint32_t size)
 Read the image header from a data buffer. Return false if the data buffer does not contain an image header of the expected format, else true.
Accessors

DataBuf write () const
 Return the image header in binary format. The caller owns this data and DataBuf ensures that it will be deleted.

Detailed Description

Olympus ORF header structure.


Member Function Documentation

bool Exiv2::Internal::OrfHeader::read ( const byte pData,
uint32_t  size 
) [virtual]

Read the image header from a data buffer. Return false if the data buffer does not contain an image header of the expected format, else true.

Parameters:
pData Pointer to the data buffer.
size Number of bytes in the data buffer.
Returns:
True if the TIFF header was read successfully. False if the data buffer does not contain a valid TIFF header.

Reimplemented from Exiv2::Internal::TiffHeaderBase.

References Exiv2::Internal::TiffHeaderBase::byteOrder(), Exiv2::getULong(), Exiv2::getUShort(), Exiv2::Internal::TiffHeaderBase::offset(), Exiv2::Internal::TiffHeaderBase::setByteOrder(), Exiv2::Internal::TiffHeaderBase::setOffset(), and Exiv2::Internal::TiffHeaderBase::tag().

DataBuf Exiv2::Internal::OrfHeader::write (  )  const [virtual]

Return the image header in binary format. The caller owns this data and DataBuf ensures that it will be deleted.

Returns:
Binary header data.

Reimplemented from Exiv2::Internal::TiffHeaderBase.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jul 5 13:23:09 2010 for Exiv2 by  doxygen 1.6.3