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

ConstTokenTableIterator Class Reference

Iterator for const TokenTable objects. More...

#include <IToken.h>

Inheritance diagram for ConstTokenTableIterator:

TokenTableIteratorBase List of all members.

Public Types

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

Public Member Functions

virtual ~ConstTokenTableIterator () throw ()
 ConstTokenTableIterator (const ITokenTable *initialTable=0, int typeToMatch=-1)
reference operator * () const
pointer operator-> () const
ConstTokenTableIteratoroperator++ ()
const ConstTokenTableIterator 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 const TokenTable objects.

Definition at line 225 of file IToken.h.


Member Typedef Documentation

typedef std::ptrdiff_t difference_type
 

Definition at line 235 of file IToken.h.

typedef std::forward_iterator_tag iterator_category
 

Definition at line 231 of file IToken.h.

typedef value_type* pointer
 

Definition at line 234 of file IToken.h.

Referenced by ConstTokenTableIterator::operator->().

typedef value_type& reference
 

Definition at line 233 of file IToken.h.

Referenced by ConstTokenTableIterator::operator *().

typedef const IToken value_type
 

Definition at line 232 of file IToken.h.


Constructor & Destructor Documentation

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

Definition at line 237 of file IToken.h.

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

Definition at line 238 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().

reference operator *  )  const [inline]
 

Definition at line 240 of file IToken.h.

References TokenTableIteratorBase::dereference(), and ConstTokenTableIterator::reference.

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

Definition at line 188 of file IToken.h.

References TokenTableIteratorBase::current.

const ConstTokenTableIterator operator++ int   ) 
 

Definition at line 99 of file TokenTableIterator.cpp.

ConstTokenTableIterator & operator++  ) 
 

Definition at line 91 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::incrementIterator().

pointer operator->  )  const [inline]
 

Definition at line 241 of file IToken.h.

References TokenTableIteratorBase::dereference(), and ConstTokenTableIterator::pointer.

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