#include <utf8transliterator.h>
This Filter uses ICU for transliteration
Definition at line 63 of file utf8transliterator.h.
UTF8Transliterator::UTF8Transliterator |
( |
| ) |
|
UTF8Transliterator::~UTF8Transliterator |
( |
| ) |
|
bool UTF8Transliterator::addTrans |
( |
const char * |
newTrans, |
|
|
SWBuf * |
transList |
|
) |
| |
|
private |
icu::Transliterator* UTF8Transliterator::createTrans |
( |
const icu::UnicodeString & |
ID, |
|
|
UTransDirection |
dir, |
|
|
UErrorCode & |
status |
|
) |
| |
|
private |
virtual const char* SWFilter::getHeader |
( |
| ) |
const |
|
inlinevirtualinherited |
virtual const char* UTF8Transliterator::getOptionName |
( |
| ) |
|
|
inlinevirtual |
virtual const char* UTF8Transliterator::getOptionTip |
( |
| ) |
|
|
inlinevirtual |
gets a short explanation of the option of this filter; it could be presented to the user in frontend programs
- Returns
- option tip/explanation
Reimplemented from SWOptionFilter.
Definition at line 93 of file utf8transliterator.h.
static const char optTip[]
virtual const char* UTF8Transliterator::getOptionValue |
( |
| ) |
|
|
virtual |
- Returns
- The value of the current option.
Reimplemented from SWOptionFilter.
virtual StringList UTF8Transliterator::getOptionValues |
( |
| ) |
|
|
inlinevirtual |
bool SWOptionFilter::isBoolean |
( |
| ) |
|
|
inlineinherited |
many options are simple Off/On boolean type, and frontends may wish to show these with checkmarks or the like to the end user. This is a convenience method to allow a frontend to check if this filter has only Off/On values
Definition at line 67 of file swoptfilter.h.
This method processes and appropriately modifies the text given it for a particular filter task
- Parameters
-
text | The text to be filtered/converted |
key | Current key That was used. |
module | Current module. |
- Returns
- 0
Implements SWFilter.
virtual void UTF8Transliterator::setOptionValue |
( |
const char * |
ival | ) |
|
|
virtual |
sets the value of the option of this filter, e.g maybe a strong's filter might be set to "On" / "Off" - that would mean to show or not to show the strongs in the text, see also getOptionValues()
- Parameters
-
Reimplemented from SWOptionFilter.
bool SWOptionFilter::isBooleanVal |
|
protectedinherited |
unsigned char UTF8Transliterator::option |
|
private |
SWBuf SWOptionFilter::optionValue |
|
protectedinherited |
const char UTF8Transliterator::optName[] |
|
staticprivate |
const char UTF8Transliterator::optTip[] |
|
staticprivate |
The documentation for this class was generated from the following file: