|
|
None | __init__ () |
| | Creates an empty list.
|
| |
| None | __init__ (ANDReactionMatchExpressionList expr) |
| | Contructs a copy of the ANDReactionMatchExpressionList instance expr. More...
|
| |
| ANDReactionMatchExpressionList | assign (ANDReactionMatchExpressionList expr) |
| | Replaces the current state with a copy of the state of the ANDReactionMatchExpressionList instance expr. More...
|
| |
| None | __init__ (ReactionMatchExpressionList expr) |
| | Contructs a copy of the ReactionMatchExpressionList instance expr. More...
|
| |
| int | getObjectID () |
| | Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
|
| |
| int | getSize () |
| | Returns the number of elements stored in the list. More...
|
| |
| bool | isEmpty () |
| | Tells whether the list is empty (getSize() == 0). More...
|
| |
| None | resize (int num_elem, ReactionMatchExpression value) |
| | Inserts or erases elements at the end so that the size becomes num_elem. More...
|
| |
| None | reserve (int num_elem) |
| | Preallocates memory for (at least) num_elem elements. More...
|
| |
| int | getCapacity () |
| | Returns the number of elements for which memory has been allocated. More...
|
| |
|
None | clear () |
| | Erases all elements.
|
| |
| ReactionMatchExpressionList | assign (ReactionMatchExpressionList list) |
| | Replaces the current state with a copy of the state of the ReactionMatchExpressionList instance list. More...
|
| |
| None | assign (int num_elem, ReactionMatchExpression value) |
| | This function fills the array with num_elem copies of the given value. More...
|
| |
| None | addElement (ReactionMatchExpression value) |
| | Adds a new element at the end of the list. More...
|
| |
| None | addElements (ReactionMatchExpressionList values) |
| | Adds the elements of values to the end of the list. More...
|
| |
| None | insertElement (int idx, ReactionMatchExpression value) |
| | Inserts a new element before the location specified by the index idx. More...
|
| |
| None | insertElements (int idx, int num_elem, ReactionMatchExpression value) |
| | Inserts num_elem copies of value before the location specified by the index idx. More...
|
| |
| None | insertElements (int idx, ReactionMatchExpressionList values) |
| | Insert the elements of values before the location specified by the index idx. More...
|
| |
| None | popLastElement () |
| | Removes the last element of the list. More...
|
| |
| None | removeElement (int idx) |
| | Removes the element at index idx. More...
|
| |
| None | removeElements (int begin_idx, int end_idx) |
| | Removes the elements at indices in the range [begin_idx, end_idx). More...
|
| |
| ReactionMatchExpression | getFirstElement () |
| | Returns the first element of the list. More...
|
| |
| ReactionMatchExpression | getLastElement () |
| | Returns the last element of the list. More...
|
| |
| ReactionMatchExpression | getElement (int idx) |
| | Returns the element at index idx. More...
|
| |
| None | setElement (int idx, ReactionMatchExpression value) |
| | Assigns a new value to the element at index idx. More...
|
| |
| bool | requiresAtomBondMapping () |
| | Tells whether the expression list requires a reevaluation after a query to target object mapping candidate has been found. More...
|
| |
| None | __delitem__ (int idx) |
| | Removes the element at index idx. More...
|
| |
| ReactionMatchExpression | __getitem__ (int idx) |
| | Returns the element at index idx. More...
|
| |
| int | __len__ () |
| | Returns the number of elements stored in the list. More...
|
| |
| None | __setitem__ (int idx, ReactionMatchExpression value) |
| | Assigns a new value to the element at index idx. More...
|
| |
| bool | __eq__ (object expr) |
| | Returns the result of the comparison operation self == expr. More...
|
| |
| bool | __ne__ (object expr) |
| | Returns the result of the comparison operation self != expr. More...
|
| |
| bool | __call__ (Reaction query_rxn, Reaction target_rxn, Base.Any aux_data) |
| | Performs an evaluation of the expression for the given query and target reactions. More...
|
| |
| bool | __call__ (Reaction query_rxn, Reaction target_rxn, AtomBondMapping mapping, Base.Any aux_data) |
| | Performs an evaluation of the expression for the given query and target reactions under consideration of the provided candidate atom/bond mapping. More...
|
| |
Chem.ReactionMatchExpressionList implementation that evaluates the stored expressions as a logical conjunction (AND).
The list evaluates to True if and only if every contained Chem.ReactionMatchExpression instance evaluates to True for the given query/target object pairs (short-circuit evaluation). An empty list evaluates to True.