You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
412 B
C++
22 lines
412 B
C++
#pragma once
|
|
#include <map>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace uns
|
|
{
|
|
class OCRCharset
|
|
{
|
|
private:
|
|
static std::map<int, std::wstring> en_charmap;
|
|
static std::map<int, std::wstring> ch_en_charmap;
|
|
|
|
public:
|
|
OCRCharset() = delete;
|
|
OCRCharset(const OCRCharset&) = delete;
|
|
|
|
public:
|
|
static std::wstring GetChar(int index);
|
|
static std::wstring GetString(const std::vector<int>& indexs);
|
|
};
|
|
} |