2021-01-30 07:51:39 +01:00
|
|
|
//
|
|
|
|
// Windows1255Encoding.h
|
|
|
|
//
|
|
|
|
// Library: Encodings
|
|
|
|
// Package: Encodings
|
|
|
|
// Module: Windows1255Encoding
|
|
|
|
//
|
|
|
|
// Definition of the Windows1252Encoding class.
|
|
|
|
//
|
|
|
|
// Copyright (c) 2018, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef Encodings_Windows1255Encoding_INCLUDED
|
|
|
|
#define Encodings_Windows1255Encoding_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/DoubleByteEncoding.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
|
|
|
|
|
|
class Encodings_API Windows1255Encoding: public DoubleByteEncoding
|
|
|
|
/// windows-1255 Encoding.
|
|
|
|
///
|
|
|
|
/// This text encoding class has been generated from
|
|
|
|
/// http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1255.TXT.
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Windows1255Encoding();
|
|
|
|
~Windows1255Encoding();
|
2023-03-23 19:19:11 +01:00
|
|
|
|
2021-01-30 07:51:39 +01:00
|
|
|
private:
|
|
|
|
static const char* _names[];
|
|
|
|
static const CharacterMap _charMap;
|
|
|
|
static const Mapping _mappingTable[];
|
|
|
|
static const Mapping _reverseMappingTable[];
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace Poco
|
|
|
|
|
|
|
|
|
|
|
|
#endif // Encodings_Windows1255Encoding_INCLUDED
|