From 833d20a69fe17ab846c153e35230c66a41d8fca9 Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Wed, 28 Feb 2001 11:40:25 +0000 Subject: Premier jet --- include/HTree.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/HTree.h (limited to 'include/HTree.h') diff --git a/include/HTree.h b/include/HTree.h new file mode 100644 index 0000000..7a8dea0 --- /dev/null +++ b/include/HTree.h @@ -0,0 +1,25 @@ +#ifndef __HTREE_H__ +#define __HTREE_H__ + +#include + +#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 -- cgit v1.2.3