OBChemTsfm Class Reference
SMARTS based structural modification (chemical transformation). More...
#include <openbabel/phmodel.h>
Public Member Functions | |
OBChemTsfm () | |
~OBChemTsfm () | |
bool | Init (std::string &start, std::string &end) |
bool | Apply (OBMol &) |
bool | IsAcid () |
bool | IsBase () |
Detailed Description
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.
Constructor & Destructor Documentation
OBChemTsfm | ( | ) | [inline] |
~OBChemTsfm | ( | ) | [inline] |
Member Function Documentation
bool Init | ( | std::string & | start, | |
std::string & | end | |||
) |
Initialize this transformation with the supplied SMARTS patterns.
Referenced by OBPhModel::ParseLine().
bool IsAcid | ( | ) |
bool IsBase | ( | ) |
The documentation for this class was generated from the following files: