Multi diag tools
All Classes Namespaces Functions Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
Mdt::DeployUtils::ConsoleStream Class Reference

Used to implement Console. More...

#include <ConsoleStream.h>

Public Member Functions

 ConsoleStream (QtMsgType msgType, int minLevel, int level)
 Construct a stream.
 
ConsoleStreamoperator<< (int v)
 Writes v to the stream and returns a reference to the stream.
 
ConsoleStreamoperator<< (const char *str)
 Writes str to the stream and returns a reference to the stream.
 
ConsoleStreamoperator<< (const QString &str)
 Writes str to the stream and returns a reference to the stream.
 
ConsoleStreamoperator<< (const Mdt::Error &error)
 Writes error to the stream and returns a reference to the stream.
 

Detailed Description

Used to implement Console.

This class uses QDebug internally, but was designed to expose it in the public headers. This permits to use QDebug for debuging, and, when finished, remove the QDebug include, which permits the compiler to throw a error if we forgot a qDebug() somewhere.

Definition at line 47 of file ConsoleStream.h.


The documentation for this class was generated from the following files: