class Poco::DigestIOS

Overview

The base class for DigestInputStream and DigestOutputStream. Moreā€¦

#include <DigestStream.h>

class DigestIOS: public ios
{
public:
    // construction

    DigestIOS(DigestEngine& eng);

    DigestIOS(
        DigestEngine& eng,
        std::istream& istr
        );

    DigestIOS(
        DigestEngine& eng,
        std::ostream& ostr
        );

    // methods

    DigestBuf*
    rdbuf();

protected:
    // fields

    DigestBuf _buf;
};

// direct descendants

class DigestInputStream;
class DigestOutputStream;

Detailed Documentation

The base class for DigestInputStream and DigestOutputStream.

This class is needed to ensure the correct initialization order of the stream buffer and base classes.