diff options
author | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2024-05-29 11:38:27 +0200 |
---|---|---|
committer | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2024-05-29 11:38:27 +0200 |
commit | ee74e0a40ad4aa2de417544b9c33d98eb06c081b (patch) | |
tree | cc2d05708ec68dc6cfbe97fed2577df7c233a863 | |
parent | 22b97d969cdff46a06a48a5bce7d183c4a877fb5 (diff) |
Renamed class Node to Gate
-rw-r--r-- | Gate.cpp | 10 | ||||
-rw-r--r-- | Gate.h (renamed from Node.h) | 8 | ||||
-rw-r--r-- | Node.cpp | 10 |
3 files changed, 15 insertions, 13 deletions
diff --git a/Gate.cpp b/Gate.cpp new file mode 100644 index 0000000..22d57e2 --- /dev/null +++ b/Gate.cpp @@ -0,0 +1,10 @@ +#include "Gate.h" + +Gate::Gate(/* args */){} +Gate::~Gate(){} +void Gate::addInput(Net*){ + +} +void Gate::addOutput(Net*){ + +} @@ -7,7 +7,7 @@ -class Node: Observer { +class Gate: Observer { private: std::string label; std::string type; @@ -16,8 +16,10 @@ class Node: Observer { std::vector<Net*> outputs; public: - Node(/* args */); - ~Node(); + Gate(/* args */); + ~Gate(); virtual void addInput(Net*); virtual void addOutput(Net*); }; + +class GateAnd diff --git a/Node.cpp b/Node.cpp deleted file mode 100644 index 7ed1f98..0000000 --- a/Node.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include "Node.h" - -Node::Node(/* args */){} -Node::~Node(){} -void Node::addInput(Net*){ - -} -void Node::addOutput(Net*){ - -} |