BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Private Types | Friends | List of all members
BALL::DiagonalIteratorTraits< valuetype, mtraits > Class Template Reference

#include <BALL/MATHS/LINALG/diagonalIterator.h>

Public Member Functions

virtual ~DiagonalIteratorTraits ()
 
 DiagonalIteratorTraits ()
 
 DiagonalIteratorTraits (const Matrix< valuetype, mtraits > &matrix)
 
 DiagonalIteratorTraits (const DiagonalIteratorTraits &traits)
 
DiagonalIteratorTraitsoperator= (const DiagonalIteratorTraits &traits)
 
Matrix< valuetype, mtraits > * getContainer ()
 
const Matrix< valuetype,
mtraits > * 
getContainer () const
 
bool isSingular () const
 
IteratorPositiongetPosition ()
 
const IteratorPositiongetPosition () const
 
bool operator== (const DiagonalIteratorTraits &traits) const
 
bool operator!= (const DiagonalIteratorTraits &traits) const
 
bool operator< (const DiagonalIteratorTraits &traits) const
 
Distance getDistance (const DiagonalIteratorTraits &traits) const
 
bool isValid () const
 
void invalidate ()
 
void toBegin ()
 
bool isBegin () const
 
void toEnd ()
 
bool isEnd () const
 
Vector< valuetype > & getData ()
 
const Vector< valuetype > & getData () const
 
void forward ()
 
void dump (std::ostream &s) const
 
void toRBegin ()
 
bool isRBegin () const
 
void toREnd ()
 
bool isREnd () const
 
void backward ()
 
void backward (Distance distance)
 
void forward (Distance distance)
 
Vector< valuetype > & getData (Index index)
 
const Vector< valuetype > & getData (Index index) const
 

Protected Attributes

Matrix< valuetype, mtraits > * bound_
 
IteratorPosition position_
 
Vector< valuetype > vector_
 

Private Types

typedef valuetype ValueType
 
typedef valuetype * PointerType
 
typedef int IteratorPosition
 
typedef int Distance
 
typedef int Index
 

Friends

class Matrix< valuetype, mtraits >
 
std::ostream & operator<< (std::ostream &s, const DiagonalIteratorTraits &traits)
 

Detailed Description

template<class valuetype, class mtraits = StandardTraits>
class BALL::DiagonalIteratorTraits< valuetype, mtraits >

Definition at line 24 of file diagonalIterator.h.

Member Typedef Documentation

template<class valuetype , class mtraits = StandardTraits>
typedef int BALL::DiagonalIteratorTraits< valuetype, mtraits >::Distance
private

Definition at line 40 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
typedef int BALL::DiagonalIteratorTraits< valuetype, mtraits >::Index
private

Definition at line 44 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
typedef int BALL::DiagonalIteratorTraits< valuetype, mtraits >::IteratorPosition
private

Definition at line 36 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
typedef valuetype* BALL::DiagonalIteratorTraits< valuetype, mtraits >::PointerType
private

Definition at line 32 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
typedef valuetype BALL::DiagonalIteratorTraits< valuetype, mtraits >::ValueType
private

Definition at line 28 of file diagonalIterator.h.

Constructor & Destructor Documentation

template<class valuetype , class mtraits = StandardTraits>
virtual BALL::DiagonalIteratorTraits< valuetype, mtraits >::~DiagonalIteratorTraits ( )
inlinevirtual

Definition at line 49 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
BALL::DiagonalIteratorTraits< valuetype, mtraits >::DiagonalIteratorTraits ( )
inline

Definition at line 53 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
BALL::DiagonalIteratorTraits< valuetype, mtraits >::DiagonalIteratorTraits ( const Matrix< valuetype, mtraits > &  matrix)
inline

Definition at line 60 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
BALL::DiagonalIteratorTraits< valuetype, mtraits >::DiagonalIteratorTraits ( const DiagonalIteratorTraits< valuetype, mtraits > &  traits)
inline

Definition at line 67 of file diagonalIterator.h.

Member Function Documentation

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::backward ( )
inline

Definition at line 348 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::backward ( Distance  distance)
inline

Definition at line 385 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::dump ( std::ostream &  s) const
inline

Definition at line 295 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::forward ( )
inline

Definition at line 259 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::forward ( Distance  distance)
inline

Definition at line 422 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
Matrix<valuetype, mtraits>* BALL::DiagonalIteratorTraits< valuetype, mtraits >::getContainer ( )
inline

Definition at line 83 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
const Matrix<valuetype, mtraits>* BALL::DiagonalIteratorTraits< valuetype, mtraits >::getContainer ( ) const
inline

Definition at line 88 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
Vector<valuetype>& BALL::DiagonalIteratorTraits< valuetype, mtraits >::getData ( )
inline

Definition at line 196 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
const Vector<valuetype>& BALL::DiagonalIteratorTraits< valuetype, mtraits >::getData ( ) const
inline

Definition at line 227 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
Vector<valuetype>& BALL::DiagonalIteratorTraits< valuetype, mtraits >::getData ( Index  index)
inline

Definition at line 455 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
const Vector<valuetype>& BALL::DiagonalIteratorTraits< valuetype, mtraits >::getData ( Index  index) const
inline

Definition at line 505 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
Distance BALL::DiagonalIteratorTraits< valuetype, mtraits >::getDistance ( const DiagonalIteratorTraits< valuetype, mtraits > &  traits) const
inline

Definition at line 132 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
IteratorPosition& BALL::DiagonalIteratorTraits< valuetype, mtraits >::getPosition ( )
inline

Definition at line 98 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
const IteratorPosition& BALL::DiagonalIteratorTraits< valuetype, mtraits >::getPosition ( ) const
inline

Definition at line 103 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::invalidate ( )
inline

Definition at line 142 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::isBegin ( ) const
inline

Definition at line 160 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::isEnd ( ) const
inline

Definition at line 184 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::isRBegin ( ) const
inline

Definition at line 312 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::isREnd ( ) const
inline

Definition at line 336 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::isSingular ( ) const
inline

Definition at line 93 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::isValid ( ) const
inline

Definition at line 137 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::operator!= ( const DiagonalIteratorTraits< valuetype, mtraits > &  traits) const
inline

Definition at line 113 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::operator< ( const DiagonalIteratorTraits< valuetype, mtraits > &  traits) const
inline

Definition at line 118 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
DiagonalIteratorTraits& BALL::DiagonalIteratorTraits< valuetype, mtraits >::operator= ( const DiagonalIteratorTraits< valuetype, mtraits > &  traits)
inline

Definition at line 74 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
bool BALL::DiagonalIteratorTraits< valuetype, mtraits >::operator== ( const DiagonalIteratorTraits< valuetype, mtraits > &  traits) const
inline

Definition at line 108 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::toBegin ( )
inline

Definition at line 148 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::toEnd ( )
inline

Definition at line 172 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::toRBegin ( )
inline

Definition at line 300 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
void BALL::DiagonalIteratorTraits< valuetype, mtraits >::toREnd ( )
inline

Definition at line 324 of file diagonalIterator.h.

Friends And Related Function Documentation

template<class valuetype , class mtraits = StandardTraits>
friend class Matrix< valuetype, mtraits >
friend

Definition at line 46 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
std::ostream& operator<< ( std::ostream &  s,
const DiagonalIteratorTraits< valuetype, mtraits > &  traits 
)
friend

Definition at line 290 of file diagonalIterator.h.

Member Data Documentation

template<class valuetype , class mtraits = StandardTraits>
Matrix<valuetype, mtraits>* BALL::DiagonalIteratorTraits< valuetype, mtraits >::bound_
protected

Definition at line 557 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
IteratorPosition BALL::DiagonalIteratorTraits< valuetype, mtraits >::position_
protected

Definition at line 558 of file diagonalIterator.h.

template<class valuetype , class mtraits = StandardTraits>
Vector<valuetype> BALL::DiagonalIteratorTraits< valuetype, mtraits >::vector_
mutableprotected

Definition at line 559 of file diagonalIterator.h.