Chemical Data Processing Library C++ API - Version 1.4.0
Namespaces | Functions
MolProp/BondFunctions.hpp File Reference

Declaration of functions that operate on Chem::Bond instances. More...

#include <cstddef>
#include "CDPL/MolProp/APIPrefix.hpp"

Go to the source code of this file.

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Chem
 Contains classes and functions related to chemistry.
 
 CDPL::MolProp
 Contains classes and functions related to the calculation/preciction of physicochemical molecular properties.
 

Functions

CDPL_MOLPROP_API double CDPL::MolProp::getMHMOPiOrder (const Chem::Bond &bond)
 Returns the value of the MolProp::BondProperty::MHMO_PI_ORDER property of bond. More...
 
CDPL_MOLPROP_API void CDPL::MolProp::setMHMOPiOrder (Chem::Bond &bond, double order)
 Sets the value of the MolProp::BondProperty::MHMO_PI_ORDER property of bond. More...
 
CDPL_MOLPROP_API void CDPL::MolProp::clearMHMOPiOrder (Chem::Bond &bond)
 Removes the MolProp::BondProperty::MHMO_PI_ORDER property from bond. More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::hasMHMOPiOrder (const Chem::Bond &atom)
 Tells whether bond carries an explicit MolProp::BondProperty::MHMO_PI_ORDER property. More...
 
CDPL_MOLPROP_API double CDPL::MolProp::calcPolarizability (const Chem::Bond &bond, const Chem::MolecularGraph &molgraph, double damping=0.75)
 Calculates the bond polarizability of bond within molgraph. More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::isInRing (const Chem::Bond &Bond, const Chem::MolecularGraph &molgraph)
 Tells whether Bond is part of any ring of molgraph. More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::isInRingOfSize (const Chem::Bond &bond, const Chem::MolecularGraph &molgraph, std::size_t size)
 Tells whether bond is part of a ring of the specified size in molgraph. More...
 
CDPL_MOLPROP_API std::size_t CDPL::MolProp::getNumContainingSSSRRings (const Chem::Bond &bond, const Chem::MolecularGraph &molgraph)
 Returns the number of SSSR rings of molgraph that contain bond. More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::isHydrogenRotor (const Chem::Bond &bond, const Chem::MolecularGraph &molgraph)
 Tells whether bond is a rotatable bond whose rotation only moves hydrogen atoms. More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::isHeteroAtomHydrogenRotor (const Chem::Bond &bond, const Chem::MolecularGraph &molgraph)
 Tells whether bond is a hydrogen-only rotor where the rotating end is a heteroatom-bound hydrogen. More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::isRotatable (const Chem::Bond &bond, const Chem::MolecularGraph &molgraph, bool h_rotors=false, bool ring_bonds=false, bool amide_bonds=false)
 Tells whether bond is rotatable. More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::isHydrogenBond (const Chem::Bond &bond)
 Tells whether bond is a hydrogen bond (one of the bonded atoms is a hydrogen). More...
 
CDPL_MOLPROP_API bool CDPL::MolProp::isAmideBond (const Chem::Bond &bond, const Chem::MolecularGraph &molgraph, bool c_only=false, bool db_o_only=false)
 Tells whether bond is an amide bond in molgraph. More...
 

Detailed Description

Declaration of functions that operate on Chem::Bond instances.