aboutsummaryrefslogtreecommitdiff
path: root/GateNand.h
blob: fb9d788486baf55690b911139fd2dd89415a224e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

// #include "Node.h"
#include "GateAnd.h"

class GateNand : public GateAnd {
public:
	virtual GateNand * clone() const;

protected:
	SignalLevel level();
	using GateAnd::GateAnd;

private:
	GateNand(const GateNand *) : GateAnd() {}
	// GateNand(const char * type);
	constexpr static const char * type = "nand";
	static GateNand instance;
};