Classes |
class | TTypeNm< Type > |
class | TNullNotify |
class | TCallbackNotify |
class | TNativeCallbackNotify |
class | TStdNotify |
class | TStdErrNotify |
class | TLogNotify |
Defines |
#define | Try try { |
#define | Catch } catch (PExcept Except){ErrNotify(Except->GetMsgStr());} |
#define | CatchFull } catch (PExcept Except){ErrNotify(Except->GetStr());} |
#define | CatchAll } catch (...){} |
Typedefs |
typedef void(__stdcall * | TCallbackF )(const TNotifyType &Type, const TStr &MsgStr) |
typedef void(__stdcall * | TNativeCallbackF )(int Type, const char *MsgStr) |
typedef void(* | TOnExceptF )(const TStr &MsgStr) |
Enumerations |
enum | TNotifyType { ntInfo,
ntWarn,
ntErr,
ntStat
} |
Functions |
template<class Type > |
TStr | GetTypeNm (const Type &Var) |
void | InfoNotify (const TStr &MsgStr) |
void | WarnNotify (const TStr &MsgStr) |
void | ErrNotify (const TStr &MsgStr) |
void | StatNotify (const TStr &MsgStr) |
ClassTP(TNotify, PNotify)
private TNotify & | operator= (const TNotify &) |
| 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 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) |
| UndefDefaultCopyAssign (TExcept) |
| TExcept (const TStr &_MsgStr) |
| TExcept (const TStr &_MsgStr, const TStr &_LocStr) |
virtual | ~TExcept () |
TStr | GetMsgStr () const |
TStr | GetLocStr () const |
TStr | GetStr () const |
static bool | IsOnExceptF () |
static void | PutOnExceptF (TOnExceptF _OnExceptF) |
static TOnExceptF | GetOnExceptF () |
static void | Throw (const TStr &MsgStr) |
static void | Throw (const TStr &MsgStr, const TStr &ArgStr) |
static void | Throw (const TStr &MsgStr, const TStr &ArgStr1, const TStr &ArgStr2) |
static void | ThrowFull (const TStr &MsgStr, const TStr &LocStr) |
Variables |
static const PNotify | NullNotify = TNullNotify::New() |
static const PNotify | StdNotify = TStdNotify::New() |
static const PNotify | StdErrNotify = TStdErrNotify::New() |
ClassTP(TExcept, PExcept)
private TStr | LocStr |
static TOnExceptF | OnExceptF = NULL |