SMBIOS Library
Public Types | Public Member Functions | Protected Attributes | List of all members
TokenTableIterator Class Reference

Iterator for TokenTable objects. More...

#include <IToken.h>

Inheritance diagram for TokenTableIterator:
Inheritance graph
Collaboration diagram for TokenTableIterator:
Collaboration graph

Public Types

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

Public Member Functions

virtual ~TokenTableIterator () throw ()
 TokenTableIterator (const ITokenTable *initialTable=0, int typeToMatch=-1)
reference operator* () const
pointer operator-> () const
TokenTableIteratoroperator++ ()
const TokenTableIterator operator++ (int)
bool operator== (const TokenTableIteratorBase other) const
bool operator!= (const TokenTableIteratorBase other) const
const ITokendereference () const
ITokendereference ()
void incrementIterator ()
void reset ()
bool eof ()

Protected Attributes

int matchType
const ITokenTabletable
int current

Detailed Description

Iterator for TokenTable objects.

Definition at line 208 of file IToken.h.

Member Typedef Documentation

typedef std::ptrdiff_t difference_type
inherited

Definition at line 186 of file IToken.h.

typedef std::forward_iterator_tag iterator_category
inherited

Definition at line 185 of file IToken.h.

typedef value_type* pointer

Definition at line 216 of file IToken.h.

Definition at line 215 of file IToken.h.

typedef IToken value_type

Definition at line 214 of file IToken.h.

Constructor & Destructor Documentation

virtual ~TokenTableIterator ( ) throw ()
inlinevirtual

Definition at line 218 of file IToken.h.

TokenTableIterator ( const ITokenTable initialTable = 0,
int  typeToMatch = -1 
)
explicit

Definition at line 30 of file TokenTableIterator.cpp.

Member Function Documentation

const IToken * dereference ( ) const
inherited
IToken * dereference ( )
inherited
bool eof ( )
inherited

Definition at line 50 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::current.

void incrementIterator ( )
inherited
bool operator!= ( const TokenTableIteratorBase  other) const
inlineinherited

Definition at line 191 of file IToken.h.

References TokenTableIteratorBase::current.

IToken & operator* ( ) const

Definition at line 55 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::dereference().

Here is the call graph for this function:

TokenTableIterator & operator++ ( )

Definition at line 120 of file TokenTableIterator.cpp.

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

Here is the call graph for this function:

const TokenTableIterator operator++ ( int  )

Definition at line 128 of file TokenTableIterator.cpp.

IToken * operator-> ( ) const

Definition at line 60 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::dereference().

Here is the call graph for this function:

bool operator== ( const TokenTableIteratorBase  other) const
inlineinherited

Definition at line 190 of file IToken.h.

References TokenTableIteratorBase::current.

void reset ( )
inherited

Definition at line 44 of file TokenTableIterator.cpp.

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

Here is the call graph for this function:

Member Data Documentation

int current
protectedinherited
int matchType
protectedinherited

Definition at line 200 of file IToken.h.

Referenced by TokenTableIteratorBase::incrementIterator().

const ITokenTable* table
protectedinherited

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