Base class for single-atom Compound building blocks. More...
#include <Compound.h>
Public Member Functions | |
SingleAtom (const Compound::AtomName &atomName, const Element &element) |
Base class for single-atom Compound building blocks.
There is not an explicit Atom class in the public Molmodel API. The Compound::SingleAtom class is intended to provide single atom Compounds that can be linked together during the construction of Molecules. Many of the predefined Molecule types in the Molmodel API use SingleAtoms in their construction.
SingleAtom | ( | const Compound::AtomName & | atomName, | |
const Element & | element | |||
) | [inline] |
atomName | name for new atom | |
element | chemical element of new atom |
References Compound::setBaseAtom(), and Compound::setCompoundName().