Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TokenTableIterator Class Reference

Iterator for TokenTable objects. More...

#include <IToken.h>

Inheritance diagram for TokenTableIterator:

TokenTableIteratorBase List of all members.

Public Types

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

Public Member Functions

virtual ~TokenTableIterator () throw ()
 TokenTableIterator (const ITokenTable *initialTable=0, int typeToMatch=-1)
ITokenoperator * () const
ITokenoperator-> () const
TokenTableIteratoroperator++ ()
const TokenTableIterator operator++ (int)
bool operator== (const TokenTableIteratorBase other) const
bool operator!= (const TokenTableIteratorBase other) const

Protected Member Functions

ITokendereference () const
void incrementIterator ()

Protected Attributes

int matchType
const ITokenTabletable
int current

Detailed Description

Iterator for TokenTable objects.

Definition at line 201 of file IToken.h.


Member Typedef Documentation

typedef std::ptrdiff_t difference_type
 

Definition at line 211 of file IToken.h.

typedef std::forward_iterator_tag iterator_category
 

Definition at line 207 of file IToken.h.

typedef value_type* pointer
 

Definition at line 210 of file IToken.h.

typedef value_type& reference
 

Definition at line 209 of file IToken.h.

typedef IToken value_type
 

Definition at line 208 of file IToken.h.


Constructor & Destructor Documentation

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

Definition at line 213 of file IToken.h.

TokenTableIterator const ITokenTable initialTable = 0,
int  typeToMatch = -1
[inline, explicit]
 

Definition at line 214 of file IToken.h.


Member Function Documentation

IToken * dereference  )  const [protected, inherited]
 

Definition at line 36 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::current, TokenTableIteratorBase::table, and TokenTable::tokenList.

Referenced by ConstTokenTableIterator::operator *(), TokenTableIterator::operator *(), ConstTokenTableIterator::operator->(), and TokenTableIterator::operator->().

void incrementIterator  )  [protected, inherited]
 

Definition at line 48 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::current, TokenTableIteratorBase::matchType, TokenTableIteratorBase::table, and TokenTable::tokenList.

Referenced by ConstTokenTableIterator::operator++(), TokenTableIterator::operator++(), and TokenTableIteratorBase::TokenTableIteratorBase().

IToken& operator *  )  const [inline]
 

Definition at line 216 of file IToken.h.

References TokenTableIteratorBase::dereference().

bool operator!= const TokenTableIteratorBase  other  )  const [inline, inherited]
 

Definition at line 188 of file IToken.h.

References TokenTableIteratorBase::current.

const TokenTableIterator operator++ int   ) 
 

Definition at line 83 of file TokenTableIterator.cpp.

TokenTableIterator & operator++  ) 
 

Definition at line 75 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::incrementIterator().

IToken* operator->  )  const [inline]
 

Definition at line 217 of file IToken.h.

References TokenTableIteratorBase::dereference().

bool operator== const TokenTableIteratorBase  other  )  const [inline, inherited]
 

Definition at line 187 of file IToken.h.

References TokenTableIteratorBase::current.


Member Data Documentation

int current [mutable, protected, inherited]
 

Definition at line 195 of file IToken.h.

Referenced by TokenTableIteratorBase::dereference(), TokenTableIteratorBase::incrementIterator(), TokenTableIteratorBase::operator!=(), TokenTableIteratorBase::operator==(), and TokenTableIteratorBase::TokenTableIteratorBase().

int matchType [protected, inherited]
 

Definition at line 193 of file IToken.h.

Referenced by TokenTableIteratorBase::incrementIterator().

const ITokenTable* table [protected, inherited]
 

Definition at line 194 of file IToken.h.

Referenced by TokenTableIteratorBase::dereference(), TokenTableIteratorBase::incrementIterator(), and TokenTableIteratorBase::TokenTableIteratorBase().


The documentation for this class was generated from the following files:
Generated on Wed Apr 11 16:25:12 2007 for SMBIOS Library by doxygen 1.3.5