Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

xchen::TensorArraySliceIterator< T, dims > Class Template Reference

#include <TensorArraySliceIterator.H>

List of all members.

Public Methods

 TensorArraySliceIterator (TensorArray< T, dims > *array, int dir=0, int start=0, int end=0)
 Iterate slice at [start, end) along dir .

bool PastEnd () const
 Use this instead of STL style end().

TensorArray1DIterator< T,
dims > 
Begin () const
TensorArray1DIterator< T,
dims > 
End () const
MyType & operator++ ()
 Arithmetic on the iterator.

MyType & operator+= (int inc)
 Arithmetic on the iterator.

MyType operator+ (int inc)
 Arithmetic on the iterator.

MyType & operator-- ()
 Arithmetic on the iterator.

MyType & operator-= (int inc)
 Arithmetic on the iterator.

MyType operator- (int inc)
 Arithmetic on the iterator.

MyType & operator= (MyType const &rhs)
 Arithematic operation on the iterated subarray(a slice along dir direction.

MyType & operator *= (double scale)
 Arithematic operation on the iterated subarray(a slice along dir direction.

MyType & operator/= (double denom)
 Arithematic operation on the iterated subarray(a slice along dir direction.

MyType & operator+= (MyType const &rhs)
 Arithematic operation on the iterated subarray(a slice along dir direction.

MyType & operator-= (MyType const &rhs)
 Arithematic operation on the iterated subarray(a slice along dir direction.

template<typename T, int dims>
class xchen::TensorArraySliceIterator< T, dims >


Constructor & Destructor Documentation

template<typename T, int dims>
xchen::TensorArraySliceIterator< T, dims >::TensorArraySliceIterator TensorArray< T, dims > *    array,
int    dir = 0,
int    start = 0,
int    end = 0
[inline]
 

Iterate slice at [start, end) along dir .


Member Function Documentation

template<typename T, int dims>
TensorArray1DIterator<T,dims> xchen::TensorArraySliceIterator< T, dims >::Begin   const [inline]
 

template<typename T, int dims>
TensorArray1DIterator<T,dims> xchen::TensorArraySliceIterator< T, dims >::End   const [inline]
 

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator *= double    scale [inline]
 

Arithematic operation on the iterated subarray(a slice along dir direction.

template<typename T, int dims>
MyType xchen::TensorArraySliceIterator< T, dims >::operator+ int    inc [inline]
 

Arithmetic on the iterator.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator++   [inline]
 

Arithmetic on the iterator.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator+= MyType const &    rhs [inline]
 

Arithematic operation on the iterated subarray(a slice along dir direction.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator+= int    inc [inline]
 

Arithmetic on the iterator.

template<typename T, int dims>
MyType xchen::TensorArraySliceIterator< T, dims >::operator- int    inc [inline]
 

Arithmetic on the iterator.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator--   [inline]
 

Arithmetic on the iterator.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator-= MyType const &    rhs [inline]
 

Arithematic operation on the iterated subarray(a slice along dir direction.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator-= int    inc [inline]
 

Arithmetic on the iterator.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator/= double    denom [inline]
 

Arithematic operation on the iterated subarray(a slice along dir direction.

template<typename T, int dims>
MyType& xchen::TensorArraySliceIterator< T, dims >::operator= MyType const &    rhs [inline]
 

Arithematic operation on the iterated subarray(a slice along dir direction.

template<typename T, int dims>
bool xchen::TensorArraySliceIterator< T, dims >::PastEnd   const [inline]
 

Use this instead of STL style end().


The documentation for this class was generated from the following file:
Generated on Wed Apr 7 21:40:52 2004 by doxygen1.2.18