BALL::InRingPredicate Class Reference

#include <BALL/KERNEL/standardPredicates.h>

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

List of all members.


Public Member Functions

 InRingPredicate ()
 

Default constructor;.


 InRingPredicate (Size n)
 

Detailed constructor;.


 ~InRingPredicate ()
 

Destructor;.


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

Detailed Description

Predicate for atoms being included in rings of a certain number.

Definition at line 322 of file standardPredicates.h.


Constructor & Destructor Documentation

BALL::InRingPredicate::InRingPredicate (  ) 

Default constructor;.

BALL::InRingPredicate::InRingPredicate ( Size  n  ) 

Detailed constructor;.

BALL::InRingPredicate::~InRingPredicate (  ) 

Destructor;.


Member Function Documentation

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

Evaluate the predicate for the atom atom.

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

Reimplemented from BALL::ExpressionPredicate.


Generated on Tue Dec 7 19:12:47 2010 for BALL by  doxygen 1.5.9