#include <abstree.h>
Public Member Functions | |
| Expr (int new_type, long rval, long lval) | |
| long | EvaluateExprFor (HaAtom *aptr) |
| evaluate the expression for the current atom | |
| long | EvaluateProperty (long prop) |
| Evaluate given Property for a Current Atom. | |
Static Public Member Functions | |
| void | DeAllocateExpr (Expr *expr) |
| A recursive function to delete Expression with all components of its branches. | |
| int | DefineSetExpr (char *, Expr *) |
| Expr * | LookUpAtGroupExpr (const char *grp_name, HaMolSet *pmset) |
| Create expression of atom group name. | |
| Expr * | LookUpElement (const char *) |
| create expression of element name | |
| int | ParsePrimitiveExpr (HaMolSet *pmset, char **ptr_str_parse) |
| Build Logical expression (QueryExpr) corresponding to a text of atom specifications (possibly wild-carded). | |
Public Attributes | |
| int | type |
| type of logical operation OpAnd, OpOr .. OpWithin etc | |
| Branch | rgt |
| left part of the expression | |
| Branch | lft |
| right part of the expression | |
Protected Member Functions | |
| int | OpCode () |
| return code of operation | |
| long | EvaluateExpr () |
| evaluate expression for current QAtom, QGroup, QChain | |
Static Protected Attributes | |
| HaAtom * | QAtom = NULL |
| Current Atom. | |
| HaResidue * | QGroup = NULL |
| Current Residue. | |
| HaChain * | QChain = NULL |
| Current Chain. | |
|
||||||||||||
|
Build Logical expression (QueryExpr) corresponding to a text of atom specifications (possibly wild-carded). Generate a logical expression corresponding to string |
1.3.6