#pragma once #include "Node.h" class GateAnd : public Node { public: GateAnd() = default; GateAnd(const GateAnd * prototype); ~GateAnd() = default; virtual GateAnd * clone() const; private: SignalLevel level(); GateAnd(const char * type); constexpr static const char * type = "and"; static GateAnd instance; };