enh(Foundation): modernised header files (override, using, nullptr, ...)

This commit is contained in:
Matej Kenda
2025-02-10 14:52:52 +01:00
parent 9e4e039c04
commit e7687d4bba
184 changed files with 1487 additions and 1797 deletions

View File

@@ -48,7 +48,7 @@ public:
/// indicated by the given byte-order mark, which is the Unicode
/// character 0xFEFF.
~UTF32Encoding();
~UTF32Encoding() override;
ByteOrderType getByteOrder() const;
/// Returns the byte-order currently in use.
@@ -61,13 +61,13 @@ public:
/// byte order mark, which is the Unicode
/// character 0xFEFF.
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;
const char* canonicalName() const override;
bool isA(const std::string& encodingName) const override;
const CharacterMap& characterMap() const override;
int convert(const unsigned char* bytes) const override;
int convert(int ch, unsigned char* bytes, int length) const override;
int queryConvert(const unsigned char* bytes, int length) const override;
int sequenceLength(const unsigned char* bytes, int length) const override;
protected:
static int safeToInt(Poco::UInt32 value)