libopenraw
Public Types | Public Member Functions | List of all members
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.

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.

References OpenRaw::Internals::RawContainer::ENDIAN_BIG, OpenRaw::Internals::RawContainer::ENDIAN_LITTLE, OpenRaw::Internals::RawContainer::readInt16(), OpenRaw::Internals::RawContainer::readInt32(), and OpenRaw::Internals::RawContainer::readUInt32().

Member Function Documentation

◆ 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::CIFF::RecordEntry::fetchData().


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