mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-10 18:14:58 +01:00
enh(Foundation): modernised header files (override, using, nullptr, ...)
This commit is contained in:
@@ -36,9 +36,9 @@ public:
|
||||
DigestBuf(DigestEngine& eng);
|
||||
DigestBuf(DigestEngine& eng, std::istream& istr);
|
||||
DigestBuf(DigestEngine& eng, std::ostream& ostr);
|
||||
~DigestBuf();
|
||||
int readFromDevice(char* buffer, std::streamsize length);
|
||||
int writeToDevice(const char* buffer, std::streamsize length);
|
||||
~DigestBuf() override;
|
||||
int readFromDevice(char *buffer, std::streamsize length) override;
|
||||
int writeToDevice(const char *buffer, std::streamsize length) override;
|
||||
void close();
|
||||
|
||||
private:
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
DigestIOS(DigestEngine& eng);
|
||||
DigestIOS(DigestEngine& eng, std::istream& istr);
|
||||
DigestIOS(DigestEngine& eng, std::ostream& ostr);
|
||||
~DigestIOS();
|
||||
~DigestIOS() override;
|
||||
DigestBuf* rdbuf();
|
||||
|
||||
protected:
|
||||
@@ -74,7 +74,7 @@ class Foundation_API DigestInputStream: public DigestIOS, public std::istream
|
||||
{
|
||||
public:
|
||||
DigestInputStream(DigestEngine& eng, std::istream& istr);
|
||||
~DigestInputStream();
|
||||
~DigestInputStream() override;
|
||||
};
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ class Foundation_API DigestOutputStream: public DigestIOS, public std::ostream
|
||||
public:
|
||||
DigestOutputStream(DigestEngine& eng);
|
||||
DigestOutputStream(DigestEngine& eng, std::ostream& ostr);
|
||||
~DigestOutputStream();
|
||||
~DigestOutputStream() override;
|
||||
void close();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user