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

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

+ Inheritance diagram for CDPL.Math.DoubleVector3DArrayFunctor:

Public Member Functions

None __init__ ()
 Contructs the DoubleVector3DArrayFunctor instance.
 
None __init__ (DoubleVector3DArrayFunctor func)
 Contructs a copy of the DoubleVector3DArrayFunctor instance func. More...
 
None __init__ (object callable)
 Contructs the DoubleVector3DArrayFunctor instance for the specified callable object. More...
 
float __call__ (Vector3DArray arg1)
 Invokes the wrapped callable object with the given argument. 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.Math.DoubleVector3DArrayFunctor.__init__ ( DoubleVector3DArrayFunctor  func)

Contructs a copy of the DoubleVector3DArrayFunctor instance func.

Parameters
funcThe DoubleVector3DArrayFunctor instance to copy.

◆ __init__() [2/2]

None CDPL.Math.DoubleVector3DArrayFunctor.__init__ ( object  callable)

Contructs the DoubleVector3DArrayFunctor instance for the specified callable object.

Parameters
callableThe callable object to wrap.

Member Function Documentation

◆ __call__()

float CDPL.Math.DoubleVector3DArrayFunctor.__call__ ( Vector3DArray  arg1)

Invokes the wrapped callable object with the given argument.

Parameters
arg1The argument to forward.
Returns
The obtained return value.

◆ __bool__()

bool CDPL.Math.DoubleVector3DArrayFunctor.__bool__ ( )

Tells whether the instance holds a callable object.

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

◆ __nonzero__()

bool CDPL.Math.DoubleVector3DArrayFunctor.__nonzero__ ( )

Tells whether the instance holds a callable object.

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