Internal class for OBRing search algorithms to create a search tree of OBAtom objects. More...
#include <openbabel/ring.h>
Public Member Functions | |
OBRTree (OBAtom *, OBRTree *) | |
~OBRTree () | |
int | GetAtomIdx () |
void | PathToRoot (std::vector< OBAtom * > &) |
Internal class for OBRing search algorithms to create a search tree of OBAtom objects.
Construct a search tree from a possible parent entry and atom entry.
~OBRTree | ( | ) | [inline] |
int GetAtomIdx | ( | ) |
void PathToRoot | ( | std::vector< OBAtom * > & | path ) |
Recursively find the root of this tree, building up a vector of OBAtom nodes.
The supplied path is built up of OBAtom nodes, with the root atom the last item in the vector.
Referenced by OBRTree::PathToRoot().