libopenraw
|
Public Member Functions | |
Rw2Container (const IO::Stream::Ptr &file, off_t offset) | |
virtual | ~Rw2Container () |
Rw2Container (const Rw2Container &)=delete | |
Rw2Container & | operator= (const Rw2Container &)=delete |
virtual IfdFileContainer::EndianType | isMagicHeader (const char *p, int len) override |
![]() | |
IfdFileContainer (const IO::Stream::Ptr &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) |
::or_error | locateImageData (const IfdDir::Ref &dir, uint32_t &x, uint32_t &y, ::or_data_type &t) |
![]() | |
RawContainer (const IO::Stream::Ptr &_file, off_t offset) | |
virtual | ~RawContainer () |
const IO::Stream::Ptr & | file () |
EndianType | endian () const |
off_t | offset () const |
bool | readInt8 (const IO::Stream::Ptr &f, int8_t &v) |
bool | readUInt8 (const IO::Stream::Ptr &f, uint8_t &v) |
bool | readInt16 (const IO::Stream::Ptr &f, int16_t &v) |
bool | readInt32 (const IO::Stream::Ptr &f, int32_t &v) |
bool | readUInt16 (const IO::Stream::Ptr &f, uint16_t &v) |
bool | readUInt32 (const IO::Stream::Ptr &f, uint32_t &v) |
size_t | fetchData (void *buf, off_t offset, size_t buf_size) |
Additional Inherited Members | |
![]() | |
enum | { IFD_NONE = -1, IFD_EXIF = -2, IFD_GPS = -3, IFD_INTEROP = -4 } |
![]() | |
enum | EndianType { ENDIAN_NULL = 0, ENDIAN_BIG, ENDIAN_LITTLE } |
![]() | |
virtual bool | locateDirsPreHook () |
![]() | |
RawContainer (const RawContainer &) | |
RawContainer & | operator= (const RawContainer &) |
void | setEndian (EndianType _endian) |
![]() | |
IO::Stream::Ptr | m_file |
off_t | m_offset |
EndianType | m_endian |
Definition at line 36 of file rw2container.hpp.
|
virtual |
destructor
Definition at line 37 of file rw2container.cpp.
|
overridevirtual |
Check the ORF magic header.
Reimplemented from OpenRaw::Internals::IfdFileContainer.
Definition at line 41 of file rw2container.cpp.