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

Public Member Functions | |
| TypeCastIterator (const Iterator< FROM > *from) | |
| virtual unsigned int | size () const |
| Returns the number of elements, this iterator can iterate over. | |
| virtual TO | get (unsigned int index) const |
| Returns the i-th element of the elements described by this iterator. | |
| virtual const TransactionNo & | lastTransactionNo () const |
| VRS_TYPEINFO (TypeCastIterator, Iterator< TO >) | |
| VRS_SERIALIZABLE (TypeCastIterator) | |
Protected Member Functions | |
| TypeCastIterator () | |
| VRS::TypeCastIterator< TO, FROM >::TypeCastIterator | ( | const Iterator< FROM > * | from | ) | [inline] |
This iterator adapter can be used to cast the elements of the "from" iterator (which are of type "FROM") to the new type "TO".
| VRS::TypeCastIterator< TO, FROM >::TypeCastIterator | ( | ) | [inline, protected] |
| virtual unsigned int VRS::TypeCastIterator< TO, FROM >::size | ( | void | ) | const [inline, virtual] |
| virtual TO VRS::TypeCastIterator< TO, FROM >::get | ( | unsigned int | i | ) | const [inline, virtual] |
Returns the i-th element of the elements described by this iterator.
Implements VRS::Iterator< TO >.
| virtual const TransactionNo& VRS::TypeCastIterator< TO, FROM >::lastTransactionNo | ( | ) | const [inline, virtual] |
Reimplemented from VRS::SharedObj.
| VRS::TypeCastIterator< TO, FROM >::VRS_TYPEINFO | ( | TypeCastIterator< TO, FROM > | , | |
| Iterator< TO > | ||||
| ) |
| VRS::TypeCastIterator< TO, FROM >::VRS_SERIALIZABLE | ( | TypeCastIterator< TO, FROM > | ) |