#include <ut.h>
Inherited by TCallbackNotify, TFPathNotify, TLogNotify, TNativeCallbackNotify, TNullNotify, TStdErrNotify, and TStdNotify.
Definition at line 30 of file ut.h.
TNotify::TNotify |
( |
const TNotify & |
| ) |
|
|
private |
Definition at line 35 of file ut.h.
virtual TNotify::~TNotify |
( |
| ) |
|
|
inlinevirtual |
Definition at line 36 of file ut.h.
Definition at line 54 of file ut.cpp.
void ErrNotify(const char *NotifyCStr)
void WarnNotify(const char *NotifyCStr)
void InfoNotify(const char *NotifyCStr)
void StatNotify(const char *NotifyCStr)
TStr TNotify::GetTypeStr |
( |
const TNotifyType & |
Type, |
|
|
const bool & |
Brief = true |
|
) |
| |
|
static |
Definition at line 39 of file ut.cpp.
41 static TStr InfoSStr=
"I";
static TStr InfoLStr=
"Information";
42 static TStr WarnSStr=
"W";
static TStr WarnLStr=
"Warning";
43 static TStr ErrSStr=
"E";
static TStr ErrLStr=
"Error";
44 static TStr StatSStr=
"";
static TStr StatLStr=
"Status";
46 case ntInfo:
if (Brief){
return InfoSStr;}
else {
return InfoLStr;}
47 case ntWarn:
if (Brief){
return WarnSStr;}
else {
return WarnLStr;}
48 case ntErr:
if (Brief){
return ErrSStr;}
else {
return ErrLStr;}
49 case ntStat:
if (Brief){
return StatSStr;}
else {
return StatLStr;}
virtual void TNotify::OnLn |
( |
const TStr & |
| ) |
|
|
inlinevirtual |
Definition at line 40 of file ut.h.
static void TNotify::OnLn |
( |
const PNotify & |
Notify, |
|
|
const TStr & |
MsgStr |
|
) |
| |
|
inlinestatic |
Definition at line 56 of file ut.h.
57 if (!Notify.
Empty()){Notify->
OnLn(MsgStr);}}
virtual void OnLn(const TStr &)
void TNotify::OnLnFmt |
( |
const char * |
FmtStr, |
|
|
|
... |
|
) |
| |
Definition at line 21 of file ut.cpp.
24 va_start(valist, FmtStr);
25 const int RetVal=vsnprintf(Bf, 10*1024-2, FmtStr, valist);
virtual void OnLn(const TStr &)
Definition at line 51 of file ut.h.
virtual void OnNotify(const TNotifyType &, const TStr &)
void TNotify::OnNotifyFmt |
( |
const TNotifyType & |
Type, |
|
|
const char * |
FmtStr, |
|
|
|
... |
|
) |
| |
Definition at line 3 of file ut.cpp.
6 va_start(valist, FmtStr);
7 const int RetVal=vsnprintf(Bf, 10*1024-2, FmtStr, valist);
virtual void OnNotify(const TNotifyType &, const TStr &)
virtual void TNotify::OnStatus |
( |
const TStr & |
| ) |
|
|
inlinevirtual |
static void TNotify::OnStatus |
( |
const PNotify & |
Notify, |
|
|
const TStr & |
MsgStr |
|
) |
| |
|
inlinestatic |
Definition at line 54 of file ut.h.
virtual void OnStatus(const TStr &)
void TNotify::OnStatusFmt |
( |
const char * |
FmtStr, |
|
|
|
... |
|
) |
| |
Definition at line 12 of file ut.cpp.
15 va_start(valist, FmtStr);
16 const int RetVal=vsnprintf(Bf, 10*1024-2, FmtStr, valist);
virtual void OnStatus(const TStr &)
virtual void TNotify::OnTxt |
( |
const TStr & |
| ) |
|
|
inlinevirtual |
Definition at line 41 of file ut.h.
static void TNotify::OnTxt |
( |
const PNotify & |
Notify, |
|
|
const TStr & |
MsgStr |
|
) |
| |
|
inlinestatic |
Definition at line 58 of file ut.h.
virtual void OnTxt(const TStr &)
void TNotify::OnTxtFmt |
( |
const char * |
FmtStr, |
|
|
|
... |
|
) |
| |
Definition at line 30 of file ut.cpp.
33 va_start(valist, FmtStr);
34 const int RetVal=vsnprintf(Bf, 10*1024-2, FmtStr, valist);
virtual void OnTxt(const TStr &)
Definition at line 30 of file ut.h.
Definition at line 30 of file ut.h.
Definition at line 62 of file ut.h.
Definition at line 64 of file ut.h.
Definition at line 63 of file ut.h.
The documentation for this class was generated from the following files: