Exiv2
Exiv2::Internal::CiffDirectory Class Reference

This class models a CIFF directory of a CRW (Canon Raw data) image. More...

#include <crwimage_int.hpp>

+ Inheritance diagram for Exiv2::Internal::CiffDirectory:
+ Collaboration diagram for Exiv2::Internal::CiffDirectory:

List of all members.

Public Member Functions

Creators
 CiffDirectory ()
 Default constructor.
 CiffDirectory (uint16_t tag, uint16_t dir)
 Constructor taking a tag and directory.
virtual ~CiffDirectory ()
 Virtual destructor.

Manipulators

void readDirectory (const byte *pData, uint32_t size, ByteOrder byteOrder)
 Parse a CIFF directory from a memory buffer.

Detailed Description

This class models a CIFF directory of a CRW (Canon Raw data) image.


Member Function Documentation

void Exiv2::Internal::CiffDirectory::readDirectory ( const byte pData,
uint32_t  size,
ByteOrder  byteOrder 
)

Parse a CIFF directory from a memory buffer.

Parameters:
pDataPointer to the memory buffer containing the directory
sizeSize of the memory buffer
byteOrderApplicable byte order (little or big endian)

References Exiv2::Internal::CiffComponent::add(), Exiv2::directory, Exiv2::getULong(), Exiv2::getUShort(), Exiv2::Internal::CiffComponent::tag(), and Exiv2::Internal::CiffComponent::typeId().

Referenced by Exiv2::Internal::CiffHeader::read().


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