|
The Gnome Chemistry Utils
0.14.3
|
#include <formula.h>
Public Member Functions | |
| FormulaAtom (int Z) | |
| virtual | ~FormulaAtom () |
| std::string | Markup () |
| std::string | Text () |
| void | BuildRawFormula (std::map< int, int > &raw) |
| int | GetValence () |
Public Member Functions inherited from gcu::FormulaElt | |
| FormulaElt () | |
| virtual | ~FormulaElt () |
Additional Inherited Members | |
Public Attributes inherited from gcu::FormulaElt | |
| int | stoich |
| unsigned | start |
| unsigned | end |
class FormulaAtom gcu/formula.h
Represents an atom in a formula.
| gcu::FormulaAtom::FormulaAtom | ( | int | Z) |
| Z |
|
virtual |
The destructor.
|
virtual |
| raw | where to put the result |
Adds the stoichiometry coefficient to the entry correponding to the element.
Implements gcu::FormulaElt.
|
virtual |
Implements gcu::FormulaElt.
|
virtual |
Reimplemented from gcu::FormulaElt.
|
virtual |
Reimplemented from gcu::FormulaElt.
1.8.4