aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h')
-rw-r--r--contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h108
1 files changed, 54 insertions, 54 deletions
diff --git a/contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h b/contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h
index 67b6e513be..ac1cfecde3 100644
--- a/contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h
+++ b/contrib/libs/poco/Foundation/include/Poco/Latin2Encoding.h
@@ -1,54 +1,54 @@
-//
-// Latin2Encoding.h
-//
-// Library: Foundation
-// Package: Text
-// Module: Latin2Encoding
-//
-// Definition of the Latin2Encoding class.
-//
-// Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#ifndef Foundation_Latin2Encoding_INCLUDED
-#define Foundation_Latin2Encoding_INCLUDED
-
-
-#include "Poco/Foundation.h"
-#include "Poco/TextEncoding.h"
-
-
-namespace Poco {
-
-
-class Foundation_API Latin2Encoding: public TextEncoding
- /// ISO Latin-2 (8859-2) text encoding.
- ///
- /// Latin-2 is basically Latin-1 with the EURO sign plus
- /// some other minor changes.
-{
-public:
- Latin2Encoding();
- virtual ~Latin2Encoding();
- const char* canonicalName() const;
- bool isA(const std::string& encodingName) const;
- const CharacterMap& characterMap() const;
- int convert(const unsigned char* bytes) const;
- int convert(int ch, unsigned char* bytes, int length) const;
- int queryConvert(const unsigned char* bytes, int length) const;
- int sequenceLength(const unsigned char* bytes, int length) const;
-
-private:
- static const char* _names[];
- static const CharacterMap _charMap;
-};
-
-
-} // namespace Poco
-
-
-#endif // Foundation_Latin2Encoding_INCLUDED
+//
+// Latin2Encoding.h
+//
+// Library: Foundation
+// Package: Text
+// Module: Latin2Encoding
+//
+// Definition of the Latin2Encoding class.
+//
+// Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH.
+// and Contributors.
+//
+// SPDX-License-Identifier: BSL-1.0
+//
+
+
+#ifndef Foundation_Latin2Encoding_INCLUDED
+#define Foundation_Latin2Encoding_INCLUDED
+
+
+#include "Poco/Foundation.h"
+#include "Poco/TextEncoding.h"
+
+
+namespace Poco {
+
+
+class Foundation_API Latin2Encoding: public TextEncoding
+ /// ISO Latin-2 (8859-2) text encoding.
+ ///
+ /// Latin-2 is basically Latin-1 with the EURO sign plus
+ /// some other minor changes.
+{
+public:
+ Latin2Encoding();
+ virtual ~Latin2Encoding();
+ const char* canonicalName() const;
+ bool isA(const std::string& encodingName) const;
+ const CharacterMap& characterMap() const;
+ int convert(const unsigned char* bytes) const;
+ int convert(int ch, unsigned char* bytes, int length) const;
+ int queryConvert(const unsigned char* bytes, int length) const;
+ int sequenceLength(const unsigned char* bytes, int length) const;
+
+private:
+ static const char* _names[];
+ static const CharacterMap _charMap;
+};
+
+
+} // namespace Poco
+
+
+#endif // Foundation_Latin2Encoding_INCLUDED