|
| 1 | +#include <type_traits> |
| 2 | + |
| 3 | +#include "../textencodingtype.h" |
| 4 | + |
| 5 | +#ifndef CRAP_TEXTENCODING_IANAENCODINGS_WINDOWS31LATIN5TEXTENCODINGTYPE |
| 6 | +#define CRAP_TEXTENCODING_IANAENCODINGS_WINDOWS31LATIN5TEXTENCODINGTYPE |
| 7 | + |
| 8 | +namespace crap |
| 9 | +{ |
| 10 | + using text_encoding_id_Windows31Latin5_t = |
| 11 | + std :: integral_constant<textEncodingType <void> :: id, textEncodingType <void> :: id :: Windows31Latin5>; |
| 12 | + |
| 13 | + template <> |
| 14 | + struct textEncodingType<text_encoding_id_Windows31Latin5_t> : textEncodingType<void> |
| 15 | + { |
| 16 | + using mib = text_encoding_id_Windows31Latin5_t; |
| 17 | + using name = string<char, 'I', 'S', 'O', '-', '8', '8', '5', '9', '-', '9', '-', 'W', 'i', 'n', 'd', 'o', 'w', 's', '-', 'L', 'a', 't', 'i', 'n', '-', '5'>; |
| 18 | + using aliases = typeList< |
| 19 | + string<char, 'I', 'S', 'O', '-', '8', '8', '5', '9', '-', '9', '-', 'W', 'i', 'n', 'd', 'o', 'w', 's', '-', 'L', 'a', 't', 'i', 'n', '-', '5'>, |
| 20 | + string<char, 'c', 's', 'W', 'i', 'n', 'd', 'o', 'w', 's', '3', '1', 'L', 'a', 't', 'i', 'n', '5'> >; |
| 21 | + }; |
| 22 | + |
| 23 | + template <> |
| 24 | + struct textEncodingType<string<char, 'c', 's', 'W', 'i', 'n', 'd', 'o', 'w', 's', '3', '1', 'L', 'a', 't', 'i', 'n', '5'> > |
| 25 | + : textEncodingType<text_encoding_id_Windows31Latin5_t> |
| 26 | + { |
| 27 | + }; |
| 28 | + |
| 29 | + template <> |
| 30 | + struct textEncodingType<string<char, 'I', 'S', 'O', '-', '8', '8', '5', '9', '-', '9', '-', 'W', 'i', 'n', 'd', 'o', 'w', 's', '-', 'L', 'a', 't', 'i', 'n', '-', '5'> > |
| 31 | + : textEncodingType<text_encoding_id_Windows31Latin5_t> |
| 32 | + { |
| 33 | + }; |
| 34 | +} |
| 35 | +#endif |
0 commit comments