VoiceMan
|
Stores all information about a replacement item. More...
Public Member Functions | |
Replacement () | |
The default constructor. | |
Replacement (LangId lang, const std::wstring &oldString, const std::wstring &newString) | |
The constructor. | |
Public Attributes | |
LangId | langId |
The language this replacement is associated with. | |
std::wstring | newValue |
The string to replace with. | |
std::wstring | oldValue |
The string to replace. |
There are lists of replacements associated with each language. Replacements can be used for punctuation processing or any other purpose. This struct contains all necessary information about one replacement. String fields must store exact values, no pattern or expressions are allowed.
Replacement::Replacement | ( | LangId | lang, |
const std::wstring & | oldString, | ||
const std::wstring & | newString | ||
) | [inline] |
[in] | lang | The ID of the language this replacement is associated with |
[in] | oldstring | The string to replace |
[in] | newstring | The string to replace with |