Biomechanical Joint Model
 Author: Anderson Maciel

HashMap< T > Class Template Reference

#include <hash_map.h>

List of all members.

Public Member Functions

 HashMap (int l=8, int m=8, int n=8)
 ~HashMap ()
T & operator[] (const idx3 &id)
const T & operator[] (const idx3 &id) const

Private Member Functions

int hash_func (const idx3 &id) const

Private Attributes

vector< T > * elements
int l_
int m_
int n_


Detailed Description

template<class T>
class HashMap< T >

Definition at line 31 of file hash_map.h.


Constructor & Destructor Documentation

template<class T>
HashMap< T >::HashMap int  l = 8,
int  m = 8,
int  n = 8
[inline]
 

Definition at line 34 of file hash_map.h.

template<class T>
HashMap< T >::~HashMap  )  [inline]
 

Definition at line 36 of file hash_map.h.


Member Function Documentation

template<class T>
int HashMap< T >::hash_func const idx3 &  id  )  const [inline, private]
 

Definition at line 42 of file hash_map.h.

Referenced by HashMap< T >::operator[]().

template<class T>
const T & HashMap< T >::operator[] const idx3 &  id  )  const
 

Definition at line 65 of file hash_map.h.

References HashMap< T >::elements, and HashMap< T >::hash_func().

Here is the call graph for this function:

template<class T>
T & HashMap< T >::operator[] const idx3 &  id  ) 
 

Definition at line 49 of file hash_map.h.

References HashMap< T >::elements, and HashMap< T >::hash_func().

Here is the call graph for this function:


Member Data Documentation

template<class T>
vector<T>* HashMap< T >::elements [private]
 

Definition at line 42 of file hash_map.h.

Referenced by HashMap< T >::operator[](), and HashMap< Edge >::~HashMap().

template<class T>
int HashMap< T >::l_ [private]
 

Definition at line 45 of file hash_map.h.

Referenced by HashMap< Edge >::hash_func().

template<class T>
int HashMap< T >::m_ [private]
 

Definition at line 45 of file hash_map.h.

Referenced by HashMap< Edge >::hash_func().

template<class T>
int HashMap< T >::n_ [private]
 

Definition at line 45 of file hash_map.h.

Referenced by HashMap< Edge >::hash_func().


The documentation for this class was generated from the following file:
Generated on Thu Dec 1 10:14:31 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5