blob: 18150b1b7d2c3d0f608df87a2f206002d7329389 (
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
|