Main Page | Class List | File List | Class Members

CS_Triplet< T > Class Template Reference

Cache-simulated triplet (i,j,v), where i and j are indices and v as a value of template type T. More...

#include <CS_Triplet.hpp>

Collaboration diagram for CS_Triplet< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const unsigned long int i ()
 Reads out the row index.
const unsigned long int j ()
 Reads out the column index.
T & getValue ()
 CS_Triplet (unsigned long int i, unsigned long int j, T val)
 Base constructor with user-supplied values.
 CS_Triplet ()
 Base constructor; sets all values to 0.

Public Attributes

value
 Gives access to the value.

Protected Attributes

unsigned long int row
 The row index i.
unsigned long int column
 The column index j.

Detailed Description

template<typename T>
class CS_Triplet< T >

Cache-simulated triplet (i,j,v), where i and j are indices and v as a value of template type T.


Member Function Documentation

template<typename T>
T& CS_Triplet< T >::getValue  )  [inline]
 

Returns:
A reference to the value.


The documentation for this class was generated from the following file:
Generated on Fri Aug 15 18:12:24 2008 for Run-timeCacheSimulator by  doxygen 1.3.9.1