MoleculeComponent parser. More...
#include <MoleculeComponent_GMLparser.hh>
Static Public Member Functions | |
static std::pair < MoleculeComponent, int > | parseGML (const std::string &GML_string) throw (std::invalid_argument) |
This class is a wrapper for the ggl::chem::MoleculeComponent_GML_grammar BNF grammar parser. It parses a GML string representation of a ggl::MoleculeDecomposition::MoleculeComponent object. This includes its properties as well as the additional constraints needed for matching. See ggl::chem::MoleculeComponent_GML_grammar for further details
Definition at line 25 of file MoleculeComponent_GMLparser.hh.
|
static |
Parses a GML string and generates a MoleculeComponent::PatternGraph object
GML_string | the string to parse |
std::invalid_argument | in case a check fails |