diff options
Diffstat (limited to 'GateAnd.h')
-rw-r--r-- | GateAnd.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/GateAnd.h b/GateAnd.h new file mode 100644 index 0000000..5eedc07 --- /dev/null +++ b/GateAnd.h @@ -0,0 +1,17 @@ +#pragma once + +#include "Node.h" + +class GateAnd : public Node { +public: + GateAnd(const GateAnd * prototype); + virtual ~GateAnd() = default; + virtual void compare(); + virtual GateAnd * clone() const; + +private: + GateAnd(const char * type); + constexpr static const char * type = "and"; + static GateAnd instance; +}; + |