libopenraw
OpenRaw::Internals::CIFFContainer Class Reference

#include <ciffcontainer.hpp>

Inheritance diagram for OpenRaw::Internals::CIFFContainer:
OpenRaw::Internals::RawContainer

Public Member Functions

 CIFFContainer (const IO::Stream::Ptr &file)
 CIFFContainer (const CIFFContainer &)=delete
CIFFContaineroperator= (const CIFFContainer &)=delete
CIFF::Heap::Ref heap ()
const CIFF::HeapFileHeaderheader () const
CIFF::Heap::Ref getImageProps ()
const CIFF::RecordEntrygetRawDataRecord () const
const CIFF::ImageSpecgetImageSpec ()
const CIFF::Heap::Ref getCameraProps ()
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

Friends

class CIFF::HeapFileHeader

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

CIFF container as described by the CIFF documentation

Definition at line 239 of file ciffcontainer.hpp.

Constructor & Destructor Documentation

◆ CIFFContainer()

OpenRaw::Internals::CIFFContainer::CIFFContainer ( const IO::Stream::Ptr & file)

Definition at line 227 of file ciffcontainer.cpp.

◆ ~CIFFContainer()

OpenRaw::Internals::CIFFContainer::~CIFFContainer ( )
virtual

Definition at line 236 of file ciffcontainer.cpp.

Member Function Documentation

◆ getCameraProps()

const CIFF::Heap::Ref OpenRaw::Internals::CIFFContainer::getCameraProps ( )

Definition at line 330 of file ciffcontainer.cpp.

◆ getImageProps()

CIFF::Heap::Ref OpenRaw::Internals::CIFFContainer::getImageProps ( )

Definition at line 282 of file ciffcontainer.cpp.

◆ getImageSpec()

const CIFF::ImageSpec * OpenRaw::Internals::CIFFContainer::getImageSpec ( )

Definition at line 307 of file ciffcontainer.cpp.

◆ getRawDataRecord()

const CIFF::RecordEntry * OpenRaw::Internals::CIFFContainer::getRawDataRecord ( ) const

Definition at line 353 of file ciffcontainer.cpp.

◆ header()

const CIFF::HeapFileHeader & OpenRaw::Internals::CIFFContainer::header ( ) const
inline

Definition at line 251 of file ciffcontainer.hpp.

◆ heap()

CIFF::Heap::Ref OpenRaw::Internals::CIFFContainer::heap ( )

Definition at line 240 of file ciffcontainer.cpp.

◆ CIFF::HeapFileHeader

friend class CIFF::HeapFileHeader
friend

Definition at line 263 of file ciffcontainer.hpp.


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