PPL Logo

CkSequenceIterator< T > Class Template Reference

Iterates over the elements in the CkSequence. More...

#include <cksequence.h>

Collaboration diagram for CkSequenceIterator< T >:

Collaboration graph
[legend]

Public Member Functions

 CkSequenceIterator ()
 CkSequenceIterator (CkSequenceIteratorInternal< T > *it)
 CkSequenceIterator (typename std::list< CkSequenceInternal< T > * >::iterator subsequence_list_it, typename std::list< CkSequenceInternal< T > * >::iterator subsequence_list_it_end)
 Constructs the CkSequenceIterator given an internal implementation of the CkSequenceIterator.
 ~CkSequenceIterator ()
operator* ()
void operator++ ()
void operator++ (int)
bool operator== (const CkSequenceIterator &rhs) const
bool operator!= (const CkSequenceIterator &rhs) const

Private Attributes

CkSequenceIteratorInternal< T > * it_
CkSequenceIteratorInternal< T > * it_end_
std::list< CkSequenceInternal
< T > * >::iterator 
subsequence_list_it_
std::list< CkSequenceInternal
< T > * >::iterator 
subsequence_list_it_end_
int index_

Detailed Description

template<typename T>
class CkSequenceIterator< T >

Iterates over the elements in the CkSequence.

Consists of the standard functionalities of an iterator. Sample usage: CkSequence<int>::iterator it = s.begin();

Template Parameters:
T 

Definition at line 22 of file cksequence.h.


Constructor & Destructor Documentation

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

Definition at line 25 of file cksequence.h.

template<typename T>
CkSequenceIterator< T >::CkSequenceIterator ( CkSequenceIteratorInternal< T > *  it  )  [inline]

Definition at line 27 of file cksequence.h.

template<typename T>
CkSequenceIterator< T >::CkSequenceIterator ( typename std::list< CkSequenceInternal< T > * >::iterator  subsequence_list_it,
typename std::list< CkSequenceInternal< T > * >::iterator  subsequence_list_it_end 
) [inline]

Constructs the CkSequenceIterator given an internal implementation of the CkSequenceIterator.

it internal implementation of the Iterator

Definition at line 35 of file cksequence.h.

References CkSequenceIterator< T >::it_, CkSequenceIterator< T >::it_end_, CkSequenceIterator< T >::subsequence_list_it_, and CkSequenceIterator< T >::subsequence_list_it_end_.

template<typename T>
CkSequenceIterator< T >::~CkSequenceIterator (  )  [inline]

Definition at line 50 of file cksequence.h.


Member Function Documentation

template<typename T>
T CkSequenceIterator< T >::operator* (  )  [inline]

Definition at line 54 of file cksequence.h.

References CkSequenceIterator< T >::it_.

template<typename T>
void CkSequenceIterator< T >::operator++ (  )  [inline]

template<typename T>
void CkSequenceIterator< T >::operator++ ( int   )  [inline]

template<typename T>
bool CkSequenceIterator< T >::operator== ( const CkSequenceIterator< T > &  rhs  )  const [inline]

Definition at line 85 of file cksequence.h.

References CkSequenceIterator< T >::it_.

template<typename T>
bool CkSequenceIterator< T >::operator!= ( const CkSequenceIterator< T > &  rhs  )  const [inline]

Definition at line 92 of file cksequence.h.

References CkSequenceIterator< T >::it_.


Field Documentation

template<typename T>
CkSequenceIteratorInternal<T>* CkSequenceIterator< T >::it_ [private]

template<typename T>
CkSequenceIteratorInternal<T>* CkSequenceIterator< T >::it_end_ [private]

template<typename T>
std::list<CkSequenceInternal<T>* >::iterator CkSequenceIterator< T >::subsequence_list_it_ [private]

template<typename T>
std::list<CkSequenceInternal<T>* >::iterator CkSequenceIterator< T >::subsequence_list_it_end_ [private]

template<typename T>
int CkSequenceIterator< T >::index_ [private]

Definition at line 104 of file cksequence.h.


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

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