📄 suggest.hpp
字号:
// Copyright 2000 by Kevin Atkinson under the terms of the LGPL#include "word_list.hpp"#include "enumeration.hpp"#include "parm_string.hpp"using namespace acommon;namespace aspeller { class SpellerImpl; class SuggestionList : public WordList { public: typedef StringEnumeration VirEmul; typedef Enumeration<VirEmul> Emul; typedef const char * Value; typedef unsigned int Size; virtual SuggestionList * clone() const = 0; virtual void assign(const SuggestionList *) = 0; virtual bool empty() const = 0; virtual Size size() const = 0; virtual VirEmul * elements() const = 0; virtual ~SuggestionList() {} }; class Suggest { public: virtual PosibErr<void> set_mode(ParmString) = 0; virtual double score(const char * base, const char * other) = 0; virtual SuggestionList & suggest(const char * word) = 0; virtual ~Suggest() {} }; Suggest * new_default_suggest(SpellerImpl *);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -