Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

trie/trie_manipulators/ManipulatorBase.hpp

Go to the documentation of this file.
00001 #ifndef ManipulatorBase_HPP
00002 #define ManipulatorBase_HPP
00003 
00004 
00005 #include "common.hpp"
00006 #include "common/Edge.hpp"
00007 #include <vector>
00008 //#include <cstdio>
00009 //#include <iterator>   //for test
00010 
00011 
00012 namespace Bodon
00013 {
00014    template <class DF_D, class TRIE>
00015    class ManipulatorBase
00016    {
00017       protected:
00019          TRIE& main_trie;
00021          DF_D& df_decoder;
00022 
00023       public:
00024          ManipulatorBase( TRIE& main_trie, DF_D& df_decoder ) : 
00025             main_trie(main_trie), df_decoder(df_decoder){}
00026 
00027          bool isThereAnyCandidate() const
00028          {
00029             return main_trie.isThereAnyCandidate();
00030          }
00031 
00032    };
00033 }
00034 
00035 
00036 #endif

Generated on Sun Sep 17 17:50:39 2006 for FIM environment by  doxygen 1.4.4