IndexedIterator [MTL Home] Programmers Guide
  Contents | Index |  Search 


Category:iterators Component type:concept
Description
The iterator concept for iterators of Vector's. An IndexedIterator provides access to the indices, as well as the elements, of a Vector. For instance, i.row() gives the row index cooresponding to the element *i.
Refinement of
BidirectionalIterator
Associated types
Concept Type name Description
Notations

XA type that is a model of IndexedIterator
iObject of type X
VA type that is a model of Vector
aAn object of type V
nAn object of integral type
rA row in some Matrix.
Definitions
Expression semantics
Description Expression Semantics
Row Index access i.row()  
Column Index access i.column()  
Index access i.index()  
Function specification
Name Function Complexity
Row Index access size_type row() constant time
Column Index access size_type column() constant time
Index access size_type index() constant time
Invariants
Models
Notes
See also

[MTL Home] Copyright © 1998,1999 University of Notre Dame. All Rights Reserved.