oasys::SparseBitmap< _inttype_t >::iterator Class Reference
#include <SparseBitmap.h>
List of all members.
Detailed Description
template<typename _inttype_t>
class oasys::SparseBitmap< _inttype_t >::iterator
An STL-like iterator class.
However, to keep in-line with the sparse nature of the class, incrementing the iterator advances only through over the set bits in the bitmap, and the dereference operator returns the offset of the set bit.
For example, if bits 1, 5, and 10 are set, then dereferencing the return from begin() returns 1, incrementing and dereferencing returns 5, etc.
Definition at line 144 of file SparseBitmap.h.
Constructor & Destructor Documentation
template<typename _inttype_t>
Constructor to initialize an empty iterator.
Definition at line 517 of file SparseBitmap.h.
template<typename _inttype_t>
| oasys::SparseBitmap< _inttype_t >::iterator::iterator |
( |
typename RangeVector::iterator |
iter, |
|
|
_inttype_t |
offset | |
|
) |
| | [private] |
Member Function Documentation
template<typename _inttype_t>
Dereference operator returns the current bit offset.
Definition at line 533 of file SparseBitmap.h.
template<typename _inttype_t>
template<typename _inttype_t>
template<typename _inttype_t>
template<typename _inttype_t>
template<typename _inttype_t>
template<typename _inttype_t>
template<typename _inttype_t>
template<typename _inttype_t>
template<typename _inttype_t>
Advance past any contiguous bits, returning an iterator at the last contiguous bit that's set.
The iterator must not be pointing at end() for this to be called.
Definition at line 640 of file SparseBitmap.h.
Friends And Related Function Documentation
template<typename _inttype_t>
Member Data Documentation
template<typename _inttype_t>
template<typename _inttype_t>
The documentation for this class was generated from the following file:
Generated on Thu Aug 31 21:06:07 2006 for DTN Reference Implementation by
1.4.7