|
BALL
1.4.2
|
#include <BALL/KERNEL/standardPredicates.h>
Classes | |
| class | CTPNode |
Public Member Functions | |
| ConnectedToPredicate () | |
| ConnectedToPredicate (const ConnectedToPredicate &predicate) | |
| virtual | ~ConnectedToPredicate () |
| virtual void | clear () |
| virtual bool | operator() (const Atom &atom) const |
| void | dump () const |
| void | dump (const CTPNode *current) const |
| virtual void | setArgument (const String &argument) |
Public Member Functions inherited from BALL::ExpressionPredicate | |
| ExpressionPredicate () | |
| ExpressionPredicate (const ExpressionPredicate &predicate) | |
| ExpressionPredicate (const String &argument) | |
| virtual | ~ExpressionPredicate () |
| ExpressionPredicate & | operator= (const ExpressionPredicate &predicate) |
| bool | operator== (const ExpressionPredicate &predicate) const |
| const String & | getArgument () const |
Public Member Functions inherited from BALL::UnaryPredicate< Atom > | |
| virtual | ~UnaryPredicate () |
Private Member Functions | |
| CTPNode * | createNewNode_ (CTPNode *node) |
| CTPNode * | parse_ () |
| void | cleanUpNodes_ (std::vector< CTPNode * > &all_nodes) |
| CTPNode * | parse_ (const String &input) |
| bool | bondOrderMatch_ (const Bond &bond, const CTPNode &node) const |
| bool | find_ (const Atom &atom, const CTPNode *current, HashSet< const Bond * > &visited) const |
Private Attributes | |
| CTPNode * | tree_ |
| HashMap< char, std::pair < CTPNode *, CTPNode * > > | link_map_ |
| char | link_mark_ |
Additional Inherited Members | |
Protected Attributes inherited from BALL::ExpressionPredicate | |
| String | argument_ |
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}
Definition at line 480 of file standardPredicates.h.
| BALL::ConnectedToPredicate::ConnectedToPredicate | ( | ) |
| BALL::ConnectedToPredicate::ConnectedToPredicate | ( | const ConnectedToPredicate & | predicate | ) |
|
virtual |
|
private |
|
private |
|
virtual |
Clear method
Reimplemented from BALL::ExpressionPredicate.
| void BALL::ConnectedToPredicate::dump | ( | ) | const |
| void BALL::ConnectedToPredicate::dump | ( | const CTPNode * | current | ) | const |
|
private |
Evaluate the predicate for the atom atom.
| atom | the atom to test |
Reimplemented from BALL::ExpressionPredicate.
|
private |
|
virtual |
set the Argument of this ExpressionPredicate
| argument | the string to use for this predicate |
Reimplemented from BALL::ExpressionPredicate.
Definition at line 699 of file standardPredicates.h.
|
private |
Definition at line 703 of file standardPredicates.h.
|
private |
Definition at line 695 of file standardPredicates.h.
1.8.3.1