OpenStructure
|
#include <text_logger.hh>
Inherits QObject, and QTextStream.
Public Slots | |
void | AppendCode (const QString &text) |
void | AppendOutput (unsigned int id, const QString &text) |
Public Member Functions | |
TextLogger () | |
TextLogger (QIODevice *device) | |
TextLogger (FILE *fileHandle, QIODevice::OpenMode openMode=QIODevice::ReadWrite) | |
TextLogger (QString *String, QIODevice::OpenMode openMode=QIODevice::ReadWrite) | |
TextLogger (const QByteArray &array, QIODevice::OpenMode openMode=QIODevice::ReadOnly) | |
virtual | ~TextLogger () |
void | SetCodeLogging (bool flag) |
void | SetOutputLogging (bool flag) |
void | SetErrorLogging (bool flag) |
bool | GetCodeLogging () |
bool | GetOutputLogging () |
bool | GetErrorLogging () |
Protected Attributes | |
bool | log_code_ |
bool | log_output_ |
bool | log_error_ |
Definition at line 33 of file text_logger.hh.
TextLogger | ( | ) |
TextLogger | ( | QIODevice * | device | ) |
TextLogger | ( | FILE * | fileHandle, |
QIODevice::OpenMode | openMode = QIODevice::ReadWrite |
||
) |
TextLogger | ( | QString * | String, |
QIODevice::OpenMode | openMode = QIODevice::ReadWrite |
||
) |
TextLogger | ( | const QByteArray & | array, |
QIODevice::OpenMode | openMode = QIODevice::ReadOnly |
||
) |
|
virtual |
|
slot |
|
slot |
bool GetCodeLogging | ( | ) |
bool GetErrorLogging | ( | ) |
bool GetOutputLogging | ( | ) |
void SetCodeLogging | ( | bool | flag | ) |
void SetErrorLogging | ( | bool | flag | ) |
void SetOutputLogging | ( | bool | flag | ) |
|
protected |
Definition at line 55 of file text_logger.hh.
|
protected |
Definition at line 57 of file text_logger.hh.
|
protected |
Definition at line 56 of file text_logger.hh.