Bond Properties¶
The OEBondBase
represents the bonds of a molecule.
This section details some of its important and often used properties and methods.
Read/Write Bond Properties¶
Property Name |
Type |
Get Method |
Set Method |
See Also |
---|---|---|---|---|
Bond Order |
unsigned int |
|||
Aromaticity |
bool |
|||
Ring Membership |
bool |
|||
Integer Bond Type |
int |
|||
Bond Type Name |
string |
|||
Begin Atom |
||||
End Atom |
||||
Bond Chirality |
bool |
|||
Bond Stereo |
unsigned int |
Read Only Bond Properties¶
Property Name |
Type |
Get Method |
See Also |
---|---|---|---|
Begin Atom Index |
unsigned int |
||
End Atom Index |
unsigned int |
||
Bond Index |
unsigned int |
||
Bond Has Stereo |
bool |
||
Bond Parent |
|||
Rotatable |
bool |
Attach Generic Data to Bonds¶
Generic data (see Generic Data) can be attached to any object that derives from the OEBase class. The OEBondBase API provides the following methods, publicly inherited from OEBase, that allow the manipulation of generic data.
Method |
Description |
---|---|
sets a generic data associating it with the given tag |
|
adds a generic data associating it with the given tag |
|
determines whether a molecule has any generic data with a given tag |
|
returns the generic data associated with the given tag |
|
deletes all generic data with the given tag |
|
clears all stored generic data |
Note
Generic data attached to a molecule or any of its atoms or bonds is automatically
saved when the molecule is written into an .oeb
file.
See also
Attaching other objects section
SD Tagged Data Manipulation section
PDB Tagged Data Manipulation section