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::VectorIteratorTraits< valuetype > Class Template Reference

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

Public Member Functions

virtual ~VectorIteratorTraits ()
 
 VectorIteratorTraits ()
 
 VectorIteratorTraits (const Vector< valuetype > &vector)
 
 VectorIteratorTraits (const VectorIteratorTraits &traits)
 
VectorIteratorTraitsoperator= (const VectorIteratorTraits &traits)
 
Vector< valuetype > * getContainer ()
 
const Vector< valuetype > * getContainer () const
 
bool isSingular () const
 
IteratorPositiongetPosition ()
 
const IteratorPositiongetPosition () const
 
bool operator== (const VectorIteratorTraits &traits) const
 
bool operator!= (const VectorIteratorTraits &traits) const
 
bool operator< (const VectorIteratorTraits &traits) const
 
Distance getDistance (const VectorIteratorTraits &traits) const
 
bool isValid () const
 
void invalidate ()
 
void toBegin ()
 
bool isBegin () const
 
void toEnd ()
 
bool isEnd () const
 
ValueTypegetData ()
 
const ValueTypegetData () 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)
 
ValueTypegetData (Index index)
 
const ValueTypegetData (Index index) const
 

Protected Attributes

Vector< valuetype > * bound_
 
IteratorPosition position_
 

Private Types

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

Friends

class Vector< valuetype >
 
std::ostream & operator<< (std::ostream &s, const VectorIteratorTraits &traits)
 

Detailed Description

template<typename valuetype>
class BALL::VectorIteratorTraits< valuetype >

Definition at line 20 of file vectorIterator.h.

Member Typedef Documentation

template<typename valuetype >
typedef int BALL::VectorIteratorTraits< valuetype >::Distance
private

Definition at line 37 of file vectorIterator.h.

template<typename valuetype >
typedef int BALL::VectorIteratorTraits< valuetype >::Index
private

Definition at line 41 of file vectorIterator.h.

template<typename valuetype >
typedef int BALL::VectorIteratorTraits< valuetype >::IteratorPosition
private

Definition at line 33 of file vectorIterator.h.

template<typename valuetype >
typedef valuetype* BALL::VectorIteratorTraits< valuetype >::PointerType
private

Definition at line 29 of file vectorIterator.h.

template<typename valuetype >
typedef valuetype BALL::VectorIteratorTraits< valuetype >::ValueType
private

Definition at line 25 of file vectorIterator.h.

Constructor & Destructor Documentation

template<typename valuetype >
virtual BALL::VectorIteratorTraits< valuetype >::~VectorIteratorTraits ( )
inlinevirtual

Definition at line 46 of file vectorIterator.h.

template<typename valuetype >
BALL::VectorIteratorTraits< valuetype >::VectorIteratorTraits ( )
inline

Definition at line 50 of file vectorIterator.h.

template<typename valuetype >
BALL::VectorIteratorTraits< valuetype >::VectorIteratorTraits ( const Vector< valuetype > &  vector)
inline

Definition at line 56 of file vectorIterator.h.

template<typename valuetype >
BALL::VectorIteratorTraits< valuetype >::VectorIteratorTraits ( const VectorIteratorTraits< valuetype > &  traits)
inline

Definition at line 62 of file vectorIterator.h.

Member Function Documentation

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::backward ( )
inline

Definition at line 197 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::backward ( Distance  distance)
inline

Definition at line 202 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::dump ( std::ostream &  s) const
inline

Definition at line 172 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::forward ( )
inline

Definition at line 162 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::forward ( Distance  distance)
inline

Definition at line 207 of file vectorIterator.h.

template<typename valuetype >
Vector<valuetype>* BALL::VectorIteratorTraits< valuetype >::getContainer ( )
inline

Definition at line 76 of file vectorIterator.h.

template<typename valuetype >
const Vector<valuetype>* BALL::VectorIteratorTraits< valuetype >::getContainer ( ) const
inline

Definition at line 81 of file vectorIterator.h.

template<typename valuetype >
ValueType& BALL::VectorIteratorTraits< valuetype >::getData ( )
inline

Definition at line 152 of file vectorIterator.h.

template<typename valuetype >
const ValueType& BALL::VectorIteratorTraits< valuetype >::getData ( ) const
inline

Definition at line 157 of file vectorIterator.h.

template<typename valuetype >
ValueType& BALL::VectorIteratorTraits< valuetype >::getData ( Index  index)
inline

Definition at line 212 of file vectorIterator.h.

template<typename valuetype >
const ValueType& BALL::VectorIteratorTraits< valuetype >::getData ( Index  index) const
inline

Definition at line 217 of file vectorIterator.h.

template<typename valuetype >
Distance BALL::VectorIteratorTraits< valuetype >::getDistance ( const VectorIteratorTraits< valuetype > &  traits) const
inline

Definition at line 116 of file vectorIterator.h.

template<typename valuetype >
IteratorPosition& BALL::VectorIteratorTraits< valuetype >::getPosition ( )
inline

Definition at line 91 of file vectorIterator.h.

template<typename valuetype >
const IteratorPosition& BALL::VectorIteratorTraits< valuetype >::getPosition ( ) const
inline

Definition at line 96 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::invalidate ( )
inline

Definition at line 126 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::isBegin ( ) const
inline

Definition at line 137 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::isEnd ( ) const
inline

Definition at line 147 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::isRBegin ( ) const
inline

Definition at line 182 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::isREnd ( ) const
inline

Definition at line 192 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::isSingular ( ) const
inline

Definition at line 86 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::isValid ( ) const
inline

Definition at line 121 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::operator!= ( const VectorIteratorTraits< valuetype > &  traits) const
inline

Definition at line 106 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::operator< ( const VectorIteratorTraits< valuetype > &  traits) const
inline

Definition at line 111 of file vectorIterator.h.

template<typename valuetype >
VectorIteratorTraits& BALL::VectorIteratorTraits< valuetype >::operator= ( const VectorIteratorTraits< valuetype > &  traits)
inline

Definition at line 68 of file vectorIterator.h.

template<typename valuetype >
bool BALL::VectorIteratorTraits< valuetype >::operator== ( const VectorIteratorTraits< valuetype > &  traits) const
inline

Definition at line 101 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::toBegin ( )
inline

Definition at line 132 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::toEnd ( )
inline

Definition at line 142 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::toRBegin ( )
inline

Definition at line 177 of file vectorIterator.h.

template<typename valuetype >
void BALL::VectorIteratorTraits< valuetype >::toREnd ( )
inline

Definition at line 187 of file vectorIterator.h.

Friends And Related Function Documentation

template<typename valuetype >
std::ostream& operator<< ( std::ostream &  s,
const VectorIteratorTraits< valuetype > &  traits 
)
friend

Definition at line 167 of file vectorIterator.h.

template<typename valuetype >
friend class Vector< valuetype >
friend

Definition at line 43 of file vectorIterator.h.

Member Data Documentation

template<typename valuetype >
Vector<valuetype>* BALL::VectorIteratorTraits< valuetype >::bound_
protected

Definition at line 225 of file vectorIterator.h.

template<typename valuetype >
IteratorPosition BALL::VectorIteratorTraits< valuetype >::position_
protected

Definition at line 226 of file vectorIterator.h.