Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Pair Class Template Reference

#include <pair.h>

List of all members.


Detailed Description

template<class T, class I = unsigned long>
class Pair< T, I >

Pair of I and T : struct { column index, value }.


Public Types

typedef Pair< T, I > Self_t
typedef T Type_t

Public Methods

 Pair ()
 Pair (const I jj, const T &val)
 Pair (const Self_t &p)
getvalue () const
getindex () const
j () const
affect (const T &val)
change_value (const T &val)
change_j (const I jj)
change_index (const I jj)
Self_t assign (const T &val)
Self_t assign (const I jj, const T &val)
decr ()
operator-- ()
operator-- (int)
incr ()
operator++ ()
operator++ (int)

Friends

std::istream & operator>> (std::istream &is, Pair< T, I > &a)
std::ostream & operator<< (std::ostream &o, const Pair< T, I > a)


Member Typedef Documentation

typedef Pair<T, I> Self_t
 

typedef T Type_t
 


Constructor & Destructor Documentation

Pair   [inline]
 

Pair const I    jj,
const T &    val
[inline]
 

Pair const Self_t   p [inline]
 


Member Function Documentation

T affect const T &    val [inline]
 

Self_t assign const I    jj,
const T &    val
[inline]
 

Self_t assign const T &    val [inline]
 

I change_index const I    jj [inline]
 

I change_j const I    jj [inline]
 

T change_value const T &    val [inline]
 

I decr   [inline]
 

I getindex   const [inline]
 

T getvalue   const [inline]
 

I incr   [inline]
 

I j   const [inline]
 

I operator++ int    [inline]
 

I operator++   [inline]
 

I operator-- int    [inline]
 

I operator--   [inline]
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &    o,
const Pair< T, I >    a
[friend]
 

std::istream& operator>> std::istream &    is,
Pair< T, I > &    a
[friend]
 


Generated on Mon Jun 20 09:16:51 2005 for linbox by doxygen1.2.18