Chemical Data Processing Library Python API - Version 1.4.0
Public Member Functions | List of all members
CDPL.Shape.VoidMolecularGraph2AlignmentResultFunctor Class Reference

A wrapper class for various types of callable objects. More...

+ Inheritance diagram for CDPL.Shape.VoidMolecularGraph2AlignmentResultFunctor:

Public Member Functions

None __init__ ()
 Contructs the VoidMolecularGraph2AlignmentResultFunctor instance.
 
None __init__ (VoidMolecularGraph2AlignmentResultFunctor func)
 Contructs a copy of the VoidMolecularGraph2AlignmentResultFunctor instance func. More...
 
None __init__ (object callable)
 Contructs the VoidMolecularGraph2AlignmentResultFunctor instance for the specified callable object. More...
 
None __call__ (Chem.MolecularGraph arg1, Chem.MolecularGraph arg2, AlignmentResult arg3)
 Invokes the wrapped callable object with the given arguments. More...
 
bool __bool__ ()
 Tells whether the instance holds a callable object. More...
 
bool __nonzero__ ()
 Tells whether the instance holds a callable object. More...
 

Detailed Description

A wrapper class for various types of callable objects.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.Shape.VoidMolecularGraph2AlignmentResultFunctor.__init__ ( VoidMolecularGraph2AlignmentResultFunctor  func)

Contructs a copy of the VoidMolecularGraph2AlignmentResultFunctor instance func.

Parameters
funcThe VoidMolecularGraph2AlignmentResultFunctor instance to copy.

◆ __init__() [2/2]

None CDPL.Shape.VoidMolecularGraph2AlignmentResultFunctor.__init__ ( object  callable)

Contructs the VoidMolecularGraph2AlignmentResultFunctor instance for the specified callable object.

Parameters
callableThe callable object to wrap.

Member Function Documentation

◆ __call__()

None CDPL.Shape.VoidMolecularGraph2AlignmentResultFunctor.__call__ ( Chem.MolecularGraph  arg1,
Chem.MolecularGraph  arg2,
AlignmentResult  arg3 
)

Invokes the wrapped callable object with the given arguments.

Parameters
arg1The first argument to forward.
arg2The second argument to forward.
arg3The third argument to forward.
Returns
The obtained return value.

◆ __bool__()

bool CDPL.Shape.VoidMolecularGraph2AlignmentResultFunctor.__bool__ ( )

Tells whether the instance holds a callable object.

Returns
True if the instance holds a callable object, and False otherwise.

◆ __nonzero__()

bool CDPL.Shape.VoidMolecularGraph2AlignmentResultFunctor.__nonzero__ ( )

Tells whether the instance holds a callable object.

Returns
True if the instance holds a callable object, and False otherwise.