summaryrefslogtreecommitdiffstats
path: root/2022-2/L10/mitsuo/Nodo.h
blob: fcfb078ecfc2584af948f67b62ed6c077dd6195f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 */