SmbiosTableIteratorBase Class Reference

Iterator base class for ISmbiosTable objects. More...

#include <ISmbios.h>

Inheritance diagram for SmbiosTableIteratorBase:

Inheritance graph
[legend]
Collaboration diagram for SmbiosTableIteratorBase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SmbiosTableIteratorBase (const ISmbiosTable *initialTable=0, int typeToMatch=-1)
virtual ~SmbiosTableIteratorBase () throw ()
bool operator== (const SmbiosTableIteratorBase other) const
bool operator!= (const SmbiosTableIteratorBase other) const

Protected Member Functions

void incrementIterator ()
ISmbiosItemdereference () const

Protected Attributes

int matchType
const ISmbiosTabletable
const void * current


Detailed Description

Iterator base class for ISmbiosTable objects.

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 391 of file ISmbios.h.


Constructor & Destructor Documentation

SmbiosTableIteratorBase ( const ISmbiosTable initialTable = 0,
int  typeToMatch = -1 
) [inline, explicit]

Definition at line 395 of file ISmbios.h.

References SmbiosTableIteratorBase::incrementIterator().

Here is the call graph for this function:

virtual ~SmbiosTableIteratorBase (  )  throw () [inline, virtual]

Definition at line 398 of file ISmbios.h.


Member Function Documentation

bool operator== ( const SmbiosTableIteratorBase  other  )  const [inline]

Definition at line 399 of file ISmbios.h.

References SmbiosTableIteratorBase::current.

bool operator!= ( const SmbiosTableIteratorBase  other  )  const [inline]

Definition at line 400 of file ISmbios.h.

References SmbiosTableIteratorBase::current.

void incrementIterator (  )  [protected]

ISmbiosItem & dereference (  )  const [protected]


Member Data Documentation

int matchType [protected]

Definition at line 406 of file ISmbios.h.

Referenced by SmbiosTableIteratorBase::incrementIterator().

const ISmbiosTable* table [protected]

const void* current [mutable, protected]


The documentation for this class was generated from the following files:

Generated on Tue Jul 22 14:58:29 2008 for SMBIOS Library by  doxygen 1.5.5