PPL Logo

CkObjectRangeIterator< T > Class Template Reference

Count charm++ objects going by until they reach this range (lo to hi), then start passing them to dest. More...

Collaboration diagram for CkObjectRangeIterator< T >:

Collaboration graph
[legend]

Public Member Functions

 CkObjectRangeIterator (T *dest_, int l, int h)
void iterate (void)
 Call add for every in-range array element on this processor.
int getCount (void)

Private Attributes

T * dest
int cur
int lo
int hi

Detailed Description

template<class T>
class CkObjectRangeIterator< T >

Count charm++ objects going by until they reach this range (lo to hi), then start passing them to dest.

Definition at line 181 of file debug-charm.C.


Constructor & Destructor Documentation

template<class T>
CkObjectRangeIterator< T >::CkObjectRangeIterator ( T *  dest_,
int  l,
int  h 
) [inline]

Definition at line 186 of file debug-charm.C.


Member Function Documentation

template<class T>
void CkObjectRangeIterator< T >::iterate ( void   )  [inline]

Call add for every in-range array element on this processor.

Definition at line 190 of file debug-charm.C.

References CkObjectRangeIterator< T >::cur, CkObjectRangeIterator< T >::dest, and _ckGroupID::idx.

Referenced by CpdList_object::getLength(), CpdList_objectNames::getLength(), CpdList_object::pup(), and CpdList_objectNames::pup().

Here is the caller graph for this function:

template<class T>
int CkObjectRangeIterator< T >::getCount ( void   )  [inline]

Definition at line 210 of file debug-charm.C.

References CkObjectRangeIterator< T >::cur.

Referenced by CpdList_object::getLength(), and CpdList_objectNames::getLength().

Here is the caller graph for this function:


Field Documentation

template<class T>
T* CkObjectRangeIterator< T >::dest [private]

Definition at line 183 of file debug-charm.C.

Referenced by CkObjectRangeIterator< T >::iterate().

template<class T>
int CkObjectRangeIterator< T >::cur [private]

template<class T>
int CkObjectRangeIterator< T >::lo [private]

Definition at line 184 of file debug-charm.C.

template<class T>
int CkObjectRangeIterator< T >::hi [private]

Definition at line 184 of file debug-charm.C.


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

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