#include <ISmbios.h>
Inheritance diagram for smbios::SmbiosTableIteratorBase:
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.
typedef std::ptrdiff_t smbios::SmbiosTableIteratorBase::difference_type |
typedef std::forward_iterator_tag smbios::SmbiosTableIteratorBase::iterator_category |
smbios::SmbiosTableIteratorBase::SmbiosTableIteratorBase | ( | const ISmbiosTable * | initialTable = 0 , |
|
int | typeToMatch = -1 | |||
) | [explicit] |
virtual smbios::SmbiosTableIteratorBase::~SmbiosTableIteratorBase | ( | ) | throw () [virtual] |
ISmbiosItem& smbios::SmbiosTableIteratorBase::dereference | ( | ) |
const ISmbiosItem& smbios::SmbiosTableIteratorBase::dereference | ( | ) | const |
bool smbios::SmbiosTableIteratorBase::eof | ( | ) |
void smbios::SmbiosTableIteratorBase::incrementIterator | ( | ) |
bool smbios::SmbiosTableIteratorBase::operator!= | ( | const SmbiosTableIteratorBase & | other | ) | const |
SmbiosTableIteratorBase& smbios::SmbiosTableIteratorBase::operator= | ( | const SmbiosTableIteratorBase & | ) |
Reimplemented in smbios::ConstSmbiosTableIterator.
bool smbios::SmbiosTableIteratorBase::operator== | ( | const SmbiosTableIteratorBase & | other | ) | const |
void smbios::SmbiosTableIteratorBase::reset | ( | ) |
const u8* smbios::SmbiosTableIteratorBase::current [protected] |
int smbios::SmbiosTableIteratorBase::matchType [protected] |
const ISmbiosTable* smbios::SmbiosTableIteratorBase::table [protected] |