mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-18 04:00:03 +02:00
common/include/eoskeygen/core/dictionary.h: adding getWords() method.
This commit is contained in:
parent
bc614da0e8
commit
3ca4631bbe
2 changed files with 8 additions and 0 deletions
|
|
@ -53,6 +53,9 @@ public :
|
|||
// Clear all words from the dictionary.
|
||||
void clear();
|
||||
|
||||
// Returns the list of words in the dictionary.
|
||||
const std::set<std::string>& getWords() const;
|
||||
|
||||
// Returns true if word exists in the dictionary.
|
||||
bool contains(const std::string& word) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue