
#include <cklocation.h>


Public Member Functions | |
| CkMigratableList () | |
| ~CkMigratableList () | |
| void | setSize (int s) |
| int | length (void) const |
| void | put (CkMigratable *v, int atIdx) |
| Add an element at the given location. | |
| CkMigratable * | get (int localIdx) |
| Return the element at the given location. | |
| CkMigratable * | next (int &from) |
| Return the next non-empty element starting from the given index, or NULL if there is none. | |
| void | empty (int localIdx) |
| Remove the element at the given location. | |
Private Attributes | |
| CkVec< CkZeroPtr< CkMigratable > > | el |
These lists are kept by the array managers.
Definition at line 372 of file cklocation.h.
| CkMigratableList::CkMigratableList | ( | ) |
Definition at line 1226 of file cklocation.C.
| CkMigratableList::~CkMigratableList | ( | ) |
Definition at line 1227 of file cklocation.C.
| void CkMigratableList::setSize | ( | int | s | ) |
Definition at line 1229 of file cklocation.C.
References el, and CkVec< T >::resize().
Referenced by CkLocMgr::addManager().
| int CkMigratableList::length | ( | void | ) | const [inline] |
| void CkMigratableList::put | ( | CkMigratable * | v, | |
| int | atIdx | |||
| ) |
Add an element at the given location.
Definition at line 1233 of file cklocation.C.
Referenced by CkLocMgr::addElementToRec(), and CkMigratableListT< T >::put().
| CkMigratable* CkMigratableList::get | ( | int | localIdx | ) | [inline] |
Return the element at the given location.
Reimplemented in CkMigratableListT< T >.
Definition at line 385 of file cklocation.h.
References el.
Referenced by CkLocMgr::addElementToRec().
| CkMigratable* CkMigratableList::next | ( | int & | from | ) | [inline] |
Return the next non-empty element starting from the given index, or NULL if there is none.
Updates from to point past the returned index.
Reimplemented in CkMigratableListT< T >.
Definition at line 391 of file cklocation.h.
Referenced by CkMigratableListT< T >::next().
| void CkMigratableList::empty | ( | int | localIdx | ) | [inline] |
Remove the element at the given location.
Definition at line 401 of file cklocation.h.
References el.
Referenced by CkLocMgr::pupElementsFor().
CkVec< CkZeroPtr<CkMigratable> > CkMigratableList::el [private] |
1.5.5