SNAP Library 2.0, Developer Reference
2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include "bd.h"
Go to the source code of this file.
Classes | |
class | TTypeNm< Type > |
class | TNotify |
class | TNullNotify |
class | TCallbackNotify |
class | TNativeCallbackNotify |
class | TStdNotify |
class | TStdErrNotify |
class | TLogNotify |
class | TExcept |
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 TPt< TNotify > | PNotify |
typedef void(__stdcall * | TCallbackF )(const TNotifyType &Type, const TStr &MsgStr) |
typedef void(__stdcall * | TNativeCallbackF )(int Type, const char *MsgStr) |
typedef TPt< TExcept > | PExcept |
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) |
typedef void(__stdcall * TCallbackF)(const TNotifyType &Type, const TStr &MsgStr) |
typedef void(__stdcall * TNativeCallbackF)(int Type, const char *MsgStr) |
enum TNotifyType |
Definition at line 25 of file ut.h.
References TStr::CStr(), and ErrNotify().
Definition at line 16 of file ut.h.
References TTypeNm< Type >::GetNrTypeNm().
Referenced by TVec< TVal, TSizeTy >::GetXOutOfBoundsErrMsg(), TGLib_OLD::TVec< TVal >::GetXOutOfBoundsErrMsg(), TVec< TVal, TSizeTy >::Resize(), and TGLib_OLD::TVec< TVal >::Resize().
{ TStr TypeNm=TStr(typeid(Var).name()); return TTypeNm<Type>::GetNrTypeNm(TypeNm); }
void InfoNotify | ( | const TStr & | MsgStr | ) | [inline] |
Definition at line 23 of file ut.h.
References TStr::CStr(), and InfoNotify().
{InfoNotify(MsgStr.CStr());}
void StatNotify | ( | const TStr & | MsgStr | ) | [inline] |
Definition at line 26 of file ut.h.
References TStr::CStr(), and StatNotify().
{StatNotify(MsgStr.CStr());}
void WarnNotify | ( | const TStr & | MsgStr | ) | [inline] |
Definition at line 24 of file ut.h.
References TStr::CStr(), and WarnNotify().
{WarnNotify(MsgStr.CStr());}