Rueba  1.0
Refectory Access System
BinaryTree.h
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 
7 /*
8  * File: BinaryTree.h
9  * Author: mvalente
10  *
11  * Created on May 15, 2017, 3:35 PM
12  */
13 
14 #ifndef BINARYTREE_H
15 #define BINARYTREE_H
16 
17 #include "Node.h"
18 
19 class BinaryTree {
20  Node* raiz;
21  void auxApagaTree (Node*);
22  void auxInserir (Node *&, int) ;
23  void auxRemoverNodo (Node *&, int) ;
24  Node* auxProcurar (Node *, int);
25 
26  public:
27  BinaryTree ();
28  ~BinaryTree ();
29  void apagaTree ();
30  void inserirNodo (int matricula);
31  void removerNodo (int matricula);
32  Node* procurarNodo (int matricula);
34  bool estaVazia ();
35 
36 };
37 
38 #endif /* BINARYTREE_H */
39 
Definition: Node.h:17
bool estaVazia()
Definition: BinaryTree.cpp:61
~BinaryTree()
Definition: BinaryTree.cpp:25
Node * removerMenorValor(Node *&)
Definition: BinaryTree.cpp:129
Definition: BinaryTree.h:19
void removerNodo(int matricula)
Definition: BinaryTree.cpp:49
void inserirNodo(int matricula)
Definition: BinaryTree.cpp:41
BinaryTree()
Definition: BinaryTree.cpp:18