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

ANDBondMatchExpressionList. More...

+ Inheritance diagram for CDPL.Chem.ANDBondMatchExpressionList:

Public Member Functions

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

Additional Inherited Members

- Properties inherited from CDPL.Chem.BondMatchExpressionList
 objectID = property(getObjectID)
 
 size = property(getSize)
 
- Properties inherited from CDPL.Chem.BondMatchExpression
 objectID = property(getObjectID)
 

Detailed Description

ANDBondMatchExpressionList.

Constructor & Destructor Documentation

◆ __init__()

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

Initializes a copy of the ANDBondMatchExpressionList instance expr.

Parameters
exprThe ANDBondMatchExpressionList instance to copy.

Member Function Documentation

◆ assign()

ANDBondMatchExpressionList CDPL.Chem.ANDBondMatchExpressionList.assign ( ANDBondMatchExpressionList  expr)

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

Parameters
exprThe ANDBondMatchExpressionList instance to copy.
Returns
self