|
DUDS
|
Distributed Update of Data from Something
|
An input iterator that will parse and supply image data from the stream. More...
#include <BppImageArchiveSequence.hpp>
Public Member Functions | |
| iterator (BppImageArchiveSequence *parent) | |
| Makes a new iterator, but does not prepare the BppImageArchiveSequence object to use the iterator, and results in an iterator that is invalid. More... | |
| constexpr | iterator () |
| Equivalent to the end iterator. More... | |
| const BppImageSptr & | image () const |
| Returns the image. More... | |
| const std::string & | name () const |
| Returns the name of the image. More... | |
| bool | operator!= (const iterator &i) const |
| Inequality operator. More... | |
| const std::pair< std::string, BppImageSptr > & | operator* () const |
| Provides a std::pair with the name of the image and the image itself. More... | |
| iterator & | operator++ () |
| Pre-increment operator; parses the next image. More... | |
| iterator | operator++ (int) |
| Post-increment operator; involves making a copy of this iterator. More... | |
| const std::pair< std::string, BppImageSptr > * | operator-> () const |
| Provides a pointer to a std::pair with the name of the image and the image itself. More... | |
| bool | operator== (const iterator &i) const |
| Equality operator. More... | |
Private Attributes | |
| BppImageArchiveSequence * | bias |
| The object containing the data required for this iterator to work. More... | |
An input iterator that will parse and supply image data from the stream.
When incremented, any copies of the iterator must be considered invalid. The default constructed iterator is always equivalent to the end iterator, and is a constexpr object.
Definition at line 54 of file BppImageArchiveSequence.hpp.
|
inline |
Makes a new iterator, but does not prepare the BppImageArchiveSequence object to use the iterator, and results in an iterator that is invalid.
BppImageArchiveSequence::begin() implements the remaining steps to make the iterator valid.
Definition at line 66 of file BppImageArchiveSequence.hpp.
|
inline |
Equivalent to the end iterator.
Definition at line 70 of file BppImageArchiveSequence.hpp.
Referenced by duds::ui::graphics::BppImageArchiveSequence::end().
|
inline |
Returns the image.
Definition at line 121 of file BppImageArchiveSequence.hpp.
|
inline |
Returns the name of the image.
Definition at line 115 of file BppImageArchiveSequence.hpp.
|
inline |
Inequality operator.
Definition at line 80 of file BppImageArchiveSequence.hpp.
|
inline |
Provides a std::pair with the name of the image and the image itself.
Definition at line 102 of file BppImageArchiveSequence.hpp.
| BppImageArchiveSequence::iterator & duds::ui::graphics::BppImageArchiveSequence::iterator::operator++ | ( | ) |
Pre-increment operator; parses the next image.
| ImageArchivePastEndError | The incremented iterator is the end iterator. |
| ImageArchiveStreamTruncatedError | The next image has incomplete data. |
Definition at line 22 of file BppImageArchiveSequence.cpp.
Referenced by operator!=(), and operator++().
|
inline |
Post-increment operator; involves making a copy of this iterator.
Definition at line 94 of file BppImageArchiveSequence.hpp.
|
inline |
Provides a pointer to a std::pair with the name of the image and the image itself.
Definition at line 109 of file BppImageArchiveSequence.hpp.
|
inline |
Equality operator.
Definition at line 74 of file BppImageArchiveSequence.hpp.
|
private |
The object containing the data required for this iterator to work.
Definition at line 58 of file BppImageArchiveSequence.hpp.
Referenced by operator!=(), and operator==().