|
NuriKit v0.1.0b2
|
#include <nuri/core/molecule.h>
Public Member Functions | |
| BondData () | |
| BondData (constants::BondOrder order) | |
| constants::BondOrder | order () const |
| Get the bond order of the bond. | |
| double | approx_order () const |
| Get the approximate bond order of the bond. | |
| constants::BondOrder & | order () |
| Get the read-write reference to bond order. | |
| BondData & | set_order (constants::BondOrder order) |
| bool | is_rotatable () const |
| Test if this bond is rotatable. | |
| bool | is_ring_bond () const |
| BondData & | set_ring_bond (bool ring) |
| bool | is_aromatic () const |
| BondData & | set_aromatic (bool aromatic) |
| bool | is_conjugated () const |
| BondData & | set_conjugated (bool conj) |
| bool | has_config () const |
| Test if the bond configuration is explicitly specified. | |
| BondData & | set_config (bool config) |
| Set whether the bond configuration is explicitly specified. | |
| bool | is_trans () const |
| Get the cis-trans configuration of the bond. | |
| BondData & | set_trans (bool trans) |
| Set cis-trans configuration of the bond. | |
| BondFlags | flags () const |
| BondData & | add_flags (BondFlags flags) |
| BondData & | del_flags (BondFlags flags) |
| BondData & | reset_flags () |
| std::string_view | get_name () const |
| template<class ST> | |
| BondData & | set_name (ST &&name) |
| template<class KT, class VT> | |
| BondData & | add_prop (KT &&key, VT &&val) |
| internal::PropertyMap & | props () |
| const internal::PropertyMap & | props () const |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
Get the approximate bond order of the bond.
|
inline |
|
inline |
|
inline |
Test if the bond configuration is explicitly specified.
|
inline |
|
inline |
|
inline |
|
inline |
Test if this bond is rotatable.
|
inline |
Get the cis-trans configuration of the bond.
For bonds with more than 3 neighboring atoms, "trans" configuration is not a well defined term. In such cases, this will return whether the first two neighbors are on the same side of the bond. For example, in the following structure, the bond between atoms 0 and 1 is considered to be in a cis configuration (assuming the neighbors are ordered in the same way as the atoms).
|
inline |
Get the read-write reference to bond order.
|
inline |
Get the bond order of the bond.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set whether the bond configuration is explicitly specified.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set cis-trans configuration of the bond.
| trans | Whether the bond is in trans configuration or not. |