The Gnome Chemistry Utils  0.13.7
Public Member Functions
gcugtk::Molecule Class Reference

#include <gcugtk/molecule.h>

Inheritance diagram for gcugtk::Molecule:
gcu::Molecule gcu::Object gcp::Molecule

List of all members.

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)

Detailed Description

Provide some uiser interface for molecules.

Definition at line 37 of file gcugtk/molecule.h.


Constructor & Destructor Documentation

Parameters:
Typethe type id of a derived class
ctthe 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.

Parameters:
pAtom
ctthe 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]

The destructor.

Reimplemented from gcu::Molecule.

Reimplemented in gcp::Molecule.


Member Function Documentation

void gcugtk::Molecule::BuildDatabasesMenu ( GtkUIManager *  UIManager,
char const *  path,
char const *  path_end 
)
Parameters:
UIManagera GtkUIManager.
paththe path to insert before each new action entry.
path_endthe path to insert after each new action entry.

Adds menu entry for databases access.


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