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

Public Member Functions

None __init__ ()
 Initializes the MMFF94BondStretchingInteractionList instance.
 
None __init__ (MMFF94BondStretchingInteractionList ia_list)
 Initializes a copy of the MMFF94BondStretchingInteractionList instance ia_list. More...
 
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
int getSize ()
 
bool isEmpty ()
 
None resize (int num_elem, MMFF94BondStretchingInteraction value)
 
None reserve (int num_elem)
 
int getCapacity ()
 
None clear ()
 
MMFF94BondStretchingInteractionList assign (MMFF94BondStretchingInteractionList array)
 Replaces the current state of self with a copy of the state of the MMFF94BondStretchingInteractionList instance array. More...
 
None assign (int num_elem, MMFF94BondStretchingInteraction value)
 
None addElement (MMFF94BondStretchingInteraction value)
 
None addElements (MMFF94BondStretchingInteractionList values)
 
None insertElement (int idx, MMFF94BondStretchingInteraction value)
 
None insertElements (int idx, int num_elem, MMFF94BondStretchingInteraction value)
 
None insertElements (int index, MMFF94BondStretchingInteractionList values)
 
None popLastElement ()
 
None removeElement (int idx)
 
None removeElements (int begin_idx, int end_idx)
 
MMFF94BondStretchingInteraction getFirstElement ()
 
MMFF94BondStretchingInteraction getLastElement ()
 
MMFF94BondStretchingInteraction getElement (int idx)
 
None setElement (int idx, MMFF94BondStretchingInteraction value)
 
None __delitem__ (int idx)
 
MMFF94BondStretchingInteraction __getitem__ (int idx)
 
int __len__ ()
 
None __setitem__ (int index, MMFF94BondStretchingInteraction value)
 

Properties

 objectID = property(getObjectID)
 
 size = property(getSize)
 

Constructor & Destructor Documentation

◆ __init__()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.__init__ ( MMFF94BondStretchingInteractionList  ia_list)

Initializes a copy of the MMFF94BondStretchingInteractionList instance ia_list.

Parameters
ia_listThe MMFF94BondStretchingInteractionList instance to copy.

Member Function Documentation

◆ getObjectID()

int CDPL.ForceField.MMFF94BondStretchingInteractionList.getObjectID ( )

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

Different Python MMFF94BondStretchingInteractionList 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 MMFF94BondStretchingInteractionList 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.

◆ getSize()

int CDPL.ForceField.MMFF94BondStretchingInteractionList.getSize ( )
Returns

◆ isEmpty()

bool CDPL.ForceField.MMFF94BondStretchingInteractionList.isEmpty ( )
Returns

◆ resize()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.resize ( int  num_elem,
MMFF94BondStretchingInteraction  value 
)
Parameters
num_elem
value

◆ reserve()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.reserve ( int  num_elem)
Parameters
num_elem

◆ getCapacity()

int CDPL.ForceField.MMFF94BondStretchingInteractionList.getCapacity ( )
Returns

◆ assign() [1/2]

MMFF94BondStretchingInteractionList CDPL.ForceField.MMFF94BondStretchingInteractionList.assign ( MMFF94BondStretchingInteractionList  array)

Replaces the current state of self with a copy of the state of the MMFF94BondStretchingInteractionList instance array.

Parameters
arrayThe MMFF94BondStretchingInteractionList instance to copy.
Returns
self

◆ assign() [2/2]

None CDPL.ForceField.MMFF94BondStretchingInteractionList.assign ( int  num_elem,
MMFF94BondStretchingInteraction  value 
)
Parameters
num_elem
value

◆ addElement()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.addElement ( MMFF94BondStretchingInteraction  value)
Parameters
value

◆ addElements()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.addElements ( MMFF94BondStretchingInteractionList  values)
Parameters
values

◆ insertElement()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.insertElement ( int  idx,
MMFF94BondStretchingInteraction  value 
)
Parameters
idx
value

◆ insertElements() [1/2]

None CDPL.ForceField.MMFF94BondStretchingInteractionList.insertElements ( int  idx,
int  num_elem,
MMFF94BondStretchingInteraction  value 
)
Parameters
idx
num_elem
value

◆ insertElements() [2/2]

None CDPL.ForceField.MMFF94BondStretchingInteractionList.insertElements ( int  index,
MMFF94BondStretchingInteractionList  values 
)
Parameters
index
values

◆ removeElement()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.removeElement ( int  idx)
Parameters
idx

◆ removeElements()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.removeElements ( int  begin_idx,
int  end_idx 
)
Parameters
begin_idx
end_idx

◆ getFirstElement()

MMFF94BondStretchingInteraction CDPL.ForceField.MMFF94BondStretchingInteractionList.getFirstElement ( )
Returns

◆ getLastElement()

MMFF94BondStretchingInteraction CDPL.ForceField.MMFF94BondStretchingInteractionList.getLastElement ( )
Returns

◆ getElement()

MMFF94BondStretchingInteraction CDPL.ForceField.MMFF94BondStretchingInteractionList.getElement ( int  idx)
Parameters
idx
Returns

◆ setElement()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.setElement ( int  idx,
MMFF94BondStretchingInteraction  value 
)
Parameters
idx
value

◆ __delitem__()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.__delitem__ ( int  idx)
Parameters
idx

◆ __getitem__()

MMFF94BondStretchingInteraction CDPL.ForceField.MMFF94BondStretchingInteractionList.__getitem__ ( int  idx)
Parameters
idx
Returns

◆ __len__()

int CDPL.ForceField.MMFF94BondStretchingInteractionList.__len__ ( )
Returns

◆ __setitem__()

None CDPL.ForceField.MMFF94BondStretchingInteractionList.__setitem__ ( int  index,
MMFF94BondStretchingInteraction  value 
)
Parameters
index
value