IDXL_Map Class Reference

Map an entity to its IDXL_Rec. More...

#include <idxl_comm.h>

Collaboration diagram for IDXL_Map:

Collaboration graph
[legend]

Public Member Functions

 IDXL_Map ()
 ~IDXL_Map ()
void add (int entity, int chk, int idx)
const IDXL_Recget (int entity) const

Private Attributes

CkHashtableT< CkHashtableAdaptorT<
int >, IDXL_Rec * > 
map

Detailed Description

Map an entity to its IDXL_Rec.

We only bother listing entities that are actually shared with other chunks; completely local entities are not present.

Definition at line 63 of file idxl_comm.h.


Constructor & Destructor Documentation

IDXL_Map::IDXL_Map (  ) 

Definition at line 36 of file idxl_comm.C.

IDXL_Map::~IDXL_Map (  ) 

Definition at line 37 of file idxl_comm.C.

References CkHashtable::iterator(), map, and CkHashtableIterator::next().


Member Function Documentation

void IDXL_Map::add ( int  entity,
int  chk,
int  idx 
)

Definition at line 47 of file idxl_comm.C.

References IDXL_Rec::add(), entity, CkHashtableT< KEY, OBJ >::get(), map, and CkHashtableTslow< KEY, OBJ >::put().

Referenced by IDXL_Side::getMap().

const IDXL_Rec * IDXL_Map::get ( int  entity  )  const

Definition at line 63 of file idxl_comm.C.

References entity, CkHashtableT< KEY, OBJ >::get(), and map.

Referenced by IDXL_Side::getRec().


Field Documentation

CkHashtableT<CkHashtableAdaptorT<int>,IDXL_Rec *> IDXL_Map::map [private]

Definition at line 64 of file idxl_comm.h.

Referenced by add(), get(), and ~IDXL_Map().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:33:41 2008 for Charm++ by  doxygen 1.5.1