Library: Foundation
Package: Streams
Header: Poco/LineEndingConverter.h
OutputLineEndingConverter performs line ending conversion on text output streams. The converter can convert from and to the Unix (LF), Mac (CR) and DOS/Windows/Network (CF-LF) endings.
Any newline sequence in the source will be replaced by the target newline sequence.
Direct Base Classes: LineEndingConverterIOS, std::ostream
All Base Classes: LineEndingConverterIOS, std::ios, std::ostream
Inherited Functions: getNewLine, rdbuf, setNewLine
OutputLineEndingConverter(
std::ostream & ostr
);
Creates the LineEndingConverterOutputStream and connects it to the given input stream.
OutputLineEndingConverter(
std::ostream & ostr,
const std::string & newLineCharacters
);
Creates the LineEndingConverterOutputStream and connects it to the given input stream.
Destroys the LineEndingConverterOutputStream.