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

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

+ Inheritance diagram for CDPL.Chem.UInt64AtomMolecularGraphFunctor:

Public Member Functions

None __init__ ()
 Contructs the UInt64AtomMolecularGraphFunctor instance.
 
None __init__ (SizeTypeAtomMolecularGraphFunctor func)
 Contructs the UInt64AtomMolecularGraphFunctor instance. More...
 
None __init__ (object callable)
 Contructs the UInt64AtomMolecularGraphFunctor instance for the specified callable object. More...
 
int __call__ (Atom arg1, MolecularGraph arg2)
 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.Chem.UInt64AtomMolecularGraphFunctor.__init__ ( SizeTypeAtomMolecularGraphFunctor  func)

Contructs the UInt64AtomMolecularGraphFunctor instance.

Parameters
func

◆ __init__() [2/2]

None CDPL.Chem.UInt64AtomMolecularGraphFunctor.__init__ ( object  callable)

Contructs the UInt64AtomMolecularGraphFunctor instance for the specified callable object.

Parameters
callableThe callable object to wrap.

Member Function Documentation

◆ __call__()

int CDPL.Chem.UInt64AtomMolecularGraphFunctor.__call__ ( Atom  arg1,
MolecularGraph  arg2 
)

Invokes the wrapped callable object with the given arguments.

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

◆ __bool__()

bool CDPL.Chem.UInt64AtomMolecularGraphFunctor.__bool__ ( )

Tells whether the instance holds a callable object.

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

◆ __nonzero__()

bool CDPL.Chem.UInt64AtomMolecularGraphFunctor.__nonzero__ ( )

Tells whether the instance holds a callable object.

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