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

A generic wrapper class used to store a user-defined bond predicate. More...

+ Inheritance diagram for CDPL.Chem.BondPredicate:

Public Member Functions

None __init__ ()
 Initializes the BondPredicate instance.
 
None __init__ (BondPredicate func)
 Initializes a copy of the BondPredicate instance func. More...
 
None __init__ (object callable)
 Initializes the BondPredicate instance. More...
 
bool __call__ (Bond arg1)
 
bool __bool__ ()
 
bool __nonzero__ ()
 

Detailed Description

A generic wrapper class used to store a user-defined bond predicate.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.Chem.BondPredicate.__init__ ( BondPredicate  func)

Initializes a copy of the BondPredicate instance func.

Parameters
funcThe BondPredicate instance to copy.

◆ __init__() [2/2]

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

Initializes the BondPredicate instance.

Parameters
callable

Member Function Documentation

◆ __call__()

bool CDPL.Chem.BondPredicate.__call__ ( Bond  arg1)
Parameters
arg1
Returns

◆ __bool__()

bool CDPL.Chem.BondPredicate.__bool__ ( )
Returns

◆ __nonzero__()

bool CDPL.Chem.BondPredicate.__nonzero__ ( )
Returns