aboutsummaryrefslogtreecommitdiff
path: root/Circuit.h
diff options
context:
space:
mode:
Diffstat (limited to 'Circuit.h')
-rw-r--r--Circuit.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Circuit.h b/Circuit.h
index 249301d..5fd8d23 100644
--- a/Circuit.h
+++ b/Circuit.h
@@ -2,6 +2,10 @@
#include <string>
#include <vector>
+#include <map>
+
+#include "Node.h"
+#include "Net.h"
using std::string;
using std::vector;
@@ -9,11 +13,15 @@ using std::vector;
class Circuit {
public:
Circuit() = default;
- virtual ~Circuit() = default;
+ virtual ~Circuit();
public:
void create(string label, vector<string> nodes);
void new_node(string label, string type);
void new_net(string label, string node);
+
+private:
+ std::map<string, Node *> nodes = {};
+ std::map<string, Net *> nets = {};
};