Public Member Functions | Private Member Functions | Private Attributes | Friends
TSFExtended::SequentialIterator< Scalar > Class Template Reference

List of all members.

Public Member Functions

 SequentialIterator ()
bool operator== (const SequentialIterator< Scalar > &other) const
bool operator!= (const SequentialIterator< Scalar > &other) const
SequentialIterator< Scalar > operator++ (int)
const VectorSpace< Scalar > & space () const
std::ostream & print (std::ostream &os) const
const OrdTypeglobalIndex () const

Private Member Functions

const OrdTypeindexInBlock () const
const OrdTypeblockIndex () const
 SequentialIterator (const VectorSpace< Scalar > &space, int blockIndex, int indexInCurrentBlock, int globalIndex)
 Constructor is private: the construction is always done inside the begin and end methods of vector space.
 SequentialIterator (const VectorSpace< Scalar > &space)
 Constructor is private: the construction is always done inside the begin and end methods of vector space.

Private Attributes

RCP< VectorSpace< Scalar > > space_
OrdType blockIndex_
OrdType indexInCurrentBlock_
OrdType globalIndex_
bool atEnd_

Friends

class VectorSpace< Scalar >
class Vector< Scalar >

Detailed Description

template<class Scalar>
class TSFExtended::SequentialIterator< Scalar >

Definition at line 51 of file TSFSequentialIteratorDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
TSFExtended::SequentialIterator< Scalar >::SequentialIterator ( ) [inline]

Definition at line 59 of file TSFSequentialIteratorDecl.hpp.

template<class Scalar >
TSFExtended::SequentialIterator< Scalar >::SequentialIterator ( const VectorSpace< Scalar > &  space,
int  blockIndex,
int  indexInCurrentBlock,
int  globalIndex 
) [inline, private]

Constructor is private: the construction is always done inside the begin and end methods of vector space.

Definition at line 74 of file TSFSequentialIteratorImpl.hpp.

template<class Scalar >
TSFExtended::SequentialIterator< Scalar >::SequentialIterator ( const VectorSpace< Scalar > &  space) [inline, private]

Constructor is private: the construction is always done inside the begin and end methods of vector space.

Definition at line 86 of file TSFSequentialIteratorImpl.hpp.


Member Function Documentation

template<class Scalar>
const OrdType& TSFExtended::SequentialIterator< Scalar >::blockIndex ( ) const [inline, private]
template<class Scalar>
const OrdType& TSFExtended::SequentialIterator< Scalar >::globalIndex ( ) const [inline]
template<class Scalar>
const OrdType& TSFExtended::SequentialIterator< Scalar >::indexInBlock ( ) const [inline, private]
template<class Scalar>
bool TSFExtended::SequentialIterator< Scalar >::operator!= ( const SequentialIterator< Scalar > &  other) const [inline]
template<class Scalar >
SequentialIterator< Scalar > TSFExtended::SequentialIterator< Scalar >::operator++ ( int  ) [inline]

Definition at line 57 of file TSFSequentialIteratorImpl.hpp.

template<class Scalar >
bool TSFExtended::SequentialIterator< Scalar >::operator== ( const SequentialIterator< Scalar > &  other) const [inline]
template<class Scalar >
std::ostream & TSFExtended::SequentialIterator< Scalar >::print ( std::ostream &  os) const [inline]

Definition at line 98 of file TSFSequentialIteratorImpl.hpp.

Referenced by TSFExtended::operator<<().

template<class Scalar >
const VectorSpace< Scalar > & TSFExtended::SequentialIterator< Scalar >::space ( ) const [inline]

Definition at line 67 of file TSFSequentialIteratorImpl.hpp.


Friends And Related Function Documentation

template<class Scalar>
friend class Vector< Scalar > [friend]

Definition at line 56 of file TSFSequentialIteratorDecl.hpp.

template<class Scalar>
friend class VectorSpace< Scalar > [friend]

Definition at line 55 of file TSFSequentialIteratorDecl.hpp.


Member Data Documentation

template<class Scalar>
bool TSFExtended::SequentialIterator< Scalar >::atEnd_ [private]
template<class Scalar>
OrdType TSFExtended::SequentialIterator< Scalar >::blockIndex_ [private]
template<class Scalar>
OrdType TSFExtended::SequentialIterator< Scalar >::globalIndex_ [private]
template<class Scalar>
OrdType TSFExtended::SequentialIterator< Scalar >::indexInCurrentBlock_ [private]
template<class Scalar>
RCP<VectorSpace<Scalar> > TSFExtended::SequentialIterator< Scalar >::space_ [private]

Site Contact