Poco::Netconf

class NetconfIOS

Library: Netconf
Package: Netconf
Header: Poco/Netconf/NetconfStream.h

Description

The base class for NetconfInputStream and NetconfOutputStream.

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

Inheritance

Direct Base Classes: std::ios

All Base Classes: std::ios

Known Derived Classes: NetconfInputStream, NetconfOutputStream

Member Summary

Member Functions: close, rdbuf

Constructors

NetconfIOS

NetconfIOS(
    std::istream & istr
);

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

NetconfIOS

NetconfIOS(
    std::ostream & ostr
);

Creates the NetconfIOS and connects it to the given output stream.

Destructor

~NetconfIOS

~NetconfIOS();

Destroys the stream.

Member Functions

close

void close();

Writes the terminating period, followed by CR-LF.

rdbuf

NetconfStreamBuf * rdbuf();

Returns a pointer to the underlying streambuf.

Variables

_buf protected

NetconfStreamBuf _buf;