summaryrefslogtreecommitdiffstats
path: root/2022-2/L10/mitsuo/Nodo.h
diff options
context:
space:
mode:
Diffstat (limited to '2022-2/L10/mitsuo/Nodo.h')
-rw-r--r--2022-2/L10/mitsuo/Nodo.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/2022-2/L10/mitsuo/Nodo.h b/2022-2/L10/mitsuo/Nodo.h
new file mode 100644
index 0000000..fcfb078
--- /dev/null
+++ b/2022-2/L10/mitsuo/Nodo.h
@@ -0,0 +1,28 @@
+/*
+ * File: Nodo.h
+ * Author: mitsuo
+ *
+ * Created on 02 December 2022, 12:38
+ */
+
+#ifndef NODO_H
+#define NODO_H
+
+#include "Medicamento.h"
+
+class Nodo {
+public:
+ Nodo();
+ Nodo(const Nodo& orig);
+ virtual ~Nodo();
+
+private:
+ Medicamento * med;
+ Nodo * izq;
+ Nodo * der;
+
+ friend class Arbol;
+};
+
+#endif /* NODO_H */
+