Poco::OSP::Shell

class ResponseIOS

File Information

Library: OSP/Shell
Package: Shell
Header: Poco/OSP/Shell/ResponseStream.h

Description

The base class for ResponseStream.

Inheritance

Direct Base Classes: std::ios

All Base Classes: std::ios

Known Derived Classes: ResponseStream

Member Summary

Member Functions: getStatus, rdbuf, setStatus

Constructors

ResponseIOS

ResponseIOS(
    std::ostream & ostr,
    int status
);

Creates the ResponseIOS using the given output stream and status.

Destructor

~ResponseIOS

~ResponseIOS();

Destroys the ResponseIOS.

Member Functions

getStatus inline

int getStatus() const;

Returns the response status code.

rdbuf

ResponseStreamBuf * rdbuf();

Returns a pointer to the underlying streambuf.

setStatus inline

void setStatus(
    int status
);

Sets the response status code.

Variables

_buf protected

ResponseStreamBuf _buf;