Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | List of all members
CDPL.Chem.ANDMolecularGraphMatchExpressionList Class Reference

ANDMolecularGraphMatchExpressionList. More...

+ Inheritance diagram for CDPL.Chem.ANDMolecularGraphMatchExpressionList:

Public Member Functions

None __init__ ()
 Initializes the ANDMolecularGraphMatchExpressionList instance.
 
None __init__ (ANDMolecularGraphMatchExpressionList expr)
 Initializes a copy of the ANDMolecularGraphMatchExpressionList instance expr. More...
 
ANDMolecularGraphMatchExpressionList assign (ANDMolecularGraphMatchExpressionList expr)
 Replaces the current state of self with a copy of the state of the ANDMolecularGraphMatchExpressionList instance expr. More...
 
- Public Member Functions inherited from CDPL.Chem.MolecularGraphMatchExpressionList
None __init__ (MolecularGraphMatchExpressionList expr)
 Initializes a copy of the MolecularGraphMatchExpressionList 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, MolecularGraphMatchExpression 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.
 
MolecularGraphMatchExpressionList assign (MolecularGraphMatchExpressionList array)
 Replaces the current state of self with a copy of the state of the MolecularGraphMatchExpressionList instance array. More...
 
None assign (int num_elem, MolecularGraphMatchExpression value)
 This function fills the list with num_elem copies of the given value. More...
 
None addElement (MolecularGraphMatchExpression value)
 Inserts a new element at the end of the list. More...
 
None addElements (MolecularGraphMatchExpressionList values)
 
None insertElement (int idx, MolecularGraphMatchExpression value)
 Inserts a new element before the location specified by the index idx. More...
 
None insertElements (int idx, int num_elem, MolecularGraphMatchExpression value)
 Inserts num_elem copies of value before the location specified by the index idx. More...
 
None insertElements (int index, MolecularGraphMatchExpressionList values)
 
None popLastElement ()
 Removes the last element of the list. More...
 
None removeElement (int idx)
 Removes the element at the position specified by the index idx. More...
 
None removeElements (int begin_idx, int end_idx)
 
MolecularGraphMatchExpression getFirstElement ()
 Returns a reference to the first element of the list. More...
 
MolecularGraphMatchExpression getLastElement ()
 Returns a reference to the last element of the list. More...
 
MolecularGraphMatchExpression getElement (int idx)
 Returns a reference to the element at index idx. More...
 
None setElement (int idx, MolecularGraphMatchExpression value)
 Assigns a new value to the element specified by the index idx. More...
 
None __delitem__ (int idx)
 
MolecularGraphMatchExpression __getitem__ (int idx)
 
int __len__ ()
 
None __setitem__ (int index, MolecularGraphMatchExpression value)
 
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...
 
- Public Member Functions inherited from CDPL.Chem.MolecularGraphMatchExpression
bool requiresAtomBondMapping ()
 Tells whether the expression must be reevaluated after a query to target atom/bond mapping candidate has been found. More...
 
bool __call__ (MolecularGraph query_molgraph, MolecularGraph target_molgraph, Base.Any aux_data)
 Performs an evaluation of the expression for the given query and target molecular graphs. More...
 
bool __call__ (MolecularGraph query_molgraph, MolecularGraph target_molgraph, AtomBondMapping mapping, Base.Any aux_data)
 Performs an evaluation of the expression for the given query and target molecular graphs under consideration of the provided candidate atom/bond mapping. More...
 

Additional Inherited Members

- Properties inherited from CDPL.Chem.MolecularGraphMatchExpressionList
 objectID = property(getObjectID)
 
 size = property(getSize)
 
- Properties inherited from CDPL.Chem.MolecularGraphMatchExpression
 objectID = property(getObjectID)
 

Detailed Description

ANDMolecularGraphMatchExpressionList.

Constructor & Destructor Documentation

◆ __init__()

None CDPL.Chem.ANDMolecularGraphMatchExpressionList.__init__ ( ANDMolecularGraphMatchExpressionList  expr)

Initializes a copy of the ANDMolecularGraphMatchExpressionList instance expr.

Parameters
exprThe ANDMolecularGraphMatchExpressionList instance to copy.

Member Function Documentation

◆ assign()

ANDMolecularGraphMatchExpressionList CDPL.Chem.ANDMolecularGraphMatchExpressionList.assign ( ANDMolecularGraphMatchExpressionList  expr)

Replaces the current state of self with a copy of the state of the ANDMolecularGraphMatchExpressionList instance expr.

Parameters
exprThe ANDMolecularGraphMatchExpressionList instance to copy.
Returns
self