| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/container/repeatiterator.h>

Public Member Functions | |
| RepeatIterator (const Iterator< T > *sourceItr, unsigned int loops=1) | |
| virtual unsigned int | size () const |
| Returns the number of elements, this iterator can iterate over. | |
| virtual T | get (unsigned int index) const |
| virtual const TransactionNo & | lastTransactionNo () const |
| VRS_TYPEINFO (RepeatIterator, Iterator< T >) | |
| VRS_SERIALIZABLE (RepeatIterator) | |
Protected Member Functions | |
| RepeatIterator () | |
| VRS::RepeatIterator< T >::RepeatIterator | ( | const Iterator< T > * | sourceItr, | |
| unsigned int | loops = 1 | |||
| ) | [inline] |
An `RepeatIterator' repeats a sequence of values provided by its source iterator. The number of loops specify how many times the sequence is repeated.
| VRS::RepeatIterator< T >::RepeatIterator | ( | ) | [inline, protected] |
| virtual unsigned int VRS::RepeatIterator< T >::size | ( | ) | const [inline, virtual] |
| virtual T VRS::RepeatIterator< T >::get | ( | unsigned int | index | ) | const [inline, virtual] |
The size of an `RepeatIterator' is loops x source iterator size. See also base class `Iterator'.
Implements VRS::Iterator< T >.
| virtual const TransactionNo& VRS::RepeatIterator< T >::lastTransactionNo | ( | ) | const [inline, virtual] |
Reimplemented from VRS::SharedObj.
| VRS::RepeatIterator< T >::VRS_TYPEINFO | ( | RepeatIterator< T > | , | |
| Iterator< T > | ||||
| ) |
| VRS::RepeatIterator< T >::VRS_SERIALIZABLE | ( | RepeatIterator< T > | ) |