#include <opentrep/basic/OTransliterator.hpp>
Public Member Functions | |
std::string | normalise (const std::string &iString) const |
OTransliterator () | |
OTransliterator (const OTransliterator &) | |
~OTransliterator () | |
Wrapper around a Unicode transliterator.
Definition at line 20 of file OTransliterator.hpp.
OPENTREP::OTransliterator::OTransliterator | ( | ) |
Default Constructor.
Definition at line 17 of file OTransliterator.cpp.
OPENTREP::OTransliterator::OTransliterator | ( | const OTransliterator & | iTransliterator | ) |
Copy Constructor.
Definition at line 24 of file OTransliterator.cpp.
OPENTREP::OTransliterator::~OTransliterator | ( | ) |
Destructor.
Definition at line 42 of file OTransliterator.cpp.
std::string OPENTREP::OTransliterator::normalise | ( | const std::string & | iString | ) | const |
Remove the accents of the given string.
const | std::string& The string for which the strings must be removed |
Definition at line 134 of file OTransliterator.cpp.
References OPENTREP::getUTF8().
Referenced by OPENTREP::Place::addNameToXapianSets(), BOOST_AUTO_TEST_CASE(), and OPENTREP::Place::buildIndexSets().