BITARRAY_ITERATOR Class Reference

#include <mi32/vectiter.h>

List of all members.

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_ITERATORoperator++ ()
void Reset ()
void SetDone ()
void SetNumItems (INT32 numitems)
void SetTestValue (bool testval)


Detailed Description

Definition at line 56 of file vectiter.h.


Constructor & Destructor Documentation

BITARRAY_ITERATOR::BITARRAY_ITERATOR ( const UINT8 bitarray,
INT32  numitems,
bool  testval 
) [inline]

Parameters:
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.


Member Function Documentation

INT32 BITARRAY_ITERATOR::GetNumItems (  )  const [inline]

Definition at line 118 of file vectiter.h.

bool BITARRAY_ITERATOR::IsDone (  )  const [inline]

Determine if done iterating through items.

Definition at line 124 of file vectiter.h.

INT32 BITARRAY_ITERATOR::operator * (  )  const [inline]

Dereference operator - returns current item.

Definition at line 107 of file vectiter.h.

BITARRAY_ITERATOR::operator INT32 (  )  const [inline]

Cast to INT32 - returns current item.

Definition at line 113 of file vectiter.h.

BITARRAY_ITERATOR& BITARRAY_ITERATOR::operator++ (  )  [inline]

Definition at line 72 of file vectiter.h.

void BITARRAY_ITERATOR::Reset (  )  [inline]

Reset iterator to first selected item.

Definition at line 130 of file vectiter.h.

void BITARRAY_ITERATOR::SetDone (  )  [inline]

Set iterator to end.

Definition at line 138 of file vectiter.h.

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.


The documentation for this class was generated from the following file:
Generated on Thu Apr 26 04:46:58 2007 for TNTsdk by  doxygen 1.5.2