libopenraw
OpenRaw::Internals::CIFF::Heap Class Reference

#include <ciffcontainer.hpp>

Public Types

typedef std::shared_ptr< HeapRef

Public Member Functions

 Heap (off_t start, off_t length, CIFFContainer *container)
 Heap (const Heap &)=delete
Heapoperator= (const Heap &)=delete
RecordEntry::List & records ()
CIFFContainercontainer ()
off_t offset ()

Detailed Description

a CIFF Heap

Definition at line 184 of file ciffcontainer.hpp.

Member Typedef Documentation

◆ Ref

typedef std::shared_ptr<Heap> OpenRaw::Internals::CIFF::Heap::Ref

Definition at line 187 of file ciffcontainer.hpp.

Constructor & Destructor Documentation

◆ Heap()

OpenRaw::Internals::CIFF::Heap::Heap ( off_t start,
off_t length,
CIFFContainer * container )

Construct a heap from a location in the container

Parameters
startthe begin address relative to the container.
lengththe length in bytes
containerthe container to read from

Definition at line 132 of file ciffcontainer.cpp.

Member Function Documentation

◆ container()

CIFFContainer * OpenRaw::Internals::CIFF::Heap::container ( )
inline

Definition at line 200 of file ciffcontainer.hpp.

◆ offset()

off_t OpenRaw::Internals::CIFF::Heap::offset ( )
inline

Eeturn the offset from the begining of the container.

Definition at line 205 of file ciffcontainer.hpp.

Referenced by OpenRaw::Internals::CRWFile::_getRawData(), and OpenRaw::Internals::CIFF::RecordEntry::fetchData().

◆ records()

std::vector< RecordEntry > & OpenRaw::Internals::CIFF::Heap::records ( )

Definition at line 141 of file ciffcontainer.cpp.


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