#include <mi32/vectiter.h>
Public Member Functions | |
| BITARRAY_ITERATOR (const UINT8 *bitarray, INT32 numitems, bool testval) | |
| INT32 | GetNumItems () const |
| bool | IsDone () const |
| INT32 | operator * () const |
| operator INT32 () const | |
| BITARRAY_ITERATOR & | operator++ () |
| void | Reset () |
| void | SetDone () |
| void | SetNumItems (INT32 numitems) |
| void | SetTestValue (bool testval) |
Definition at line 56 of file vectiter.h.
| BITARRAY_ITERATOR::BITARRAY_ITERATOR | ( | const UINT8 * | bitarray, | |
| INT32 | numitems, | |||
| bool | testval | |||
| ) | [inline] |
| bitarray | Bit array to iterate through |
| numitems | Number of items (not bytes) in bit array |
| testval | Value to test for |
Definition at line 59 of file vectiter.h.
| INT32 BITARRAY_ITERATOR::GetNumItems | ( | ) | const [inline] |
Definition at line 118 of file vectiter.h.
| bool BITARRAY_ITERATOR::IsDone | ( | ) | const [inline] |
| INT32 BITARRAY_ITERATOR::operator * | ( | ) | const [inline] |
| BITARRAY_ITERATOR::operator INT32 | ( | ) | const [inline] |
| BITARRAY_ITERATOR& BITARRAY_ITERATOR::operator++ | ( | ) | [inline] |
Definition at line 72 of file vectiter.h.
| void BITARRAY_ITERATOR::Reset | ( | ) | [inline] |
| void BITARRAY_ITERATOR::SetDone | ( | ) | [inline] |
| void BITARRAY_ITERATOR::SetNumItems | ( | INT32 | numitems | ) | [inline] |
Set number of items in bit array.
Does not change current iterator position.
NULL bitarray is all "false" so if want "true" then no items to iterate through
Definition at line 146 of file vectiter.h.
| void BITARRAY_ITERATOR::SetTestValue | ( | bool | testval | ) | [inline] |
Set bit value to test for.
Does not reset the iterator position.
Definition at line 162 of file vectiter.h.
1.5.2