A proxy for Iterators, such that an Iterator's element looks like an Iterator's element (!), even though it isn't (the internal storage layout may be different). More...
#include <Iterator.hpp>
A proxy for Iterators, such that an Iterator's element looks like an Iterator's element (!), even though it isn't (the internal storage layout may be different).
Iterator | The Iterator must export | |
array_t | (typedef) the type of each component | |
Components | (enum) the number of components | |
getComponent(int | idx,int c) a function returning a reference to the c'th component of the idx'th index in the field. |
ElementProxy< Iterator >::ElementProxy | ( | const Iterator & | Owner, | |
index_t | Idx | |||
) | [inline] |
Construct an ElementProxy as a reference to a specific element in a given array, which is accessed via the given Iterator.
Owner | the Iterator referring to the array |
ElementProxy< Iterator >::operator array_t | ( | ) | const [inline] |
Implicit type conversion into an array element.