libopenraw
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
OpenRaw::Internals::MRWContainer Class Reference

#include <mrwcontainer.h>

Inheritance diagram for OpenRaw::Internals::MRWContainer:
OpenRaw::Internals::IFDFileContainer OpenRaw::Internals::RawContainer

Public Member Functions

 MRWContainer (IO::Stream *file, off_t offset=0)
 
virtual ~MRWContainer ()
 
virtual
IFDFileContainer::EndianType 
isMagicHeader (const char *p, int len)
 
off_t pixelDataOffset ()
 
- Public Member Functions inherited from OpenRaw::Internals::IFDFileContainer
 IFDFileContainer (IO::Stream *file, off_t offset)
 
virtual ~IFDFileContainer ()
 
IFDDir::Ref setDirectory (int dir)
 
int countDirectories (void)
 
std::vector< IFDDir::Ref > & directories ()
 
int currentDirectory ()
 
size_t getDirectoryDataSize ()
 
int lastError () const
 
int exifOffsetCorrection () const
 
void setExifOffsetCorrection (int corr)
 
- Public Member Functions inherited from OpenRaw::Internals::RawContainer
 RawContainer (IO::Stream *_file, off_t offset)
 
virtual ~RawContainer ()
 
IO::Streamfile ()
 
EndianType endian () const
 
bool readInt8 (IO::Stream *f, int8_t &v)
 
bool readUInt8 (IO::Stream *f, uint8_t &v)
 
bool readInt16 (IO::Stream *f, int16_t &v)
 
bool readInt32 (IO::Stream *f, int32_t &v)
 
bool readUInt16 (IO::Stream *f, uint16_t &v)
 
bool readUInt32 (IO::Stream *f, uint32_t &v)
 
size_t fetchData (void *buf, const off_t offset, const size_t buf_size)
 

Public Attributes

MRW::DataBlock::Ref mrm
 
MRW::DataBlock::Ref prd
 
MRW::DataBlock::Ref ttw
 
MRW::DataBlock::Ref wbg
 
MRW::DataBlock::Ref rif
 

Protected Member Functions

virtual bool locateDirsPreHook ()
 

Additional Inherited Members

- Public Types inherited from OpenRaw::Internals::IFDFileContainer
enum  { IFD_NONE = -1, IFD_EXIF = -2, IFD_GPS = -3, IFD_INTEROP = -4 }
 
- Protected Attributes inherited from OpenRaw::Internals::RawContainer
IO::Streamm_file
 
off_t m_offset
 
EndianType m_endian
 

Detailed Description

A container for a Minolta Raw object.

Definition at line 221 of file mrwcontainer.h.

Constructor & Destructor Documentation

OpenRaw::Internals::MRWContainer::~MRWContainer ( )
virtual

destructor

Definition at line 108 of file mrwcontainer.cpp.

Member Function Documentation

IFDFileContainer::EndianType OpenRaw::Internals::MRWContainer::isMagicHeader ( const char *  p,
int  len 
)
virtual

Check the MRW magic header.

Reimplemented from OpenRaw::Internals::IFDFileContainer.

Definition at line 114 of file mrwcontainer.cpp.

bool OpenRaw::Internals::MRWContainer::locateDirsPreHook ( )
protectedvirtual

hook to be called at the start of _locateDirs()

Reimplemented from OpenRaw::Internals::IFDFileContainer.

Definition at line 134 of file mrwcontainer.cpp.

off_t OpenRaw::Internals::MRWContainer::pixelDataOffset ( )
inline

Return offset of pixel array data from start of file.

Definition at line 245 of file mrwcontainer.h.

Referenced by OpenRaw::Internals::MRWFile::_getRawData().


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