SmbiosTableIteratorBase Class Reference

Iterator base class for ISmbiosTable objects. More...

#include <ISmbios.h>

Inheritance diagram for SmbiosTableIteratorBase:

ConstSmbiosTableIterator SmbiosTableIterator

List of all members.

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)
SmbiosTableIteratorBaseoperator= (const SmbiosTableIteratorBase &)
virtual ~SmbiosTableIteratorBase () throw ()
bool operator== (const SmbiosTableIteratorBase &other) const
bool operator!= (const SmbiosTableIteratorBase &other) const
void incrementIterator ()
const ISmbiosItemdereference () const
ISmbiosItemdereference ()
void reset ()
bool eof ()

Protected Attributes

int matchType
const ISmbiosTabletable
const u8current


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


Member Typedef Documentation

typedef std::forward_iterator_tag iterator_category

Definition at line 357 of file ISmbios.h.

typedef std::ptrdiff_t difference_type

Definition at line 358 of file ISmbios.h.


Constructor & Destructor Documentation

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

virtual ~SmbiosTableIteratorBase (  )  throw () [virtual]


Member Function Documentation

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 (  ) 


Member Data Documentation

int matchType [protected]

Definition at line 374 of file ISmbios.h.

const ISmbiosTable* table [protected]

Definition at line 375 of file ISmbios.h.

const u8* current [protected]

Definition at line 376 of file ISmbios.h.


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

Generated on Thu Jun 19 11:40:15 2008 for SMBIOS Library by  doxygen 1.5.5