CFactoryBase.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_factories_CFactoryBase_h_
#define polybori_factories_CFactoryBase_h_
// include basic definitions
#include <polybori/pbori_defs.h>
#include <polybori/BoolePolyRing.h>
BEGIN_NAMESPACE_PBORI
class CFactoryBase {
typedef CFactoryBase self;
public:
typedef BoolePolyRing parent_type;
CFactoryBase(const parent_type& parent): m_parent(parent) {}
CFactoryBase(const self& rhs): m_parent(rhs.m_parent) {}
~CFactoryBase() {}
const parent_type& parent() const { return m_parent; }
private:
parent_type m_parent;
};
END_NAMESPACE_PBORI
#endif /* polybori_factories_CFactoryBase_h_ */