SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <xfl.h>
Public Member Functions | |
TFPathNotify (const TStr &_LogFPath, const TStr &_PrefixFNm, const bool &_FlushP) | |
void | OnStatus (const TStr &MsgStr) |
Public Member Functions inherited from TNotify | |
TNotify () | |
virtual | ~TNotify () |
virtual void | OnNotify (const TNotifyType &, 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 PNotify | New (const TStr &LogFPath, const TStr &PrefixFNm, const bool &FlushP) |
Static Public Member Functions inherited from TNotify | |
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) |
Private Member Functions | |
void | UpdateSOut (const TTm &NowTm) |
UndefDefaultCopyAssign (TFPathNotify) | |
Private Attributes | |
TStr | LogFPath |
TStr | PrefixFNm |
TTm | LastTm |
PSOut | LogSOut |
TBool | FlushP |
Additional Inherited Members | |
Static Public Attributes inherited from TNotify | |
static const PNotify | NullNotify =TNullNotify::New() |
static const PNotify | StdNotify =TStdNotify::New() |
static const PNotify | StdErrNotify =TStdErrNotify::New() |
TFPathNotify::TFPathNotify | ( | const TStr & | _LogFPath, |
const TStr & | _PrefixFNm, | ||
const bool & | _FlushP | ||
) |
Definition at line 275 of file xfl.cpp.
References TTm::GetCurUniTm(), LastTm, and UpdateSOut().
Referenced by New().
|
inlinestatic |
Definition at line 98 of file xfl.h.
References TFPathNotify().
|
virtual |
Reimplemented from TNotify.
Definition at line 283 of file xfl.cpp.
References TSOut::Flush(), FlushP, TTm::GetCurUniTm(), TTm::GetHour(), LastTm, LogSOut, TSOut::PutStrLn(), and UpdateSOut().
|
private |
|
private |
Definition at line 268 of file xfl.cpp.
References TPt< TRec >::Clr(), TStr::CStr(), TPt< TRec >::Empty(), TSOut::Flush(), TStr::Fmt(), TTm::GetDay(), TTm::GetHour(), TTm::GetMonth(), TTm::GetYear(), LogFPath, LogSOut, TFOut::New(), and PrefixFNm.
Referenced by OnStatus(), and TFPathNotify().
|
private |
Definition at line 90 of file xfl.h.
Referenced by OnStatus().
|
private |
Definition at line 88 of file xfl.h.
Referenced by OnStatus(), and TFPathNotify().
|
private |
Definition at line 86 of file xfl.h.
Referenced by UpdateSOut().
|
private |
Definition at line 89 of file xfl.h.
Referenced by OnStatus(), and UpdateSOut().
|
private |
Definition at line 87 of file xfl.h.
Referenced by UpdateSOut().