BALL::ConnectedToPredicate Class Reference

Predicate class for atoms being connected to a constellation defined by an expression. More...

#include <standardPredicates.h>

Inheritance diagram for BALL::ConnectedToPredicate:
Inheritance graph
[legend]

List of all members.


Public Member Functions

ConnectedToPredicate (const ConnectedToPredicate &predicate)
virtual void clear ()
Clear method.
virtual bool operator() (const Atom &atom) const
Evaluate the predicate for the atom atom.
void dump () const
void dump (const CTPNode *current) const
virtual void setArgument (const String &argument)
set the Argument of this ExpressionPredicate

Detailed Description

Predicate class for atoms being connected to a constellation defined by an expression.

Syntax: {tabular}{cl} Bonds

- & single
= & double
# & triple
{126} & aromatic
. & any
Elements &
symbol & the desired element
* & any element
Groups &
( ) & symbols enlosed by brackets denote groups
{tabular}

Member Function Documentation

virtual bool BALL::ConnectedToPredicate::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.

virtual void BALL::ConnectedToPredicate::setArgument ( const String & argument ) [virtual]

set the Argument of this ExpressionPredicate

Parameters:
argument the string to use for this predicate

Reimplemented from BALL::ExpressionPredicate.


Generated on Thu Aug 6 18:30:33 2009 for BALL by doxygen 1.5.8