compressed_iter<int isConst, Value, Index, int IND_OFFSET> [MTL Home] Programmers Guide
  Contents | Index |  Search 


Category:iterators Component type:type
Description
Iterates through a value array and index array. This is used by the compressed1D and compressed2D classes. protected:
Example
Definition
Template Parameters

ParameterDescriptionDefault
ValueThe type of the value array 
IndexThe type of the index array 
Model of
Members
Member Where defined Description
difference_type    
distance_type    
pointer    
reference    
const_reference    
compressed_iter ()    
compressed_iter (const self& x)    
struct bogus    
NonConst    
compressed_iter (const NonConst& x)    
self& operator= (const self& x)    
compressed_iter (value_iter_t vals, index_iter_t inds, int p)    
int index () const    
void set_index (int i)    
reference operator* () const    
self& operator ()    
self operator (int)    
self& operator-- ()    
self operator-- (int)    
self& operator+= (int n)    
self& operator-= (int n)    
self operator+ (int n)    
self operator- (int n) const    
int operator- (const self& x) const    
bool operator != (const self& y) const    
bool operator < (const self& y) const    
bool operator == (const self& y) const    
index_iter_t index_iter () const    
value_iter_t value_iter () const    
index_iter_t index_iter_    
value_iter_t value_iter_    
int pos    
New members
Notes
See also

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