version 3.3

VRS::TypeCastIterator2D< TO, FROM > Class Template Reference

Iterator2D adapter for type casting. More...

#include <vrs/container/typecastiterator2d.h>

Inheritance diagram for VRS::TypeCastIterator2D< TO, FROM >:

VRS::Iterator2D< TO > VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 TypeCastIterator2D (const Iterator2D< FROM > *from)
virtual unsigned int sizeX () const
virtual unsigned int sizeY () const
 Return the dimensions.
virtual TO get (unsigned int x, unsigned int y) const
 Returns the element at the position (x, y).
 VRS_TYPEINFO (TypeCastIterator2D, Iterator2D< TO >)
 VRS_SERIALIZABLE (TypeCastIterator2D)

Protected Member Functions

 TypeCastIterator2D ()


Detailed Description

template<typename TO, typename FROM>
class VRS::TypeCastIterator2D< TO, FROM >

Iterator2D adapter for type casting.

Constructor & Destructor Documentation

template<typename TO, typename FROM>
VRS::TypeCastIterator2D< TO, FROM >::TypeCastIterator2D ( const Iterator2D< FROM > *  from  )  [inline]

template<typename TO, typename FROM>
VRS::TypeCastIterator2D< TO, FROM >::TypeCastIterator2D (  )  [inline, protected]


Member Function Documentation

template<typename TO, typename FROM>
virtual unsigned int VRS::TypeCastIterator2D< TO, FROM >::sizeX (  )  const [inline, virtual]

Implements VRS::Iterator2D< TO >.

template<typename TO, typename FROM>
virtual unsigned int VRS::TypeCastIterator2D< TO, FROM >::sizeY (  )  const [inline, virtual]

Return the dimensions.

Implements VRS::Iterator2D< TO >.

template<typename TO, typename FROM>
virtual TO VRS::TypeCastIterator2D< TO, FROM >::get ( unsigned int  x,
unsigned int  y 
) const [inline, virtual]

Returns the element at the position (x, y).

Implements VRS::Iterator2D< TO >.

template<typename TO, typename FROM>
VRS::TypeCastIterator2D< TO, FROM >::VRS_TYPEINFO ( TypeCastIterator2D< TO, FROM >  ,
Iterator2D< TO >   
)

template<typename TO, typename FROM>
VRS::TypeCastIterator2D< TO, FROM >::VRS_SERIALIZABLE ( TypeCastIterator2D< TO, FROM >   ) 


The documentation for this class was generated from the following file:

Generated on Wed May 23 06:00:17 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact