Public Types | Public Member Functions | Protected Attributes

TokenTableIteratorBase Class Reference

Base class for the TokenTableIterator subclassess. More...

#include <IToken.h>

Inheritance diagram for TokenTableIteratorBase:
Inheritance graph
[legend]
Collaboration diagram for TokenTableIteratorBase:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::forward_iterator_tag iterator_category
typedef std::ptrdiff_t difference_type

Public Member Functions

virtual ~TokenTableIteratorBase () throw ()
 TokenTableIteratorBase (const ITokenTable *initialTable, int typeToMatch)
bool operator== (const TokenTableIteratorBase other) const
bool operator!= (const TokenTableIteratorBase other) const
const IToken * dereference () const
IToken * dereference ()
void incrementIterator ()
void reset ()
bool eof ()

Protected Attributes

int matchType
const ITokenTable * table
int current

Detailed Description

Base class for the TokenTableIterator subclassess.

Definition at line 181 of file IToken.h.


Member Typedef Documentation

typedef std::ptrdiff_t difference_type

Definition at line 186 of file IToken.h.

typedef std::forward_iterator_tag iterator_category

Definition at line 185 of file IToken.h.


Constructor & Destructor Documentation

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

Definition at line 188 of file IToken.h.

TokenTableIteratorBase ( const ITokenTable *  initialTable,
int  typeToMatch 
) [explicit]

Definition at line 35 of file TokenTableIterator.cpp.

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

Here is the call graph for this function:


Member Function Documentation

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

Definition at line 50 of file TokenTableIterator.cpp.

References TokenTableIteratorBase::current.

void incrementIterator (  ) 
bool operator!= ( const TokenTableIteratorBase  other  )  const [inline]

Definition at line 191 of file IToken.h.

References TokenTableIteratorBase::current.

bool operator== ( const TokenTableIteratorBase  other  )  const [inline]

Definition at line 190 of file IToken.h.

References TokenTableIteratorBase::current.

void reset (  ) 

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 [protected]
int matchType [protected]

Definition at line 200 of file IToken.h.

Referenced by TokenTableIteratorBase::incrementIterator().

const ITokenTable* table [protected]

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