#include <expressionPredicate.h>
Inheritance diagram for ExpressionPredicate:
Public Member Functions | |
Constructors and Destructor. | |
ExpressionPredicate () throw () | |
Default Constructor. | |
ExpressionPredicate (const ExpressionPredicate &predicate) throw () | |
Copy constructor. | |
ExpressionPredicate (const String &argument) throw () | |
Detailed Constructor. | |
virtual | ~ExpressionPredicate () throw () |
Destructor. | |
Assignment | |
ExpressionPredicate & | operator= (const ExpressionPredicate &predicate) throw () |
Assignment operator. | |
virtual void | clear () throw () |
Clear method. | |
Predicates | |
bool | operator== (const ExpressionPredicate &predicate) const throw () |
Equality operator. | |
Accessors. | |
virtual bool | operator() (const Atom &atom) const throw () |
evaluate this ExpressionPredicate by comparing its argument with the selected predicate of atom. | |
virtual void | setArgument (const String &argument) throw () |
set the Argument of this ExpressionPredicate | |
const String & | getArgument () const throw () |
Get the argument of an ExpressionPredicate. | |
Protected Attributes | |
String | argument_ |
The base class for all kernel predicates (defined in BALL/KERNEL/standardPredicates.h and used by Expression . You have to derive your own predicate classes from this class if you want to use (and register) them with Expression .
|
Detailed Constructor. Construct an ExpressionPredicate with a string.
|
|
Get the argument of an ExpressionPredicate.
|
|
evaluate this ExpressionPredicate by comparing its argument with the selected predicate of atom.
Reimplemented from UnaryPredicate< Atom >. Reimplemented in TruePredicate, FalsePredicate, SelectedPredicate, AtomNamePredicate, AtomTypePredicate, ElementPredicate, ResiduePredicate, ResidueIDPredicate, ProteinPredicate, ChainPredicate, SecondaryStructurePredicate, SolventPredicate, MoleculePredicate, BackBonePredicate, NucleotidePredicate, InRingPredicate, NumberOfBondsPredicate, SingleBondsPredicate, DoubleBondsPredicate, TripleBondsPredicate, AromaticBondsPredicate, ConnectedToPredicate, SpHybridizedPredicate, Sp2HybridizedPredicate, Sp3HybridizedPredicate, ChargePredicate, AxialPredicate, Conformation4C1Predicate, and SMARTSPredicate. |
|
set the Argument of this ExpressionPredicate
Reimplemented in ConnectedToPredicate. |