| 1 | //cxx . . $ `<file>/src/rime/gear/reverse_lookup_translator.h`/ |
| 2 | // Copyright RIME Developers |
| 3 | // Distributed under the BSD License |
| 4 | // |
| 5 | // 2012-01-03 GONG Chen <[email protected]> |
| 6 | // |
| 7 | #ifndef RIME_REVERSE_LOOKUP_TRANSLATOR_H_ |
| 8 | #define RIME_REVERSE_LOOKUP_TRANSLATOR_H_cxx . . $ `src/rime/gear/reverse_lookup_translator.h:8:9`! |
| 9 | |
| 10 | #include <rime/common.h>cxx . . $ `<file>/src/rime/common.h`/ |
| 11 | #include <rime/translator.h>cxx . . $ `<file>/src/rime/translator.h`/ |
| 12 | #include <rime/algo/algebra.h>cxx . . $ `<file>/src/rime/algo/algebra.h`/ |
| 13 | |
| 14 | namespace rimecxx . . $ rime/ { |
| 15 | |
| 16 | class Dictionarycxx . . $ rime/Dictionary#; |
| 17 | class ReverseLookupDictionarycxx . . $ rime/ReverseLookupDictionary#; |
| 18 | class TranslatorOptionscxx . . $ rime/TranslatorOptions#; |
| 19 | |
| 20 | class ReverseLookupTranslatorcxx . . $ rime/ReverseLookupTranslator# : public Translatorcxx . . $ rime/Translator# { |
| 21 | public: |
| 22 | ReverseLookupTranslatorcxx . . $ rime/ReverseLookupTranslator#ReverseLookupTranslator(1b3cee102caa60c1).(const Ticketcxx . . $ rime/Ticket#& ticket); |
| 23 | |
| 24 | virtual ancxx . . $ rime/an#<Translationcxx . . $ rime/Translation#> Querycxx . . $ rime/ReverseLookupTranslator#Query(d7d06111d0d0a0f8).(const stringcxx . . $ rime/string#& input, const Segmentcxx . . $ rime/Segment#& segment); |
| 25 | |
| 26 | protected: |
| 27 | void Initializecxx . . $ rime/ReverseLookupTranslator#Initialize(49f6e7a06ebc5aa8).(); |
| 28 | |
| 29 | stringcxx . . $ rime/string# tag_cxx . . $ rime/ReverseLookupTranslator#tag_.; |
| 30 | bool initialized_cxx . . $ rime/ReverseLookupTranslator#initialized_. = false; |
| 31 | thecxx . . $ rime/the#<Dictionarycxx . . $ rime/Dictionary#> dict_cxx . . $ rime/ReverseLookupTranslator#dict_.; |
| 32 | thecxx . . $ rime/the#<ReverseLookupDictionarycxx . . $ rime/ReverseLookupDictionary#> rev_dict_cxx . . $ rime/ReverseLookupTranslator#rev_dict_.; |
| 33 | thecxx . . $ rime/the#<TranslatorOptionscxx . . $ rime/TranslatorOptions#> options_cxx . . $ rime/ReverseLookupTranslator#options_.; |
| 34 | stringcxx . . $ rime/string# prefix_cxx . . $ rime/ReverseLookupTranslator#prefix_.; |
| 35 | stringcxx . . $ rime/string# suffix_cxx . . $ rime/ReverseLookupTranslator#suffix_.; |
| 36 | stringcxx . . $ rime/string# tips_cxx . . $ rime/ReverseLookupTranslator#tips_.; |
| 37 | }; |
| 38 | |
| 39 | } // namespace rime |
| 40 | |
| 41 | #endif // RIME_REVERSE_LOOKUP_TRANSLATOR_H_ |