The definition of the GML grammar.
#include <MoleculeComponent_GML_grammar.hh>
Public Member Functions | |
| definition (const MoleculeComponent_GML_grammar &self) | |
| NS_BOOSTSPIRIT::rule< ScannerT > const & | start () const |
| start parsing More... | |
Protected Types | |
| enum | WhatList { Fill_constrAdj_NL, Fill_constrAdj_EL, Fill_constrLabel_NL, Fill_compIDs, Fill_ringFragments } |
Protected Member Functions | |
| void | clear_toFill (void) |
| void | final_checks (void) throw (std::invalid_argument) |
| void | insert_to_list (WhatList list) |
| void | store_constrAdj (void) |
| void | store_constrLabel (void) |
| void | store_edge (void) throw (std::invalid_argument) |
| void | store_node (void) throw (std::invalid_argument) |
Protected Attributes | |
| NS_BOOSTSPIRIT::rule< ScannerT > | compIDs |
| MC_MC_NodeAdjacency | constrAdj |
| char | constrAdjOp |
| NS_BOOSTSPIRIT::rule< ScannerT > | constrainAdjacency |
| NS_BOOSTSPIRIT::rule< ScannerT > | constrainLabel |
| MC_MC_NodeLabel | constrLabel |
| char | constrLabelOp |
| NS_BOOSTSPIRIT::rule< ScannerT > | content |
| int | curEdgeFromID |
| std::string | curEdgeLabel |
| int | curEdgeToID |
| int | curNodeID |
| std::string | curNodeLabel |
| MoleculeComponent::RingFragmentList | curRingFragmentList |
| std::string | curRingFragmentTypeString |
| NS_BOOSTSPIRIT::rule< ScannerT > | edge |
| boost::property_map < MoleculeComponent::PatternGraph, PropEdgeLabel >::type | edgeLabel |
| Access to the edge label property_map of g2fill to set edge labels. More... | |
| NS_BOOSTSPIRIT::rule< ScannerT > | molcomp |
| the rules to be parsed More... | |
| NS_BOOSTSPIRIT::rule< ScannerT > | node |
| boost::property_map < MoleculeComponent::PatternGraph, PropNodeLabel >::type | nodeLabel |
| Access to the node label property_map of toFill to set node labels. More... | |
| MapIntSizeT | nodeMapping |
| NS_BOOSTSPIRIT::rule< ScannerT > | ringFragment |
| MoleculeComponent & | toFill |
| the molecule component to be filled More... | |
Definition at line 140 of file MoleculeComponent_GML_grammar.hh.
|
protected |
| Enumerator | |
|---|---|
| Fill_constrAdj_NL | |
| Fill_constrAdj_EL | |
| Fill_constrLabel_NL | |
| Fill_compIDs | |
| Fill_ringFragments | |
Definition at line 187 of file MoleculeComponent_GML_grammar.hh.
| ggl::chem::MoleculeComponent_GML_grammar::definition< ScannerT >::definition | ( | const MoleculeComponent_GML_grammar & | self | ) |
Construction of the GML BNF grammar rules to parse a MoleculeComponent
| self | access to the calling grammar |
|
protected |
Resets toFill to enable the detection of missing information within final_checks()
|
protected |
Performs final checks on toFill to ensure that the parse was correct
| std::invalid_argument | in case a check fails |
|
protected |
Inserts a string into a given string set
| list | the encoding which list to be fill |
| NS_BOOSTSPIRIT::rule<ScannerT> const& ggl::chem::MoleculeComponent_GML_grammar::definition< ScannerT >::start | ( | ) | const |
|
protected |
Stores a node adjacency constraint of the MoleculeComponent
|
protected |
Stores a node label constraint of the MoleculeComponent
|
protected |
Stores an edge of the MoleculeComponent pattern graph.
| std::invalid_argument | in case a check fails |
|
protected |
Stores a node of the MoleculeComponent pattern graph.
| std::invalid_argument | in case a check fails |
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 182 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 183 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 184 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 183 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 178 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 179 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 178 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 178 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 179 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 185 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 180 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 165 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 161 of file MoleculeComponent_GML_grammar.hh.
|
protected |
the mapping of node IDs in the GML notation and their corresponding node IDs in the created pattern graph
Definition at line 169 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 173 of file MoleculeComponent_GML_grammar.hh.
|
protected |
Definition at line 157 of file MoleculeComponent_GML_grammar.hh.