Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | Properties | List of all members
CDPL.ConfGen.TorsionRule.AngleEntry Class Reference
+ Inheritance diagram for CDPL.ConfGen.TorsionRule.AngleEntry:

Public Member Functions

None __init__ (float ang, float tol1, float tol2, float score)
 Initializes the AngleEntry instance. More...
 
None __init__ (AngleEntry entry)
 Initializes a copy of the AngleEntry instance entry. More...
 
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
AngleEntry assign (AngleEntry entry)
 Replaces the current state of self with a copy of the state of the AngleEntry instance entry. More...
 
float getAngle ()
 
float getScore ()
 
float getTolerance1 ()
 
float getTolerance2 ()
 

Properties

 objectID = property(getObjectID)
 
 angle = property(getAngle)
 
 score = property(getScore)
 
 tolerance1 = property(getTolerance1)
 
 tolerance2 = property(getTolerance2)
 

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.ConfGen.TorsionRule.AngleEntry.__init__ ( float  ang,
float  tol1,
float  tol2,
float  score 
)

Initializes the AngleEntry instance.

Parameters
ang
tol1
tol2
score

◆ __init__() [2/2]

None CDPL.ConfGen.TorsionRule.AngleEntry.__init__ ( AngleEntry  entry)

Initializes a copy of the AngleEntry instance entry.

Parameters
entryThe AngleEntry instance to copy.

Member Function Documentation

◆ getObjectID()

int CDPL.ConfGen.TorsionRule.AngleEntry.getObjectID ( )

Returns the numeric identifier (ID) of the wrapped C++ class instance.

Different Python AngleEntry instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b thus cannot tell reliably whether the two AngleEntry instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID().

Returns
The numeric ID of the internally referenced C++ class instance.

◆ assign()

AngleEntry CDPL.ConfGen.TorsionRule.AngleEntry.assign ( AngleEntry  entry)

Replaces the current state of self with a copy of the state of the AngleEntry instance entry.

Parameters
entryThe AngleEntry instance to copy.
Returns
self

◆ getAngle()

float CDPL.ConfGen.TorsionRule.AngleEntry.getAngle ( )
Returns

◆ getScore()

float CDPL.ConfGen.TorsionRule.AngleEntry.getScore ( )
Returns

◆ getTolerance1()

float CDPL.ConfGen.TorsionRule.AngleEntry.getTolerance1 ( )
Returns

◆ getTolerance2()

float CDPL.ConfGen.TorsionRule.AngleEntry.getTolerance2 ( )
Returns