chemmisol 0.1
|
#include <reaction.h>
Public Member Functions | |
InvalidReaction (const ChemicalSystem *chemical_system, const Reaction *invalid_reaction) | |
const ChemicalSystem & | getChemicalSystem () const |
const Reaction & | getInvalidReaction () const |
Protected Attributes | |
const ChemicalSystem * | chemical_system |
const Reaction * | invalid_reaction |
Exception thrown when a ChemicalSystem tries to process an ill formed reaction.
A reaction is considered valid when its list of reagents is not empty and contains only components except one species (the "produced species") that cannot be a component.
|
inline |
Defines an InvalidReaction exception.
chemical_system | chemical system that tried to handle the ill formed reaction. |
invalid_reaction | ill formed reaction. |
|
inline |
Returns a reference to the chemical system that tried to handle the ill formed reaction.
|
inline |
Returns reference to the ill formed reaction.
|
protected |
Reference to the chemical system that tried to handle the ill formed reaction.
|
protected |
Reference to the ill formed reaction.