smbios::SmbiosTableIteratorBase Class Reference

Iterator base class for ISmbiosTable objects. More...

#include <ISmbios.h>

Inheritance diagram for smbios::SmbiosTableIteratorBase:
Inheritance graph
[legend]
Collaboration diagram for smbios::SmbiosTableIteratorBase:
Collaboration graph
[legend]

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.


Member Typedef Documentation

typedef std::forward_iterator_tag smbios::SmbiosTableIteratorBase::iterator_category

Constructor & Destructor Documentation

smbios::SmbiosTableIteratorBase::SmbiosTableIteratorBase ( const ISmbiosTable initialTable = 0,
int  typeToMatch = -1 
) [explicit]
virtual smbios::SmbiosTableIteratorBase::~SmbiosTableIteratorBase (  )  throw () [virtual]

Member Function Documentation

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  ) 
bool smbios::SmbiosTableIteratorBase::operator== ( const SmbiosTableIteratorBase other  )  const
void smbios::SmbiosTableIteratorBase::reset (  ) 

Field Documentation


The documentation for this class was generated from the following file:
Generated on Wed Jul 28 08:16:09 2010 for libsmbios_c library by  doxygen 1.6.3