|
The Gnome Chemistry Utils
0.15.0
|
#include <formula.h>
Public Member Functions | |
| virtual | ~FormulaBlock () |
| 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 () |
Public Attributes | |
| std::list< FormulaElt * > | children |
| int | parenthesis |
Public Attributes inherited from gcu::FormulaElt | |
| int | stoich |
| unsigned | start |
| unsigned | end |
class FormulaBlock gcu/formula.h
Represents a sub formula delimited by a pair of matching brackets.
|
virtual |
The destructor.
|
virtual |
| 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.
|
virtual |
Implements gcu::FormulaElt.
|
virtual |
Reimplemented from gcu::FormulaElt.
|
virtual |
Reimplemented from gcu::FormulaElt.
| std::list<FormulaElt *> gcu::FormulaBlock::children |
| int gcu::FormulaBlock::parenthesis |
1.8.5