From 7de36407f2f7dfe6c7c09907964ddc192646038b Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 6 Apr 2017 09:24:36 -0400 Subject: [PATCH] add several gate classes --- src/and.cpp | 0 src/and.h | 8 ++++++++ src/not.cpp | 0 src/not.h | 8 ++++++++ src/or.cpp | 0 src/or.h | 8 ++++++++ test | 0 7 files changed, 24 insertions(+) create mode 100644 src/and.cpp create mode 100644 src/and.h create mode 100644 src/not.cpp create mode 100644 src/not.h create mode 100644 src/or.cpp create mode 100644 src/or.h create mode 100644 test diff --git a/src/and.cpp b/src/and.cpp new file mode 100644 index 0000000..e69de29 diff --git a/src/and.h b/src/and.h new file mode 100644 index 0000000..e99a4ab --- /dev/null +++ b/src/and.h @@ -0,0 +1,8 @@ +#ifndef AND +#define AND + +class and : public gate { + //TODO +}; + +#endif // !AND diff --git a/src/not.cpp b/src/not.cpp new file mode 100644 index 0000000..e69de29 diff --git a/src/not.h b/src/not.h new file mode 100644 index 0000000..2ccc35d --- /dev/null +++ b/src/not.h @@ -0,0 +1,8 @@ +#ifndef NOT +#define NOT + +class not : public gate { + //TODO +}; + +#endif // !NOT diff --git a/src/or.cpp b/src/or.cpp new file mode 100644 index 0000000..e69de29 diff --git a/src/or.h b/src/or.h new file mode 100644 index 0000000..62d804a --- /dev/null +++ b/src/or.h @@ -0,0 +1,8 @@ +#ifndef OR +#define OR + +class or : public gate { + //TODO +}; + +#endif // !OR diff --git a/test b/test new file mode 100644 index 0000000..e69de29