SourcePro® 2024.1 |
SourcePro® API Reference Guide |
The random access iterator for the RWGenMat collection class. More...
#include <rw/math/genmat.h>
Friends | |
class | RWGenMat< T > |
Additional Inherited Members | |
Public Types inherited from RWGenMatIteratorBase< T > | |
typedef RWGenMat< T >::const_pointer | const_pointer |
typedef RWGenMat< T >::difference_type | difference_type |
typedef RWGenMat< T >::value_type | value_type |
Class RWGenMatConstIterator is the random access iterator for the RWGenMat collection class. The RWGenMatConstIterator class behaves like a pointer to type T and is used to increment through elements of an RWGenMat. The RWGenMatConstIterator differs from a plain RWGenMatIterator in that the value of a dereferenced RWGenMatConstIterator may not be changed.
|
inline |
Constructs an iterator that is in an uninitialized state. The iterator must be initialized before it is dereferenced.
|
inline |
Constructs a RWGenMatConstIterator from another RWGenMatIterator or RWGenMatConstIterator. Initialized RWGenMatIterator and RWGenMatConstIterator instances can be obtained via the RWGenMat::begin() and RWGenMat::end() member functions of RWGenMat.
|
inline |
Returns a reference to the element pointed to by self.
|
inline |
Returns a RWGenMatConstIterator that is n elements past (or before) self.
|
inline |
Prefix increment operator. The RWGenMatConstIterator points to the next element in the RWGenMat. No error condition is set if the RWGenMatConstIterator goes past the bounds of the matrix. Compare to RWGenMat::begin() and RWGenMat::end() to check that the RWGenMatConstIterator position is valid.
|
inline |
Postfix increment operator. The RWGenMatConstIterator points to the next element in the RWGenMat. No error condition is set if the RWGenMatConstIterator goes past the bounds of the matrix. Compare to RWGenMat::begin() and RWGenMat::end() to check that the RWGenMatConstIterator position is valid.
|
inline |
The RWGenMatConstIterator is moved forward d elements in the RWGenMat. No error condition is set if the RWGenMatConstIterator goes past the bounds of the matrix. Incrementing by d and then decrementing by d returns the RWGenMatConstIterator to its original position, even if doing so takes it past the bounds of the matrix.
|
inline |
If the return value is positive, the RWGenMatConstIterator is that many elements past the RWGenMatConstIterator x. If the return value is negative, the RWGenMatConstIterator is that many elements before the RWGenMatConstIterator x.
|
inline |
Returns a RWGenMatConstIterator that is n elements past (or before) self.
|
inline |
Prefix decrement operator. The RWGenMatConstIterator points to the previous element in the RWGenMat. No error condition is set if the RWGenMatConstIterator goes past the bounds of the matrix. Compare to RWGenMat::begin() and RWGenMat::end() to check that the RWGenMatConstIterator position is valid.
|
inline |
Postfix decrement operator. The RWGenMatConstIterator points to the previous element in the RWGenMat. No error condition is set if the RWGenMatConstIterator goes past the bounds of the matrix. Compare to RWGenMat::begin() and RWGenMat::end() to check that the RWGenMatConstIterator position is valid.
|
inline |
The RWGenMatConstIterator is moved backward d elements in the RWGenMat. No error condition is set if the RWGenMatConstIterator goes past the bounds of the matrix. Incrementing by d and then decrementing by d returns the RWGenMatConstIterator to its original position, even if doing so takes it past the bounds of the matrix.
|
inline |
For iterator a, and identifier m, a->m is equivalent to (*a).m.
|
inline |
Returns a reference to the element n elements after self if n is positive, or before self if n is negative.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |