#include <ISmbios.h>
Public Types | |
typedef std::forward_iterator_tag | iterator_category |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
SmbiosTableIteratorBase (const ISmbiosTable *initialTable=0, int typeToMatch=-1) | |
SmbiosTableIteratorBase & | operator= (const SmbiosTableIteratorBase &) |
virtual | ~SmbiosTableIteratorBase () throw () |
bool | operator== (const SmbiosTableIteratorBase &other) const |
bool | operator!= (const SmbiosTableIteratorBase &other) const |
void | incrementIterator () |
const ISmbiosItem & | dereference () const |
ISmbiosItem & | dereference () |
void | reset () |
bool | eof () |
Protected Attributes | |
int | matchType |
const ISmbiosTable * | table |
const u8 * | current |
The base class for iterators over ISmbiosTable. This class has all of the data items to keep track of the position. There is no good way to implement this as a pure abstract base class (interface) because of the way STL iterators were designed (I think.)
This class is stable and should not be modified.
Definition at line 354 of file ISmbios.h.
typedef std::forward_iterator_tag iterator_category |
typedef std::ptrdiff_t difference_type |
SmbiosTableIteratorBase | ( | const ISmbiosTable * | initialTable = 0 , |
|
int | typeToMatch = -1 | |||
) | [explicit] |
virtual ~SmbiosTableIteratorBase | ( | ) | throw () [virtual] |
SmbiosTableIteratorBase& operator= | ( | const SmbiosTableIteratorBase & | ) |
Reimplemented in ConstSmbiosTableIterator.
bool operator== | ( | const SmbiosTableIteratorBase & | other | ) | const |
bool operator!= | ( | const SmbiosTableIteratorBase & | other | ) | const |
void incrementIterator | ( | ) |
const ISmbiosItem& dereference | ( | ) | const |
ISmbiosItem& dereference | ( | ) |
void reset | ( | ) |
bool eof | ( | ) |
const ISmbiosTable* table [protected] |