class Poco::TeeInputStream

Overview

This stream copies all characters read through it to one or multiple output streams. Moreā€¦

#include <TeeStream.h>

class TeeInputStream:
    public Poco::TeeIOS,
    public istream
{
public:
    // construction

    TeeInputStream(std::istream& istr);
};

Inherited Members

public:
    // methods

    void
    addStream(std::ostream& ostr);

    TeeStreamBuf*
    rdbuf();

protected:
    // fields

    TeeStreamBuf _buf;

Detailed Documentation

This stream copies all characters read through it to one or multiple output streams.

Construction

TeeInputStream(std::istream& istr)

Creates the TeeInputStream and connects it to the given input stream.