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

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

+ Inheritance diagram for CDPL.Chem.AtomPredicate:

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

Initializes a copy of the AtomPredicate instance func.

Parameters
funcThe AtomPredicate instance to copy.

◆ __init__() [2/2]

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

Initializes the AtomPredicate instance.

Parameters
callable

Member Function Documentation

◆ __call__()

bool CDPL.Chem.AtomPredicate.__call__ ( Atom  arg1)
Parameters
arg1
Returns

◆ __bool__()

bool CDPL.Chem.AtomPredicate.__bool__ ( )
Returns

◆ __nonzero__()

bool CDPL.Chem.AtomPredicate.__nonzero__ ( )
Returns