The Gnome Chemistry Utils
0.14.5
|
#include <formula.h>
Public Member Functions | |
virtual | ~FormulaBlock () |
std::string | Markup () |
std::string | Text () |
void | BuildRawFormula (std::map< int, int > &raw) |
int | GetValence () |
![]() | |
FormulaElt () | |
virtual | ~FormulaElt () |
Public Attributes | |
std::list< FormulaElt * > | children |
int | parenthesis |
![]() | |
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 |