Electroneum
Public Member Functions | List of all members
Language::Spanish Class Reference

#include <spanish.h>

Inheritance diagram for Language::Spanish:
Inheritance graph
[legend]
Collaboration diagram for Language::Spanish:
Collaboration graph
[legend]

Public Member Functions

 Spanish ()
 
- Public Member Functions inherited from Language::Base
 Base (const char *language_name, const char *english_language_name, const std::vector< std::string > &words, uint32_t prefix_length)
 
virtual ~Base ()
 
void set_words (const char *const words[])
 
const std::vector< std::string > & get_word_list () const
 Returns a pointer to the word list. More...
 
const std::unordered_map< epee::wipeable_string, uint32_t, WordHash, WordEqual > & get_word_map () const
 Returns a pointer to the word map. More...
 
const std::unordered_map< epee::wipeable_string, uint32_t, WordHash, WordEqual > & get_trimmed_word_map () const
 Returns a pointer to the trimmed word map. More...
 
const std::string & get_language_name () const
 Returns the name of the language. More...
 
const std::string & get_english_language_name () const
 Returns the name of the language in English. More...
 
uint32_t get_unique_prefix_length () const
 Returns the number of unique starting characters to be used for matching. More...
 

Additional Inherited Members

- Protected Types inherited from Language::Base
enum  { ALLOW_SHORT_WORDS = 1<<0 , ALLOW_DUPLICATE_PREFIXES = 1<<1 }
 
enum  { NWORDS = 1626 }
 
- Protected Member Functions inherited from Language::Base
void populate_maps (uint32_t flags=0)
 Populates the word maps after the list is ready. More...
 
- Protected Attributes inherited from Language::Base
std::vector< std::string > word_list
 
std::unordered_map< epee::wipeable_string, uint32_t, WordHash, WordEqualword_map
 
std::unordered_map< epee::wipeable_string, uint32_t, WordHash, WordEqualtrimmed_word_map
 
std::string language_name
 
std::string english_language_name
 
uint32_t unique_prefix_length
 

Constructor & Destructor Documentation

◆ Spanish()

Language::Spanish::Spanish ( )
inline

The documentation for this class was generated from the following file: