Public Member Functions | |
CkArrayElementRangeIterator (T *dest_, int l, int h) | |
int | iterate (int start, CkArray *m) |
Called to iterate only on a specific array manager. | |
void | iterate (void) |
Call add for every in-range array element on this processor. | |
virtual void | addLocation (CkLocation &loc) |
This location is part of the calling location manager. | |
int | getCount (void) |
Private Attributes | |
T * | dest |
CkArray * | mgr |
int | cur |
int | lo |
int | hi |
Definition at line 128 of file debug-charm.C.
CkArrayElementRangeIterator< T >::CkArrayElementRangeIterator | ( | T * | dest_, | |
int | l, | |||
int | h | |||
) | [inline] |
Definition at line 134 of file debug-charm.C.
int CkArrayElementRangeIterator< T >::iterate | ( | int | start, | |
CkArray * | m | |||
) | [inline] |
Called to iterate only on a specific array manager.
Returs the number of objects it iterate on.
Definition at line 140 of file debug-charm.C.
References CkArrayElementRangeIterator< T >::cur, CkArray::getLocMgr(), CkLocMgr::iterate(), and CkArrayElementRangeIterator< T >::mgr.
Referenced by CpdList_arrayElements::getLength(), CpdList_arrayElementNames::getLength(), CpdList_arrayElements::pup(), and CpdList_arrayElementNames::pup().
void CkArrayElementRangeIterator< T >::iterate | ( | void | ) | [inline] |
Call add for every in-range array element on this processor.
Definition at line 149 of file debug-charm.C.
References CkArray::getLocMgr(), IrrGroup::isArrMgr(), CkLocMgr::iterate(), and CkArrayElementRangeIterator< T >::mgr.
virtual void CkArrayElementRangeIterator< T >::addLocation | ( | CkLocation & | loc | ) | [inline, virtual] |
This location is part of the calling location manager.
Implements CkLocIterator.
Definition at line 163 of file debug-charm.C.
References CkArrayElementRangeIterator< T >::cur, CkArrayElementRangeIterator< T >::dest, CkArray::getGroupID(), CkLocation::getIndex(), CkArrayElementRangeIterator< T >::hi, _ckGroupID::idx, CkArrayElementRangeIterator< T >::lo, CkArray::lookup(), and CkArrayElementRangeIterator< T >::mgr.
int CkArrayElementRangeIterator< T >::getCount | ( | void | ) | [inline] |
Definition at line 173 of file debug-charm.C.
References CkArrayElementRangeIterator< T >::cur.
Referenced by CpdList_arrayElements::getLength(), and CpdList_arrayElementNames::getLength().
T* CkArrayElementRangeIterator< T >::dest [private] |
Definition at line 130 of file debug-charm.C.
Referenced by CkArrayElementRangeIterator< T >::addLocation().
CkArray* CkArrayElementRangeIterator< T >::mgr [private] |
Definition at line 131 of file debug-charm.C.
Referenced by CkArrayElementRangeIterator< T >::addLocation(), and CkArrayElementRangeIterator< T >::iterate().
int CkArrayElementRangeIterator< T >::cur [private] |
Definition at line 132 of file debug-charm.C.
Referenced by CkArrayElementRangeIterator< T >::addLocation(), CkArrayElementRangeIterator< T >::getCount(), and CkArrayElementRangeIterator< T >::iterate().
int CkArrayElementRangeIterator< T >::lo [private] |
Definition at line 132 of file debug-charm.C.
Referenced by CkArrayElementRangeIterator< T >::addLocation().
int CkArrayElementRangeIterator< T >::hi [private] |
Definition at line 132 of file debug-charm.C.
Referenced by CkArrayElementRangeIterator< T >::addLocation().