Residue.
More...
#include <formula.h>
List of all members.
Detailed Description
Residue.
class FormulaResidue gcu/formula.h Represents a residue in a formula.
Definition at line 236 of file formula.h.
Constructor & Destructor Documentation
- Parameters:
-
res | a gcu::Residue. |
symbol | the atoms group symbol |
Z | the atomic number of the element with the same symbol or 0. |
Member Function Documentation
- Parameters:
-
raw | where to put the result |
Adds the number of atoms of each element to the map taking the stoichiometry coefficient into account.
Implements gcu::FormulaElt.
- Returns:
- the (most probable) valence of the element.
Implements gcu::FormulaElt.
- Returns:
- the atomic number of the element with the same symbol or 0.
Definition at line 279 of file formula.h.
- Returns:
- the string representation of the element as a markup.
Reimplemented from gcu::FormulaElt.
- Returns:
- the string representation of the element as raw text.
Reimplemented from gcu::FormulaElt.
Member Data Documentation
The symbol of the atoms group.
Definition at line 275 of file formula.h.
The documentation for this class was generated from the following file: