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

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

+ Inheritance diagram for CDPL.GRAIL.DoubleVector3DFeatureFunctor:

Public Member Functions

None __init__ ()
 Contructs the DoubleVector3DFeatureFunctor instance.
 
None __init__ (DoubleVector3DFeatureFunctor func)
 Contructs a copy of the DoubleVector3DFeatureFunctor instance func. More...
 
None __init__ (object callable)
 Contructs the DoubleVector3DFeatureFunctor instance for the specified callable object. More...
 
float __call__ (Math.Vector3D arg1, Pharm.Feature 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.GRAIL.DoubleVector3DFeatureFunctor.__init__ ( DoubleVector3DFeatureFunctor  func)

Contructs a copy of the DoubleVector3DFeatureFunctor instance func.

Parameters
funcThe DoubleVector3DFeatureFunctor instance to copy.

◆ __init__() [2/2]

None CDPL.GRAIL.DoubleVector3DFeatureFunctor.__init__ ( object  callable)

Contructs the DoubleVector3DFeatureFunctor instance for the specified callable object.

Parameters
callableThe callable object to wrap.

Member Function Documentation

◆ __call__()

float CDPL.GRAIL.DoubleVector3DFeatureFunctor.__call__ ( Math.Vector3D  arg1,
Pharm.Feature  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.GRAIL.DoubleVector3DFeatureFunctor.__bool__ ( )

Tells whether the instance holds a callable object.

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

◆ __nonzero__()

bool CDPL.GRAIL.DoubleVector3DFeatureFunctor.__nonzero__ ( )

Tells whether the instance holds a callable object.

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