REPLACEMENT Struct Reference
Stores all information about a replacement item.
More...
List of all members.
|
Public Member Functions |
| | REPLACEMENT (LangId lang, const std::wstring &oldString, const std::wstring &newString) |
| | The constructor.
|
|
| REPLACEMENT () |
| | The default 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.
|
Detailed Description
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.
Constructor & Destructor Documentation
| REPLACEMENT::REPLACEMENT |
( |
LangId |
lang, |
|
|
const std::wstring & |
oldString, |
|
|
const std::wstring & |
newString | |
|
) |
| | [inline] |
- Parameters:
-
| [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 |