libopenraw
OpenRaw::Internals::RafContainer Class Reference
Inheritance diagram for OpenRaw::Internals::RafContainer:
OpenRaw::Internals::RawContainer

Public Member Functions

 RafContainer (const IO::Stream::Ptr &_file)
virtual ~RafContainer ()
const std::string & getModel ()
JfifContainergetJpegPreview ()
IfdFileContainergetCfaContainer ()
RafMetaContainergetMetaContainer ()
uint32_t getJpegOffset () const
uint32_t getJpegLength () const
uint32_t getCfaOffset () const
uint32_t getCfaLength () const
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 skip (off_t offset)
Option< int8_t > readInt8 (const IO::Stream::Ptr &f)
Option< uint8_t > readUInt8 (const IO::Stream::Ptr &f)
Option< int16_t > readInt16 (const IO::Stream::Ptr &f)
Option< int32_t > readInt32 (const IO::Stream::Ptr &f)
Option< uint16_t > readUInt16 (const IO::Stream::Ptr &f)
size_t readUInt16Array (const IO::Stream::Ptr &f, std::vector< uint16_t > &v, size_t count)
Option< uint32_t > readUInt32 (const IO::Stream::Ptr &f)
size_t fetchData (void *buf, off_t offset, size_t buf_size)
off_t size () const

Additional Inherited Members

Public Types inherited from OpenRaw::Internals::RawContainer
enum  EndianType { ENDIAN_NULL = 0 , ENDIAN_BIG , ENDIAN_LITTLE }
Protected Member Functions inherited from OpenRaw::Internals::RawContainer
 RawContainer (const RawContainer &)=delete
RawContaineroperator= (const RawContainer &)=delete
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 50 of file rafcontainer.hpp.

Constructor & Destructor Documentation

◆ RafContainer()

OpenRaw::Internals::RafContainer::RafContainer ( const IO::Stream::Ptr & _file)

Definition at line 37 of file rafcontainer.cpp.

◆ ~RafContainer()

OpenRaw::Internals::RafContainer::~RafContainer ( )
virtual

destructor

Definition at line 48 of file rafcontainer.cpp.

References ~RafContainer().

Referenced by ~RafContainer().

Member Function Documentation

◆ getCfaContainer()

IfdFileContainer * OpenRaw::Internals::RafContainer::getCfaContainer ( )

Definition at line 63 of file rafcontainer.cpp.

◆ getCfaLength()

uint32_t OpenRaw::Internals::RafContainer::getCfaLength ( ) const
inline

Definition at line 74 of file rafcontainer.hpp.

◆ getCfaOffset()

uint32_t OpenRaw::Internals::RafContainer::getCfaOffset ( ) const
inline

Definition at line 70 of file rafcontainer.hpp.

◆ getJpegLength()

uint32_t OpenRaw::Internals::RafContainer::getJpegLength ( ) const
inline

Definition at line 66 of file rafcontainer.hpp.

◆ getJpegOffset()

uint32_t OpenRaw::Internals::RafContainer::getJpegOffset ( ) const
inline

Definition at line 62 of file rafcontainer.hpp.

◆ getJpegPreview()

JfifContainer * OpenRaw::Internals::RafContainer::getJpegPreview ( )

Definition at line 78 of file rafcontainer.cpp.

◆ getMetaContainer()

RafMetaContainer * OpenRaw::Internals::RafContainer::getMetaContainer ( )

Definition at line 93 of file rafcontainer.cpp.

◆ getModel()

const std::string & OpenRaw::Internals::RafContainer::getModel ( )

Definition at line 55 of file rafcontainer.cpp.


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