BlockIterator< T > Class Template Reference

An iterator that strides non-contiguous blocks of data. More...

#include <BlockIterator.h>

Public Member Functions

 BlockIterator (T *start_of_first_block)
 Construct from base pointer.
 
 BlockIterator (const BlockIterator &copy)
 
const BlockIteratoroperator= (const BlockIterator &copy)
 
void set_data_size (unsigned size)
 
unsigned get_data_size () const
 
void set_block_size (unsigned size)
 
unsigned get_block_size () const
 
void set_increment (unsigned step)
 
const void * ptr ()
 
void operator++ ()
 
operator* () const
 

Protected Attributes

T * current
 
T * end_of_data
 
unsigned data_size
 
unsigned block_size
 
unsigned increment
 

Detailed Description

template<typename T>
class BlockIterator< T >

An iterator that strides non-contiguous blocks of data.


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17