#include <Canon.h>
Public Member Functions | |
| MolStackElem (RDKit::Atom *at) | |
| construct an Atom node | |
| MolStackElem (RDKit::Bond *bond, int idx) | |
| construct a bond node | |
| MolStackElem (int idx) | |
| construct for a ring closure | |
| MolStackElem (const char *chr, int idx) | |
| construct for a branch opening or closing | |
Public Attributes | |
| MolStackTypes | type |
| stores the type of node | |
| MolStackUnion | obj |
| holds our pointer (if appropriate) | |
| int | number |
| stores our number (relevant for bonds and ring closures) | |
Definition at line 42 of file Canon.h.
| Canon::MolStackElem::MolStackElem | ( | RDKit::Atom * | at | ) | [inline, explicit] |
construct an Atom node
Definition at line 45 of file Canon.h.
References Canon::MolStackUnion::atom, Canon::MOL_STACK_ATOM, obj, and type.
| Canon::MolStackElem::MolStackElem | ( | RDKit::Bond * | bond, | |
| int | idx | |||
| ) | [inline, explicit] |
construct a bond node
| bond | pointer to the Bond being added | |
| idx | index of the Atom traversed before this Bond (beginAtom in the canonical traversal order) |
Definition at line 56 of file Canon.h.
References Canon::MolStackUnion::bond, Canon::MOL_STACK_BOND, number, obj, and type.
| Canon::MolStackElem::MolStackElem | ( | int | idx | ) | [inline, explicit] |
construct for a ring closure
Definition at line 62 of file Canon.h.
References Canon::MOL_STACK_RING, number, and type.
| Canon::MolStackElem::MolStackElem | ( | const char * | chr, | |
| int | idx | |||
| ) | [inline, explicit] |
construct for a branch opening or closing
Definition at line 67 of file Canon.h.
References Canon::MOL_STACK_BRANCH_CLOSE, Canon::MOL_STACK_BRANCH_OPEN, number, and type.
holds our pointer (if appropriate)
Definition at line 81 of file Canon.h.
Referenced by MolStackElem().
stores our number (relevant for bonds and ring closures)
Definition at line 82 of file Canon.h.
Referenced by MolStackElem().
1.5.3