6ddba32f48
Former-commit-id: fa7407621e839f87613476596c6589aeceb9d796
22 lines
473 B
C++
22 lines
473 B
C++
#ifndef SPECIAL_CASING_CONVERTER_HDR
|
|
#define SPECIAL_CASING_CONVERTER_HDR
|
|
|
|
#include "case_tables.hpp"
|
|
|
|
class SpecialCasingConverter {
|
|
|
|
public:
|
|
SpecialCasingConverter(size_t tableSize, const SpecialCasingConversionRecord* conversionTable)
|
|
:tableSize_(tableSize), conversionTable_(conversionTable) {
|
|
}
|
|
|
|
const char* convert(uint32_t code_point) const;
|
|
|
|
private:
|
|
|
|
size_t tableSize_;
|
|
const SpecialCasingConversionRecord* conversionTable_;
|
|
};
|
|
|
|
#endif
|