Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
TokenMatch< TokenType > Class Template Reference
This is an STL predicate function object that is used to find a particular id in a list of token pointers.
More...
#include <tokenBoard.h>
List of all members.
Detailed Description
template<class TokenType>
class TokenMatch< TokenType >
This is an STL predicate function object that is used to find a particular id in a list of token pointers.
It returns true when the token's id matches the numeric id supplied to the constructor.
Definition at line 44 of file tokenBoard.h.
Constructor & Destructor Documentation
template<class TokenType> |
TokenMatch< TokenType >::TokenMatch |
( |
int |
id |
) |
[inline] |
|
Member Function Documentation
template<class TokenType> |
bool TokenMatch< TokenType >::operator() |
( |
PointerTo< TokenType > |
tok |
) |
const [inline] |
|
Member Data Documentation
template<class TokenType> |
int TokenMatch< TokenType >::_want_id
|
|
The documentation for this class was generated from the following file:
Generated on Fri May 2 00:55:39 2003 for Panda by
1.3