main page
namespaces
classes
files
GGL home
Generated on Wed Apr 29 2015 11:51:40 for GGL-4.1.2 by
doxygen
1.8.3.1
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
src
ggl
chem
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
13
typedef
ggl::RightSidePattern
RightSidePattern
;
14
15
16
//! LeftSidePattern graph of a ggl::chem::ChemRule
17
class
LeftSidePattern
:
public
ggl::LeftSidePattern
18
{
19
20
public
:
21
22
//! type of the super class
23
typedef
ggl::LeftSidePattern
SuperClass
;
24
25
//! index type used
26
typedef
SuperClass::IndexSet
IndexSet
;
27
28
//! Constructs a LeftSidePattern for the given rule
29
//! @param rule the ChemRule this object will be a left side pattern of
30
LeftSidePattern
(
const
ChemRule
&
rule
)
31
:
SuperClass
(rule)
32
{}
33
34
//! destruction
35
virtual
36
~LeftSidePattern
( )
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_*/