BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
BALL::AtomTypePredicate Class Reference

#include <BALL/KERNEL/standardPredicates.h>

Inheritance diagram for BALL::AtomTypePredicate:
BALL::ExpressionPredicate BALL::UnaryPredicate< Atom >

List of all members.

Public Member Functions

virtual bool operator() (const Atom &atom) const

Detailed Description

Predicate for matching atom types. Returns true, if the type name of the atom matches exactly the argument of this predicate.

Definition at line 121 of file standardPredicates.h.


Member Function Documentation

virtual bool BALL::AtomTypePredicate::operator() ( const Atom atom) const [virtual]

Evaluate the predicate for the atom atom.

Parameters:
atomthe atom to test
Returns:
true, if the predicate is true, false otherwise

Reimplemented from BALL::ExpressionPredicate.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines