PolyBoRi
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
libpolybori
include
polybori
factories
CFactoryBase.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
//*****************************************************************************
15
//*****************************************************************************
16
17
#ifndef polybori_factories_CFactoryBase_h_
18
#define polybori_factories_CFactoryBase_h_
19
20
// include basic definitions
21
#include <
polybori/pbori_defs.h
>
22
#include <
polybori/BoolePolyRing.h
>
23
24
25
BEGIN_NAMESPACE_PBORI
26
35
class
CFactoryBase
{
37
typedef
CFactoryBase
self
;
38
39
public
:
41
typedef
BoolePolyRing
parent_type
;
42
44
CFactoryBase
(
const
parent_type
& parent): m_parent(parent) {}
45
47
CFactoryBase
(
const
self
& rhs): m_parent(rhs.m_parent) {}
48
50
~CFactoryBase
() {}
51
53
const
parent_type
&
parent
()
const
{
return
m_parent; }
54
55
private
:
56
parent_type m_parent;
57
};
58
59
END_NAMESPACE_PBORI
60
61
#endif
/* polybori_factories_CFactoryBase_h_ */
Generated by
1.8.3.1