libopenraw
|
Public Types | |
typedef std::vector< RecordEntry > | List |
Public Member Functions | |
bool | readFrom (CIFFContainer *container) |
size_t | fetchData (Heap *heap, void *buf, size_t size) const |
bool | isA (uint16_t _typeCode) const |
Public Attributes | |
uint16_t | typeCode |
uint32_t | length |
uint32_t | offset |
Definition at line 149 of file ciffcontainer.hpp.
size_t OpenRaw::Internals::CIFF::RecordEntry::fetchData | ( | Heap * | heap, |
void * | buf, | ||
size_t | size | ||
) | const |
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 125 of file ciffcontainer.cpp.
References OpenRaw::Internals::RawContainer::fetchData(), and OpenRaw::Internals::CIFF::Heap::offset().
Referenced by OpenRaw::Internals::CRWFile::_getRawData().
|
inline |
determine if entry match type code
_typeCode | the code to check |
Definition at line 172 of file ciffcontainer.hpp.
Referenced by OpenRaw::Internals::CRWFile::_enumThumbnailSizes(), and OpenRaw::Internals::CRWFile::_getRawData().
bool OpenRaw::Internals::CIFF::RecordEntry::readFrom | ( | CIFFContainer * | container | ) |
load record from container
container | the container |
Definition at line 104 of file ciffcontainer.cpp.
References OpenRaw::Internals::RawContainer::readUInt16(), and OpenRaw::Internals::RawContainer::readUInt32().