#include <kcfmolecule.h>
Inheritance diagram for KCFMolecule:
Public Member Functions | |
KCFMolecule () | |
virtual | ~KCFMolecule () |
void | readKCF (string aFileName) throw ( CError ) |
void | writeKCF (string aFileName) |
virtual Atom * | addAtom (string aSymbol) throw ( CError ) |
|
class constructor. |
|
class desctructor. |
|
adds an atom to the kcf molecule. |
|
reads the molecule description from a KCF file. The internal representation of the molecule is the Atom KEGG atoms, so the function Elements:loadDefinition should have previously loaded the KEGG atom definition types). It is not possible to mix KCF and MOL files. A function readKCFconverted should be written to read KCF file with an internal representation of elements. WARNING this function only reads the first entry in the kcf file. |
|
writes a kcf file. |