Public Types | |
| typedef std::vector< RecordEntry > | List |
Public Member Functions | |
| RecordEntry () | |
| bool | readFrom (CIFFContainer *container) |
| size_t | fetchData (Heap *heap, void *buf, size_t size) |
Public Attributes | |
| uint16_t | typeCode |
| uint32_t | length |
| uint32_t | offset |
Definition at line 110 of file ciffcontainer.h.
| bool OpenRaw::Internals::CIFF::RecordEntry::readFrom | ( | CIFFContainer * | container | ) |
load record from container
| container | the container |
Definition at line 44 of file ciffcontainer.cpp.
References OpenRaw::Internals::RawContainer::file(), length, offset, OpenRaw::Internals::RawContainer::readUInt16(), OpenRaw::Internals::RawContainer::readUInt32(), and typeCode.
| size_t OpenRaw::Internals::CIFF::RecordEntry::fetchData | ( | Heap * | heap, | |
| void * | buf, | |||
| size_t | size | |||
| ) |
fetch data define by the record from the heap
| heap | the heap to load from | |
| buf | the allocated buffer to load into | |
| size | the size of the allocated buffer |
Definition at line 54 of file ciffcontainer.cpp.
References OpenRaw::Internals::CIFF::Heap::container(), OpenRaw::Internals::RawContainer::fetchData(), OpenRaw::Internals::CIFF::Heap::offset(), and offset.
1.5.1