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 | |
| 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.
| uint16_t OpenRaw::Internals::IFDEntry::count | ( | ) | const [inline] |
the count of items in the entry
Definition at line 135 of file ifdentry.h.
| void OpenRaw::Internals::IFDEntry::getArray | ( | std::vector< T > & | array | ) | [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().
| off_t OpenRaw::Internals::IFDEntry::offset | ( | ) | [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.
1.6.2