Initial import of XMLTree
[SXSI/XMLTree.git] / libcds / src / static_sequence / wt_coder_binary.h
1
2 #ifndef wt_coder_binary_h
3 #define wt_coder_binary_h
4
5 #include <basics.h>
6 #include <wt_coder.h>
7 #include <alphabet_mapper.h>
8
9 class wt_coder_binary: public wt_coder {
10         public:
11                 wt_coder_binary(uint * seq, uint n, alphabet_mapper * am);
12                 virtual ~wt_coder_binary();
13                 virtual bool is_set(uint symbol, uint l);
14                 virtual bool done(uint symbol, uint l);
15     virtual uint size();
16
17         protected:
18                 uint h;
19 };
20
21 #endif
22