concordia-library/utf8case/special_casing_converter.hpp
Rafał Jaworski 6ddba32f48 utf8
Former-commit-id: fa7407621e839f87613476596c6589aeceb9d796
2014-04-24 11:51:04 +02:00

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