SmbiosTableIterator Class Reference

Iterator for ISmbiosTable objects. More...

#include <ISmbios.h>

Inheritance diagram for SmbiosTableIterator:

SmbiosTableIteratorBase

List of all members.

Public Types

typedef std::forward_iterator_tag iterator_category
typedef ISmbiosItem value_type
typedef value_typereference
typedef value_typepointer
typedef std::ptrdiff_t difference_type

Public Member Functions

virtual ~SmbiosTableIterator () throw ()
 SmbiosTableIterator (ISmbiosTable *initialTable=0, int typeToMatch=-1)
reference operator* () const
pointer operator-> () const
SmbiosTableIteratoroperator++ ()
const SmbiosTableIterator operator++ (int)


Detailed Description

Iterator for ISmbiosTable objects.

In order to properly enforce difference between iterator and const_iterator, we need to derive them both separately from the base iterator class. the const_iterator cannot inherit from iterator, or compiler will automatically convert between the two, which is not good.

This class is stable. Do not add or remove any members from it.

Definition at line 419 of file ISmbios.h.


Member Typedef Documentation

typedef std::ptrdiff_t difference_type

Definition at line 429 of file ISmbios.h.

typedef std::forward_iterator_tag iterator_category

Definition at line 425 of file ISmbios.h.

typedef value_type* pointer

Definition at line 428 of file ISmbios.h.

Definition at line 427 of file ISmbios.h.

Definition at line 426 of file ISmbios.h.


Constructor & Destructor Documentation

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

Definition at line 431 of file ISmbios.h.

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

Definition at line 432 of file ISmbios.h.


Member Function Documentation

reference operator* (  )  const [inline]

Definition at line 434 of file ISmbios.h.

References SmbiosTableIteratorBase::dereference().

const SmbiosTableIterator operator++ ( int   )  [inline]

Definition at line 437 of file ISmbios.h.

SmbiosTableIterator& operator++ (  )  [inline]

Definition at line 436 of file ISmbios.h.

References SmbiosTableIteratorBase::incrementIterator().

pointer operator-> (  )  const [inline]

Definition at line 435 of file ISmbios.h.

References SmbiosTableIteratorBase::dereference().


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

Generated on Tue Dec 23 18:41:25 2008 for SMBIOS Library by  doxygen 1.5.7