TNT::Sparse_Vector_Element< T, Integer > Class Template Reference

#include <tnt_sparse_vector.h>

Collaboration diagram for TNT::Sparse_Vector_Element< T, Integer >:
[legend]

List of all members.

Public Member Functions

 Sparse_Vector_Element (const T &a, const Integer &i)
const T & value () const
Integer index () const
T & value ()
Integer & index ()

Private Attributes

val_
Integer index_


Detailed Description

template<class T, class Integer>
class TNT::Sparse_Vector_Element< T, Integer >

Definition at line 36 of file tnt_sparse_vector.h.


Constructor & Destructor Documentation

template<class T, class Integer>
TNT::Sparse_Vector_Element< T, Integer >::Sparse_Vector_Element ( const T &  a,
const Integer &  i 
) [inline]

Definition at line 45 of file tnt_sparse_vector.h.


Member Function Documentation

template<class T, class Integer>
Integer& TNT::Sparse_Vector_Element< T, Integer >::index (  )  [inline]

Definition at line 53 of file tnt_sparse_vector.h.

template<class T, class Integer>
Integer TNT::Sparse_Vector_Element< T, Integer >::index (  )  const [inline]

Definition at line 50 of file tnt_sparse_vector.h.

template<class T, class Integer>
T& TNT::Sparse_Vector_Element< T, Integer >::value (  )  [inline]

Definition at line 52 of file tnt_sparse_vector.h.

template<class T, class Integer>
const T& TNT::Sparse_Vector_Element< T, Integer >::value (  )  const [inline]

Definition at line 49 of file tnt_sparse_vector.h.


Member Data Documentation

template<class T, class Integer>
Integer TNT::Sparse_Vector_Element< T, Integer >::index_ [private]

Definition at line 41 of file tnt_sparse_vector.h.

template<class T, class Integer>
T TNT::Sparse_Vector_Element< T, Integer >::val_ [private]

Definition at line 40 of file tnt_sparse_vector.h.


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

Generated on Fri Feb 6 13:30:19 2009 for CorAL by  doxygen 1.5.8