|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
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>
Public Types | |
| enum | { SIZE = Components } |
| typedef element_value_t | value_type |
Public Member Functions | |
| ElementProxy (const Iterator &Owner, index_t Idx) | |
| Construct an ElementProxy as a reference to a specific element in a given array, which is accessed via the given Iterator. | |
| operator array_t () const | |
| Implicit type conversion into an array element. | |
| ElementProxy & | operator= (const array_t &v) |
| Assign an array element. | |
| ElementProxy & | operator= (const ElementProxy &in) |
| Assign an array element from another element proxy. | |
| Eagle::Assignment< ElementProxy, 0 > | operator= (const element_value_t &x) |
| Overloading of the assignment operator such that the comma operator may be used to assign components successively. | |
| ElementProxy & | operator+= (const array_t &v) |
| Self-addition operator. | |
| ElementProxy & | operator-= (const array_t &v) |
| Self-substraction operator. | |
| element_value_t & | operator[] (int c) const |
| access a component of the element | |
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).
|
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 |
|
inline |
Implicit type conversion into an array element.
References Fiber::Iterator< T >::getComponent().