Generated on Wed Apr 29 2015 11:51:40 for GGL-4.1.2 by doxygen 1.8.3.1
ChemRuleGraph.hh
Go to the documentation of this file.
1 #ifndef GGL_CHEM_CHEMRULEGRAPH_HH_
2 #define GGL_CHEM_CHEMRULEGRAPH_HH_
3 
4 #include "ggl/chem/ChemRule.hh"
5 #include "ggl/RuleGraph.hh"
6 
7 namespace ggl {
8  namespace chem {
9 
10 
11 
12  //! RightSidePattern graph of a ggl::chem::ChemRule
14 
15 
16  //! LeftSidePattern graph of a ggl::chem::ChemRule
18  {
19 
20  public:
21 
22  //! type of the super class
24 
25  //! index type used
27 
28  //! Constructs a LeftSidePattern for the given rule
29  //! @param rule the ChemRule this object will be a left side pattern of
31  : SuperClass(rule)
32  {}
33 
34  //! destruction
35  virtual
37  {}
38 
39  //! Constant access to the internal ChemRule object.
40  //! @return the internal Rule object
41  virtual
42  const ChemRule &
43  getRule(void) const {
44  return (const ChemRule&)(SuperClass::getRule());
45  }
46 
47 
48  };
49 
50  } // chem
51 } // ggl
52 
53 #endif /*GGL_CHEM_CHEMRULEGRAPH_HH_*/