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 () |
![]() | |
FormulaElt () | |
virtual | ~FormulaElt () |
Additional Inherited Members | |
![]() | |
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.