|
The Gnome Chemistry Utils
0.13.6
|
#include <gcugtk/molecule.h>
Public Member Functions | |
| Molecule (gcu::TypeId Type=gcu::MoleculeType, gcu::ContentType ct=gcu::ContentType3D) | |
| Molecule (gcu::Atom *pAtom, gcu::ContentType ct=gcu::ContentType3D) | |
| virtual | ~Molecule () |
| void | BuildDatabasesMenu (GtkUIManager *UIManager, char const *path, char const *path_end) |
Provide some uiser interface for molecules.
Definition at line 37 of file gcugtk/molecule.h.
| gcugtk::Molecule::Molecule | ( | gcu::TypeId | Type = gcu::MoleculeType, |
| gcu::ContentType | ct = gcu::ContentType3D |
||
| ) |
| Type | the type id of a derived class |
| ct | the content type for the molecule (2d or 3d), defaults to ContentType3D. |
The constructor. The type id may be changed in derived classes, otherwise the argument is not needed, since the default value is enough.
Reimplemented from gcu::Molecule.
| gcugtk::Molecule::Molecule | ( | gcu::Atom * | pAtom, |
| gcu::ContentType | ct = gcu::ContentType3D |
||
| ) |
| pAtom | |
| ct | the content type for the molecule (2d or 3d), defaults to ContentType3D. |
Builds a molecule from an atom. If the atom has bonds, the connectivity will be explored and all atoms and bonds found will be added to the molecule.
Reimplemented from gcu::Molecule.
| virtual gcugtk::Molecule::~Molecule | ( | ) | [virtual] |
| void gcugtk::Molecule::BuildDatabasesMenu | ( | GtkUIManager * | UIManager, |
| char const * | path, | ||
| char const * | path_end | ||
| ) |
| UIManager | a GtkUIManager. |
| path | the path to insert before each new action entry. |
| path_end | the path to insert after each new action entry. |
Adds menu entry for databases access.
1.7.6.1