PPL Logo

RandomIterator< T > Class Template Reference

Iterator for the RandomSequence. More...

#include <random_sequence.h>

Inheritance diagram for RandomIterator< T >:

Inheritance graph
[legend]
Collaboration diagram for RandomIterator< T >:

Collaboration graph
[legend]

Public Member Functions

 RandomIterator ()
 RandomIterator (typename std::vector< T >::iterator it)
T & operator* ()
void operator++ ()
void operator++ (int)
void operator-- ()
void operator-- (int)
bool operator== (const CkSequenceIteratorInternal< T > &rhs) const
bool operator!= (const CkSequenceIteratorInternal< T > &rhs) const

Data Fields

std::vector< T >::iterator it_

Detailed Description

template<typename T>
class RandomIterator< T >

Iterator for the RandomSequence.

Template Parameters:
T 

Definition at line 22 of file random_sequence.h.


Constructor & Destructor Documentation

template<typename T>
RandomIterator< T >::RandomIterator (  )  [inline]

Definition at line 26 of file random_sequence.h.

template<typename T>
RandomIterator< T >::RandomIterator ( typename std::vector< T >::iterator  it  )  [inline]

Definition at line 28 of file random_sequence.h.


Member Function Documentation

template<typename T>
T& RandomIterator< T >::operator* (  )  [inline, virtual]

Implements CkSequenceIteratorInternal< T >.

Definition at line 30 of file random_sequence.h.

References RandomIterator< T >::it_.

template<typename T>
void RandomIterator< T >::operator++ (  )  [inline, virtual]

Implements CkSequenceIteratorInternal< T >.

Definition at line 34 of file random_sequence.h.

References RandomIterator< T >::it_.

template<typename T>
void RandomIterator< T >::operator++ ( int   )  [inline, virtual]

Implements CkSequenceIteratorInternal< T >.

Definition at line 38 of file random_sequence.h.

References RandomIterator< T >::it_.

template<typename T>
void RandomIterator< T >::operator-- (  )  [inline, virtual]

Implements CkSequenceIteratorInternal< T >.

Definition at line 42 of file random_sequence.h.

References RandomIterator< T >::it_.

template<typename T>
void RandomIterator< T >::operator-- ( int   )  [inline, virtual]

Implements CkSequenceIteratorInternal< T >.

Definition at line 46 of file random_sequence.h.

References RandomIterator< T >::it_.

template<typename T>
bool RandomIterator< T >::operator== ( const CkSequenceIteratorInternal< T > &  rhs  )  const [inline, virtual]

Implements CkSequenceIteratorInternal< T >.

Definition at line 50 of file random_sequence.h.

References RandomIterator< T >::it_.

template<typename T>
bool RandomIterator< T >::operator!= ( const CkSequenceIteratorInternal< T > &  rhs  )  const [inline, virtual]

Implements CkSequenceIteratorInternal< T >.

Definition at line 54 of file random_sequence.h.

References RandomIterator< T >::it_.


Field Documentation

template<typename T>
std::vector<T>::iterator RandomIterator< T >::it_


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

Generated on Mon Sep 21 08:29:16 2020 for Charm++ by  doxygen 1.5.5