|
Om
|
A Source adapter for a start and end input iterator pair. More...
#include "iterator_pair_source.hpp"
Inheritance diagram for Om::Source::IteratorPairSource< ThisItem, ThisIterator >:
Collaboration diagram for Om::Source::IteratorPairSource< ThisItem, ThisIterator >:Public Member Functions | |
| IteratorPairSource (ThisIterator theCurrent, ThisIterator const theEnd) | |
| IteratorPairSource & | operator= (IteratorPairSource) |
| virtual ThisItem & | operator* () const |
| bool | Equals (IteratorPairSource const &) const |
| void | End () |
| virtual bool | operator! () const |
| virtual void | Pop () |
| Pops the current item. More... | |
| void | Swap (IteratorPairSource &) |
Public Member Functions inherited from Om::Source::DefaultSource< ThisItem, IteratorPairSource< ThisItem, ThisIterator > > | |
| virtual | ~DefaultSource ()=0 |
| IteratorPairSource< ThisItem, ThisIterator > & | operator++ () |
| Pulls the next item from the Source. More... | |
| IteratorPairSource< ThisItem, ThisIterator > | operator++ (int) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| virtual bool | Equals (Source< ThisItem > const &) const |
| bool | Equals (IteratorPairSource< ThisItem, ThisIterator > const &) const |
Public Member Functions inherited from Om::Source::Source< ThisItem > | |
| virtual | ~Source ()=0 |
| ThisItem * | operator-> () const |
| operator Boolean () const | |
| Implements the Safe Boolean idiom. More... | |
Private Attributes | |
| ThisIterator | thisCurrent |
| The current input iterator. More... | |
| ThisIterator | thisEnd |
| The end input iterator. More... | |
Additional Inherited Members | |
Public Types inherited from Om::Source::Source< ThisItem > | |
| typedef void(Source::* | Boolean) () const |
| The implementation of the Safe Boolean idiom. More... | |
Definition at line 36 of file iterator_pair_source.hpp.
| Om::Source::IteratorPairSource< ThisItem, ThisIterator >::IteratorPairSource | ( | ThisIterator | theCurrent, |
| ThisIterator const | theEnd | ||
| ) |
| theCurrent | The current input iterator. |
| theEnd | The end input iterator. |
| IteratorPairSource& Om::Source::IteratorPairSource< ThisItem, ThisIterator >::operator= | ( | IteratorPairSource< ThisItem, ThisIterator > | ) |
|
virtual |
Implements Om::Source::Source< ThisItem >.
| bool Om::Source::IteratorPairSource< ThisItem, ThisIterator >::Equals | ( | IteratorPairSource< ThisItem, ThisIterator > const & | ) | const |
| void Om::Source::IteratorPairSource< ThisItem, ThisIterator >::End | ( | ) |
|
virtual |
Implements Om::Source::Source< ThisItem >.
|
virtual |
Implements Om::Source::Source< ThisItem >.
| void Om::Source::IteratorPairSource< ThisItem, ThisIterator >::Swap | ( | IteratorPairSource< ThisItem, ThisIterator > & | ) |
|
private |
Definition at line 86 of file iterator_pair_source.hpp.
|
private |
Definition at line 92 of file iterator_pair_source.hpp.