class Poco::PipeInputStream

Overview

An input stream for reading from a Pipe. Moreā€¦

#include <PipeStream.h>

class PipeInputStream:
    public Poco::PipeIOS,
    public istream
{
public:
    // construction

    PipeInputStream(const Pipe& pipe);
};

Inherited Members

public:
    // methods

    PipeStreamBuf*
    rdbuf();

    void
    close();

protected:
    // fields

    PipeStreamBuf _buf;

Detailed Documentation

An input stream for reading from a Pipe.

Using formatted input from a PipeInputStream is not recommended, due to the read-ahead behavior of istream with formatted reads.

Construction

PipeInputStream(const Pipe& pipe)

Creates the PipeInputStream with the given Pipe.