class Poco::TeeOutputStream

Overview

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

#include <TeeStream.h>

class TeeOutputStream:
    public Poco::TeeIOS,
    public ostream
{
public:
    // construction

    TeeOutputStream();
    TeeOutputStream(std::ostream& ostr);
};

Inherited Members

public:
    // methods

    void
    addStream(std::ostream& ostr);

    TeeStreamBuf*
    rdbuf();

protected:
    // fields

    TeeStreamBuf _buf;

Detailed Documentation

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

Construction

TeeOutputStream()

Creates an unconnected TeeOutputStream.

TeeOutputStream(std::ostream& ostr)

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