[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Accessor for items that are STL compatible sequences. More...
#include <vigra/accessor.hxx>
Public Types | |
typedef SEQUENCE::value_type | component_type |
![]() | |
typedef SEQUENCE | value_type |
Public Member Functions | |
template<class ITERATOR > | |
iterator | begin (ITERATOR const &i) const |
template<class ITERATOR , class OFFSET > | |
iterator | begin (ITERATOR const &i, OFFSET const &diff) const |
template<class ITERATOR > | |
iterator | end (ITERATOR const &i) const |
template<class ITERATOR , class OFFSET > | |
iterator | end (ITERATOR const &i, OFFSET const &diff) const |
template<class ITERATOR > | |
unsigned int | size (ITERATOR const &i) const |
template<class ITERATOR , class OFFSET > | |
unsigned int | size (ITERATOR const &i, OFFSET const &diff) const |
![]() | |
SEQUENCE const & | operator() (ITERATOR const &i) const |
SEQUENCE const & | operator() (ITERATOR const &i, OFFSET const &diff) const |
void | set (V const &value, ITERATOR const &i) const |
void | set (V const &value, ITERATOR const &i, OFFSET const &diff) const |
Accessor for items that are STL compatible sequences.
It encapsulates access to the sequences' begin() and end() functions.
Usage:
#include <vigra/accessor.hxx>
Namespace: vigra
typedef SEQUENCE::value_type component_type |
the sequence's value_type
get begin iterator for sequence at given iterator position
get end iterator for sequence at given iterator position
get begin iterator for sequence at an offset of given iterator position
get end iterator for sequence at a 2D difference vector of given iterator position
get size of sequence at given iterator position
get size of sequence at 2D difference vector of given iterator position
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |