Public Member Functions | Public Attributes

Canon::MolStackElem Class Reference

these are the actual elements in the molecular stack More...

#include <Canon.h>

List of all members.

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)

Detailed Description

these are the actual elements in the molecular stack

Definition at line 46 of file Canon.h.


Constructor & Destructor Documentation

Canon::MolStackElem::MolStackElem ( RDKit::Atom at  )  [inline, explicit]

construct an Atom node

Definition at line 49 of file Canon.h.

References Canon::MolStackUnion::atom, obj, and type.

Canon::MolStackElem::MolStackElem ( RDKit::Bond bond,
int  idx 
) [inline, explicit]

construct a bond node

Parameters:
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 60 of file Canon.h.

References Canon::MolStackUnion::bond, number, obj, and type.

Canon::MolStackElem::MolStackElem ( int  idx  )  [inline, explicit]

construct for a ring closure

Definition at line 66 of file Canon.h.

References number, and type.

Canon::MolStackElem::MolStackElem ( const char *  chr,
int  idx 
) [inline, explicit]

construct for a branch opening or closing

Definition at line 71 of file Canon.h.

References number, and type.


Member Data Documentation

stores our number (relevant for bonds and ring closures)

Definition at line 86 of file Canon.h.

Referenced by MolStackElem().

holds our pointer (if appropriate)

Definition at line 85 of file Canon.h.

Referenced by MolStackElem().

stores the type of node

Definition at line 84 of file Canon.h.

Referenced by MolStackElem().


The documentation for this class was generated from the following file: