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_ */
polybori::CFactoryBase::CFactoryBase
CFactoryBase(const self &rhs)
Copy constructor.
Definition: CFactoryBase.h:47
polybori::CFactoryBase::parent_type
BoolePolyRing parent_type
Type of parent.
Definition: CFactoryBase.h:41
END_NAMESPACE_PBORI
#define END_NAMESPACE_PBORI
Finish project's namespace.
Definition: pbori_defs.h:77
polybori::CFactoryBase::parent
const parent_type & parent() const
Access delayed data.
Definition: CFactoryBase.h:53
polybori::CFactoryBase::~CFactoryBase
~CFactoryBase()
Destructor.
Definition: CFactoryBase.h:50
BEGIN_NAMESPACE_PBORI
#define BEGIN_NAMESPACE_PBORI
Start project's namespace.
Definition: pbori_defs.h:74
polybori::BoolePolyRing
This class reinterprets decicion diagram managers as Boolean polynomial rings, adds an ordering and v...
Definition: BoolePolyRing.h:40
polybori::CFactoryBase::CFactoryBase
CFactoryBase(const parent_type &parent)
Default constructor.
Definition: CFactoryBase.h:44
pbori_defs.h
polybori::CFactoryBase
This base class CFactoryBase is used for currying other constructors with a BoolePolyRing.
Definition: CFactoryBase.h:35
BoolePolyRing.h