#include <openbabel/ring.h>
Public Member Functions | |
OBRingSearch () | |
~OBRingSearch () | |
void | SortRings () |
void | RemoveRedundant (int) |
void | AddRingFromClosure (OBMol &, OBBond *) |
bool | SaveUniqueRing (std::deque< int > &, std::deque< int > &) |
void | WriteRings () |
Iterator methods -- see OBMolRingIter for iteration over a molecule | |
std::vector< OBRing * >::iterator | BeginRings () |
std::vector< OBRing * >::iterator | EndRings () |
OBRingSearch | ( | ) | [inline] |
~OBRingSearch | ( | ) |
Destructor -- free all rings created from this search.
void SortRings | ( | ) | [inline] |
Sort ring sizes from smallest to largest.
void RemoveRedundant | ( | int | ) |
Starting with a full ring set - reduce to SSSR set.
Add a new ring from a "closure" bond: See OBBond::IsClosure().
bool SaveUniqueRing | ( | std::deque< int > & | , | |
std::deque< int > & | ||||
) |
void WriteRings | ( | ) |
For debugging only, write the rings to std::cout.
std::vector<OBRing*>::iterator BeginRings | ( | ) | [inline] |
std::vector<OBRing*>::iterator EndRings | ( | ) | [inline] |