Immutable random indexed iterator.
More...
#include <IndexedIterator.h>
|
typedef SEQ | Seq |
|
typedef Seq::value_type | value_type |
|
typedef Seq::size_type | size_type |
|
typedef RAND | RandomGenerator |
|
|
| Random (const Seq &seq, RandomGenerator rand=RandomGenerator()) |
|
| Random (const Seq &seq, size_type end) |
|
size_type | index () const |
| Returns the index of the element in the sequence this iterator is currently pointing to.
|
|
const Seq & | seq () const |
| Returns a reference to the sequence.
|
|
|
class | boost::iterator_core_access |
|
template<typename SEQ, typename RAND>
class LatBuilder::IndexedIterator::Random< SEQ, RAND >
Immutable random indexed iterator.
- Template Parameters
-
SEQ | Type of sequence to which the iterator points. Must implement value_type operator[](SEQ::size_type). |
RAND | Random generator type. |
The documentation for this class was generated from the following file:
- /home/beluet/iro/latsoft.build/src/latsoft/latbuilder/include/latbuilder/IndexedIterator.h