#import <ObjectiveLib/Iterator.h>
Inheritance diagram for OLReverseBidiIterator:

Public Member Functions | |
| (id) | - advance |
| Advance the iterator. | |
| (id) | - assign: |
| Assign an object to the position in the controlled sequence to which this iterator refers. | |
| (id) | - copy |
| Make a copy of this iterator. | |
| (id) | - dereference |
| Dereference the iterator. | |
| (BOOL) | - isEqual: |
| Return whether this object is equal to another one. | |
| (id) | - reverse |
| Reverse the iterator. | |
Initializers and Deallocators | |
| (id) | - free |
| Finalize the iterator and deallocate any allocated memory. | |
| (id) | - initWithIterator: |
| Initialize the iterator with its target. | |
Protected Attributes | |
| OLBidirectionalIterator * | current |
| The target iterator on which this iterator performs its operations. | |
All operations are performed on the the iterator that is passed to this iterator. However, they are reversed: advance (OLReverseBidiIterator) causes the target iterator to reverse, and so forth.
| - (id) advance |
Advance the iterator.
This has the effect of reversing the underlying target iterator by one step.
Reimplemented from OLForwardIterator.
| - (id) assign: | (id) | object |
Assign an object to the position in the controlled sequence to which this iterator refers.
The object currently at the position will be removed and replaced with the given object.
| object | the object to assign |
Reimplemented from OLIterator.
| - (id) copy |
Make a copy of this iterator.
Reimplemented from OLIterator.
Reimplemented in OLReverseRandomIterator.
| - (id) dereference |
Dereference the iterator.
Return the id of the object to which this iterator points.
Reimplemented from OLIterator.
| - (id) free |
Finalize the iterator and deallocate any allocated memory.
| - (id) initWithIterator: | (OLBidirectionalIterator *) | itor |
Initialize the iterator with its target.
| itor | the iterator on which to perform operations |
| - (BOOL) isEqual: | (id) | object |
Return whether this object is equal to another one.
| object | the object to test |
Reimplemented from OLIterator.
Reimplemented in OLReverseRandomIterator.
| - (id) reverse |
Reverse the iterator.
This has the effect of advancing the underlying target iterator by one step.
Reimplemented from OLBidirectionalIterator.
- (OLBidirectionalIterator*) current [protected] |
The target iterator on which this iterator performs its operations.
|