SNAP Library 2.3, Developer Reference
2014-06-16 11:58:46
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ut.h>
Public Member Functions | |
TNotify () | |
virtual | ~TNotify () |
virtual void | OnNotify (const TNotifyType &, const TStr &) |
virtual void | OnStatus (const TStr &) |
virtual void | OnLn (const TStr &) |
virtual void | OnTxt (const TStr &) |
void | OnNotifyFmt (const TNotifyType &Type, const char *FmtStr,...) |
void | OnStatusFmt (const char *FmtStr,...) |
void | OnLnFmt (const char *FmtStr,...) |
void | OnTxtFmt (const char *FmtStr,...) |
Static Public Member Functions | |
static TStr | GetTypeStr (const TNotifyType &Type, const bool &Brief=true) |
static void | OnNotify (const PNotify &Notify, const TNotifyType &Type, const TStr &MsgStr) |
static void | OnStatus (const PNotify &Notify, const TStr &MsgStr) |
static void | OnLn (const PNotify &Notify, const TStr &MsgStr) |
static void | OnTxt (const PNotify &Notify, const TStr &MsgStr) |
static void | DfOnNotify (const TNotifyType &Type, const TStr &MsgStr) |
Static Public Attributes | |
static const PNotify | NullNotify =TNullNotify::New() |
static const PNotify | StdNotify =TStdNotify::New() |
static const PNotify | StdErrNotify =TStdErrNotify::New() |
Private Member Functions | |
TNotify (const TNotify &) | |
TNotify & | operator= (const TNotify &) |
Private Attributes | |
TCRef | CRef |
Friends | |
class | TPt< TNotify > |
|
private |
|
static |
Definition at line 54 of file ut.cpp.
References ErrNotify(), Fail, InfoNotify(), ntErr, ntInfo, ntStat, ntWarn, StatNotify(), and WarnNotify().
|
static |
Definition at line 39 of file ut.cpp.
References Fail, ntErr, ntInfo, ntStat, and ntWarn.
Referenced by TStdNotify::OnNotify(), and TStdErrNotify::OnNotify().
|
inlinevirtual |
Definition at line 56 of file ut.h.
References TPt< TRec >::Empty(), and OnLn().
void TNotify::OnLnFmt | ( | const char * | FmtStr, |
... | |||
) |
|
inlinevirtual |
Reimplemented in TStdErrNotify, TStdNotify, TNativeCallbackNotify, TCallbackNotify, and TNullNotify.
Definition at line 38 of file ut.h.
Referenced by TSs::LoadTxt(), OnNotify(), and OnNotifyFmt().
|
inlinestatic |
Definition at line 51 of file ut.h.
References TPt< TRec >::Empty(), and OnNotify().
void TNotify::OnNotifyFmt | ( | const TNotifyType & | Type, |
const char * | FmtStr, | ||
... | |||
) |
Definition at line 3 of file ut.cpp.
References OnNotify().
|
inlinevirtual |
Reimplemented in TLogNotify, TStdErrNotify, TStdNotify, TNativeCallbackNotify, TFPathNotify, TCallbackNotify, and TNullNotify.
Definition at line 39 of file ut.h.
Referenced by TEnv::GetIfArgPrefixBool(), TEnv::GetIfArgPrefixFlt(), TEnv::GetIfArgPrefixInt(), TEnv::GetIfArgPrefixStr(), TEnv::GetIfArgPrefixStrV(), TEnv::IsArgStr(), TSs::LoadTxt(), OnStatus(), TLogNotify::OnStatus(), and OnStatusFmt().
Definition at line 54 of file ut.h.
References TPt< TRec >::Empty(), and OnStatus().
void TNotify::OnStatusFmt | ( | const char * | FmtStr, |
... | |||
) |
Definition at line 12 of file ut.cpp.
References OnStatus().
|
inlinevirtual |
Definition at line 41 of file ut.h.
Referenced by OnTxt(), and OnTxtFmt().
Definition at line 58 of file ut.h.
References TPt< TRec >::Empty(), and OnTxt().
void TNotify::OnTxtFmt | ( | const char * | FmtStr, |
... | |||
) |
|
static |
|
static |
|
static |