Open Babel
3.0
|
#include <openbabel/phmodel.h>
Public Member Functions | |
OBChemTsfm () | |
~OBChemTsfm () | |
bool | Init (std::string &start, std::string &end) |
bool | Apply (OBMol &) |
bool | IsAcid () |
bool | IsBase () |
SMARTS based structural modification (chemical transformation)
Transformation of chemical structures can be used for pH value correction (i.e. via OBPhModel and OBMol::CorrectForPH()). The OBChemTsfm class defines SMARTS based TRANSFORM patterns to delete atoms, change atom types, atom formal charges, and bond types.
For storing and converting chemical reaction files, use the OBReaction class.
|
inline |
|
inline |
bool Init | ( | std::string & | start, |
std::string & | end | ||
) |
Initialize this transformation with the supplied SMARTS patterns.
Referenced by OBPhModel::ParseLine().
bool IsAcid | ( | ) |
bool IsBase | ( | ) |