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 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]

Definition at line 90 of file SmbiosTableIterator.cpp.

References SmbiosTableIteratorBase::incrementIterator().

Here is the call graph for this function:

~SmbiosTableIteratorBase (  )  throw () [virtual]

Definition at line 30 of file SmbiosTableIterator.cpp.


Member Function Documentation

SmbiosTableIteratorBase & operator= ( const SmbiosTableIteratorBase rhs  ) 

bool operator== ( const SmbiosTableIteratorBase other  )  const

Definition at line 96 of file SmbiosTableIterator.cpp.

References SmbiosTableIteratorBase::current.

bool operator!= ( const SmbiosTableIteratorBase other  )  const

Definition at line 101 of file SmbiosTableIterator.cpp.

References SmbiosTableIteratorBase::current.

void incrementIterator (  ) 

const ISmbiosItem & dereference (  )  const

ISmbiosItem & dereference (  ) 

void reset (  ) 

Definition at line 34 of file SmbiosTableIterator.cpp.

References SmbiosTableIteratorBase::current, and SmbiosTableIteratorBase::incrementIterator().

Here is the call graph for this function:

bool eof (  ) 

Definition at line 40 of file SmbiosTableIterator.cpp.

References SmbiosTableIteratorBase::current.


Member Data Documentation

int matchType [protected]

const ISmbiosTable* table [protected]

const u8* current [protected]


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

Generated on Wed Aug 27 00:05:34 2008 for SMBIOS Library by  doxygen 1.5.6