PPL Logo

hashCache< n > Class Template Reference

Collaboration diagram for hashCache< n >:

Collaboration graph
[legend]

Public Member Functions

 hashCache (const KEY &invalidKey)
OBJ lookup (const KEY &k)
void add (const KEY &k, const OBJ &o)

Private Types

typedef CollideLoc3d KEY
typedef cellAggregator * OBJ

Private Attributes

KEY keys [n]
OBJ objs [n]
int lastFound

Detailed Description

template<int n>
class hashCache< n >

Definition at line 126 of file collidecharm.C.


Member Typedef Documentation

template<int n>
typedef CollideLoc3d hashCache< n >::KEY [private]

Definition at line 127 of file collidecharm.C.

template<int n>
typedef cellAggregator* hashCache< n >::OBJ [private]

Definition at line 128 of file collidecharm.C.


Constructor & Destructor Documentation

template<int n>
hashCache< n >::hashCache ( const KEY invalidKey  )  [inline]

Definition at line 133 of file collidecharm.C.

References objListMsg::n.


Member Function Documentation

template<int n>
OBJ hashCache< n >::lookup ( const KEY k  )  [inline]

Definition at line 137 of file collidecharm.C.

References CollideLoc3d::compare(), and objListMsg::n.

Here is the call graph for this function:

template<int n>
void hashCache< n >::add ( const KEY k,
const OBJ o 
) [inline]

Definition at line 149 of file collidecharm.C.

References objListMsg::n.


Field Documentation

template<int n>
KEY hashCache< n >::keys[n] [private]

Definition at line 129 of file collidecharm.C.

template<int n>
OBJ hashCache< n >::objs[n] [private]

Definition at line 130 of file collidecharm.C.

template<int n>
int hashCache< n >::lastFound [private]

Definition at line 131 of file collidecharm.C.


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

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