PolyBoRi
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 
26 
35 class CFactoryBase {
37  typedef CFactoryBase self;
38 
39 public:
42 
44  CFactoryBase(const parent_type& parent): m_parent(parent) {}
45 
47  CFactoryBase(const self& rhs): m_parent(rhs.m_parent) {}
48 
51 
53  const parent_type& parent() const { return m_parent; }
54 
55 private:
56  parent_type m_parent;
57 };
58 
60 
61 #endif /* polybori_factories_CFactoryBase_h_ */