libopenraw
|
Public Types | |
typedef boost::shared_ptr < IFDEntry > | Ref |
Public Member Functions | |
IFDEntry (uint16_t _id, int16_t _type, int32_t _count, uint32_t _data, IFDFileContainer &_container) | |
int16_t | type () const |
uint16_t | count () const |
off_t | offset () |
RawContainer::EndianType | endian () const |
bool | loadData (size_t unit_size) |
template<typename T > | |
void | getArray (std::vector< T > &array) |
Friends | |
template<typename T > | |
struct | IFDTypeTrait |
Definition at line 118 of file ifdentry.h.
typedef boost::shared_ptr<IFDEntry> OpenRaw::Internals::IFDEntry::Ref |
Ref (ie shared pointer)
Definition at line 122 of file ifdentry.h.
|
inline |
the count of items in the entry
Definition at line 135 of file ifdentry.h.
|
inline |
get the array values of type T
T | the type of the value needed |
array | the storage |
whatever | is thrown |
Definition at line 168 of file ifdentry.h.
bool OpenRaw::Internals::IFDEntry::loadData | ( | size_t | unit_size | ) |
load the data for the entry if all the data fits in m_data, it is a noop
unit_size | the size of 1 unit of data |
Definition at line 60 of file ifdentry.cpp.
References OpenRaw::Internals::RawContainer::ENDIAN_LITTLE, and OpenRaw::Internals::RawContainer::fetchData().
|
inline |
the offset of the data. It can just be the value if the entry is self contained.
Definition at line 143 of file ifdentry.h.
References OpenRaw::Internals::RawContainer::ENDIAN_LITTLE.