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