blob: 7a8dea0385750b9f2119f2920989c9a6a857cfb7 (
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
|
#ifndef __HTREE_H__
#define __HTREE_H__
#include <PTypes.h>
#define MAX_HDEPTH 256
#ifdef __cplusplus
class HTree {
private:
HTree * left, * right;
int freq;
Datas_t objet;
public:
HTree(int n_freq, char * n_objet);
HTree(HTree * n_left, HTree * n_right);
~HTree();
ostream & Trace(ostream & os, int d = 0);
};
#else
#error This librairy will only compile with a C++ compiler.
#endif
#endif
|