libopenraw
Public Member Functions | List of all members
OpenRaw::Internals::OrfContainer Class Reference
Inheritance diagram for OpenRaw::Internals::OrfContainer:
OpenRaw::Internals::IfdFileContainer OpenRaw::Internals::RawContainer

Public Member Functions

 OrfContainer (const IO::Stream::Ptr &file, off_t offset)
 
virtual ~OrfContainer ()
 
 OrfContainer (const OrfContainer &)=delete
 
OrfContaineroperator= (const OrfContainer &)=delete
 
virtual IfdFileContainer::EndianType isMagicHeader (const char *p, int len) override
 
- Public Member Functions inherited from OpenRaw::Internals::IfdFileContainer
 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)
 
- Public Member Functions inherited from OpenRaw::Internals::RawContainer
 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

- Public Types inherited from OpenRaw::Internals::IfdFileContainer
enum  { IFD_NONE = -1, IFD_EXIF = -2, IFD_GPS = -3, IFD_INTEROP = -4 }
 
- Public Types inherited from OpenRaw::Internals::RawContainer
enum  EndianType { ENDIAN_NULL = 0, ENDIAN_BIG, ENDIAN_LITTLE }
 
- Protected Member Functions inherited from OpenRaw::Internals::IfdFileContainer
virtual bool locateDirsPreHook ()
 
- Protected Member Functions inherited from OpenRaw::Internals::RawContainer
 RawContainer (const RawContainer &)
 
RawContaineroperator= (const RawContainer &)
 
void setEndian (EndianType _endian)
 
- Protected Attributes inherited from OpenRaw::Internals::RawContainer
IO::Stream::Ptr m_file
 
off_t m_offset
 
EndianType m_endian
 

Detailed Description

Definition at line 38 of file orfcontainer.hpp.

Constructor & Destructor Documentation

§ ~OrfContainer()

OpenRaw::Internals::OrfContainer::~OrfContainer ( )
virtual

destructor

Definition at line 37 of file orfcontainer.cpp.

Member Function Documentation

§ isMagicHeader()

IfdFileContainer::EndianType OpenRaw::Internals::OrfContainer::isMagicHeader ( const char *  p,
int  len 
)
overridevirtual

Check the ORF magic header.

Reimplemented from OpenRaw::Internals::IfdFileContainer.

Definition at line 41 of file orfcontainer.cpp.


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