|
The Gnome Chemistry Utils
0.15.0
|
#include <formula.h>
Public Member Functions | |
| FormulaElt () | |
| virtual | ~FormulaElt () |
| virtual std::string | Markup () |
| virtual std::string | Text () |
| virtual void | BuildRawFormula (std::map< int, int > &raw)=0 |
| virtual int | GetValence ()=0 |
Public Attributes | |
| int | stoich |
| unsigned | start |
| unsigned | end |
class FormulaElt gcu/formula.h
Bas class for elements found in a formula.
| gcu::FormulaElt::FormulaElt | ( | ) |
The constructor.
|
virtual |
The destructor.
|
pure virtual |
| raw | where to put the result |
Adds the number of atoms of each element to the map taking the stoichiometry coefficient into account.
Implemented in gcu::FormulaResidue, gcu::FormulaBlock, and gcu::FormulaAtom.
|
pure virtual |
Implemented in gcu::FormulaResidue, gcu::FormulaBlock, and gcu::FormulaAtom.
|
virtual |
Reimplemented in gcu::FormulaResidue, gcu::FormulaBlock, and gcu::FormulaAtom.
|
virtual |
Reimplemented in gcu::FormulaResidue, gcu::FormulaBlock, and gcu::FormulaAtom.
| unsigned gcu::FormulaElt::end |
| unsigned gcu::FormulaElt::start |
| int gcu::FormulaElt::stoich |
1.8.5