Maps characters to their corresponding Braille integer representations. More...
#include <BrailleMapper.h>
Public Member Functions | |
| BrailleMapper () | |
| Constructs a BrailleMapper object and initializes mappings. | |
| int | getBrailleHash (char letter) const |
| Retrieves the Braille integer representation of a given letter. | |
| std::vector< int > | stringToIntegerList (const String &input) const |
| Converts a string into a list of Braille integer representations. | |
Maps characters to their corresponding Braille integer representations.
This class provides functionality to convert individual characters and strings into Braille numerical representations based on English Tier One Braille.
| int BrailleMapper::getBrailleHash | ( | char | letter | ) | const |
Retrieves the Braille integer representation of a given letter.
| letter | The character to be mapped. |
| std::vector< int > BrailleMapper::stringToIntegerList | ( | const String & | input | ) | const |
Converts a string into a list of Braille integer representations.
Given an input string (e.g., "hello"), this function returns a vector containing the corresponding Braille integer values for each character.
| input | The input string to convert. |