|
|
|
@ -8,7 +8,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
#include "../types.h"
|
|
|
|
#include "../types.h"
|
|
|
|
|
|
|
|
#include "../object/outputstream.h"
|
|
|
|
|
|
|
|
#include "../arch/textwindow.h"
|
|
|
|
/*! \brief Output text (form different data type sources) on screen in text
|
|
|
|
/*! \brief Output text (form different data type sources) on screen in text
|
|
|
|
* mode
|
|
|
|
* mode
|
|
|
|
* \ingroup io
|
|
|
|
* \ingroup io
|
|
|
|
@ -19,7 +20,7 @@
|
|
|
|
* \ref TextWindow and only implements the method \ref TextStream::flush().
|
|
|
|
* \ref TextWindow and only implements the method \ref TextStream::flush().
|
|
|
|
* Further formatting or special effects are implemented in \ref TextWindow.
|
|
|
|
* Further formatting or special effects are implemented in \ref TextWindow.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class TextStream {
|
|
|
|
class TextStream: public OutputStream, protected TextWindow {
|
|
|
|
// Prevent copies and assignments
|
|
|
|
// Prevent copies and assignments
|
|
|
|
TextStream(const TextStream&) = delete;
|
|
|
|
TextStream(const TextStream&) = delete;
|
|
|
|
TextStream& operator=(const TextStream&) = delete;
|
|
|
|
TextStream& operator=(const TextStream&) = delete;
|
|
|
|
|