class Poco::StreamConverterIOS

Overview

The base class for InputStreamConverter and OutputStreamConverter. Moreā€¦

#include <StreamConverter.h>

class StreamConverterIOS: public ios
{
public:
    // construction

    StreamConverterIOS(
        std::istream& istr,
        const TextEncoding& inEncoding,
        const TextEncoding& outEncoding,
        int defaultChar = '?'
        );

    StreamConverterIOS(
        std::ostream& ostr,
        const TextEncoding& inEncoding,
        const TextEncoding& outEncoding,
        int defaultChar = '?'
        );

    // methods

    StreamConverterBuf*
    rdbuf();

    int
    errors() const;

protected:
    // fields

    StreamConverterBuf _buf;
};

// direct descendants

class InputStreamConverter;
class OutputStreamConverter;

Detailed Documentation

The base class for InputStreamConverter and OutputStreamConverter.

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