Library: Foundation
Package: Streams
Header: Poco/CountingStream.h
This stream counts all characters and lines going through it.
Direct Base Classes: CountingIOS, std::ostream
All Base Classes: CountingIOS, std::ios, std::ostream
Inherited Functions: chars, getCurrentLineNumber, lines, pos, rdbuf, reset, setCurrentLineNumber
Creates an unconnected CountingOutputStream.
CountingOutputStream(
std::ostream & ostr
);
Creates the CountingOutputStream and connects it to the given input stream.
Destroys the CountingOutputStream.