bioformats
5.1.6
|
Iterator for IFDs contained within a TIFF. More...
#include <ome/bioformats/tiff/TIFF.h>
Public Member Functions | |
IFDIterator () | |
Default constructor. More... | |
IFDIterator (ome::compat::shared_ptr< IFD > &ifd) | |
Construct with an initial starting position. More... | |
template<class OtherValue > | |
IFDIterator (const IFDIterator< OtherValue > &rhs) | |
Construct from an existing iterator. More... | |
Private Member Functions | |
void | increment () |
Increment the iterator by one position. More... | |
bool | equal (IFDIterator const &rhs) const |
Check for equality. More... | |
ome::compat::shared_ptr< Value > & | dereference () const |
Dereference the iterator. More... | |
template<> | |
void | increment () |
Increment the iterator by one position. More... | |
template<> | |
void | increment () |
Increment the iterator by one position. More... | |
Private Attributes | |
ome::compat::shared_ptr< Value > | pos |
The current position. More... | |
Friends | |
class | boost::iterator_core_access |
template<class > | |
class | IFDIterator |
Iterator for IFDs contained within a TIFF.
|
inline |
Default constructor.
The position will be null.
|
inline |
Construct with an initial starting position.
The position will be the provided descriptor.
ifd | the descriptor to point to. |
|
inline |
Construct from an existing iterator.
rhs | the iterator to copy. |
|
inlineprivate |
Dereference the iterator.
References ome::bioformats::tiff::IFDIterator< Value >::pos.
|
inlineprivate |
Check for equality.
rhs | the iterator to compare. |
true
if equal, false
otherwise. References ome::bioformats::tiff::IFDIterator< Value >::pos.
|
private |
Increment the iterator by one position.
|
private |
Increment the iterator by one position.
|
private |
Increment the iterator by one position.
|
mutableprivate |
The current position.
It's mutable to allow const and non-const access to the underlying descriptor via const and non-const iterators.
Referenced by ome::bioformats::tiff::IFDIterator< Value >::dereference(), and ome::bioformats::tiff::IFDIterator< Value >::equal().