SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Go to the source code of this file.
Classes | |
class | TOnExeStop |
struct | TStaticAssert< true > |
struct | TStaticAssertTest< IntVal > |
class | TEq< T > |
class | TNEq< T > |
class | TLss< T > |
class | TLEq< T > |
class | TGtr< T > |
class | TGEq< T > |
class | TCmp< T > |
class | TCRef |
class | TPt< TRec > |
class | TSStr |
class | TConv_Pt64Ints32 |
Defines | |
#define | forever for(;;) |
#define | TSizeMx SIZE_MAX |
#define | ClassT(TNm) class TNm{ |
#define | ClassTV(TNm, TNmV) |
#define | ClassTVQ(TNm, TNmV, TNmQ) |
#define | ClassTP(TNm, PNm) |
#define | ClassHdTP(TNm, PNm) |
#define | ClassTPE(TNm, PNm, ENm) |
#define | ClassTPEE(TNm, PNm, ENm1, ENm2) |
#define | ClassTE(TNm, ENm) |
#define | ClassTPV(TNm, PNm, TNmV) |
#define | ClassHdTPV(TNm, PNm, TNmV) |
#define | ClassTPVL(TNm, PNm, TNmV, TNmL, TNmLN) |
#define | UndefDefaultCopyAssign(TNm) |
#define | UndefCopyAssign(TNm) |
#define | UndefCopy(TNm) |
#define | UndefAssign(TNm) |
#define | Fail ExeStop(NULL, NULL, "Fail", __FILE__, __LINE__) |
#define | FailR(Reason) ExeStop((Reason), NULL, "Fail", __FILE__, __LINE__) |
#define | FailRA(Reason, ArgStr) ExeStop((TStr(Reason)+" ("+ArgStr+")").CStr(), NULL, "Fail", __FILE__, __LINE__) |
#define | EFail TExcept::ThrowFull("", TStr("[")+ TStr(__FILE__) + " line " + TInt::GetStr(__LINE__) + "]") |
#define | EFailR(Reason) TExcept::ThrowFull(Reason, TStr("[")+TStr(__FILE__)+" line "+TInt::GetStr(__LINE__)+"]") |
#define | Assert(Cond) ((Cond) ? static_cast<void>(0) : ExeStop(NULL, NULL, #Cond, __FILE__, __LINE__)) |
#define | AssertR(Cond, Reason) |
#define | IAssert(Cond) ((Cond) ? static_cast<void>(0) : ExeStop(NULL, NULL, #Cond, __FILE__, __LINE__)) |
#define | IAssertR(Cond, Reason) ((Cond) ? static_cast<void>(0) : ExeStop(NULL, TStr(Reason).CStr(), #Cond, __FILE__, __LINE__)) |
#define | WAssert(Cond, MsgCStr) ((Cond) ? static_cast<void>(0) : WarnNotify(MsgCStr)) |
#define | SAssert(Cond) ((Cond) ? static_cast<void>(0) : ExeStop(TSysStr::GetLastMsgCStr(), NULL, #Cond, __FILE__, __LINE__)) |
#define | FAssert(Cond, MsgCStr) ((Cond) ? static_cast<void>(0) : ExeStop(TStr(MsgCStr).CStr(), NULL, NULL, __FILE__, __LINE__)) |
#define | FSAssert(Cond) ((Cond) ? static_cast<void>(0) : ExeStop(TSysStr::GetLastMsgCStr(), NULL, NULL, __FILE__, __LINE__)) |
#define | EAssert(Cond) ((Cond) ? static_cast<void>(0) : TExcept::ThrowFull(#Cond, TStr(__FILE__) + " line " + TInt::GetStr(__LINE__) +": "+ TStr(#Cond))) |
#define | EAssertR(Cond, MsgStr) ((Cond) ? static_cast<void>(0) : TExcept::ThrowFull(MsgStr, TStr(__FILE__)+" line "+TInt::GetStr(__LINE__)+": "+TStr(#Cond))) |
#define | EAssertRA(Cond, MsgStr, ArgStr) ((Cond) ? static_cast<void>(0) : TExcept::Throw(MsgStr, ArgStr)) |
#define | EAssertRAA(Cond, MsgStr, ArgStr1, ArgStr2) ((Cond) ? static_cast<void>(0) : TExcept::Throw(MsgStr, ArgStr1, ArgStr2)) |
#define | ESAssert(Cond) |
#define | CAssert(Cond) { typedef TStaticAssertTest<sizeof(TStaticAssert<(Cond)==0?false:true>)> TestStaticAssert; } |
#define | XLoadHd(Nm) |
#define | XLoad(Nm) Nm.LoadXml(XmlTok->GetTagTok(#Nm), #Nm); |
#define | XSaveHd(Nm) |
#define | XSaveHdArg(Nm, ArgNm, ArgVal) |
#define | XSaveBETag(Nm) |
#define | XSaveBETagArg(Nm, ArgNm, ArgVal) |
#define | XSaveBETagArg4(Nm, ArgNm1, ArgVal1, ArgNm2, ArgVal2, ArgNm3, ArgVal3, ArgNm4, ArgVal4) |
#define | XSave(Nm) Nm.SaveXml(SOut, #Nm) |
#define | XSaveToFile(Nm, FNm) {TFOut SOut(FNm); Nm.SaveXml(SOut, #Nm);} |
#define | min(a, b) ((a)<(b)?(a):(b)) |
#define | max(a, b) ((a)>(b)?(a):(b)) |
Typedefs | |
typedef unsigned char | uchar |
typedef unsigned int | uint |
typedef unsigned long | ulong |
typedef unsigned short | ushort |
typedef float | sdouble |
typedef long double | ldouble |
typedef FILE * | TFileId |
typedef char | int8 |
typedef short | int16 |
typedef int | int32 |
typedef long long | int64 |
typedef unsigned char | uint8 |
typedef unsigned short | uint16 |
typedef unsigned int | uint32 |
typedef unsigned long long | uint64 |
typedef ptrdiff_t | ssize_t |
typedef size_t | TSize |
typedef TPt< TXmlTok > | PXmlTok |
typedef TPt< TExcept > | PExcept |
typedef TPt< TXmlDoc > | PXmlDoc |
Enumerations | |
enum | TLoc { lUndef, lUs, lSi } |
enum | TLogOp { loUndef, loNot, loAnd, loOr } |
enum | TRelOp { roUndef, roLs, roLEq, roEq, roNEq, roGEq, roGt } |
Functions | |
void | WrNotify (const char *CaptionCStr, const char *NotifyCStr) |
void | SaveToErrLog (const char *MsgCStr) |
void | InfoNotify (const char *NotifyCStr) |
void | WarnNotify (const char *NotifyCStr) |
void | ErrNotify (const char *NotifyCStr) |
void | StatNotify (const char *NotifyCStr) |
void | ExeStop (const char *MsgStr, const char *ReasonStr, const char *CondStr, const char *FNm, const int &LnN) |
template<class TRec > | |
bool | IsXLoadFromFileOk (const TStr &FNm, const TStr &Nm, TRec &Rec, TStr &MsgStr) |
template<class TRec > | |
void | XLoadFromFile (const TStr &FNm, const TStr &Nm, TRec &Rec) |
template<class TRec > | |
bool | operator!= (const TRec &Rec1, const TRec &Rec2) |
template<class TRec > | |
bool | operator> (const TRec &Rec1, const TRec &Rec2) |
template<class TRec > | |
bool | operator<= (const TRec &Rec1, const TRec &Rec2) |
template<class TRec > | |
bool | operator>= (const TRec &Rec1, const TRec &Rec2) |
template<class TRec > | |
bool | Cmp (const int &RelOp, const TRec &Rec1, const TRec &Rec2) |
template<class TRec > | |
void | Swap (TRec &Rec1, TRec &Rec2) |
#define Assert | ( | Cond | ) | ((Cond) ? static_cast<void>(0) : ExeStop(NULL, NULL, #Cond, __FILE__, __LINE__)) |
Definition at line 251 of file bd.h.
Referenced by TMom::Add(), TVec< THKeyDat >::Add(), TVec< TVal >::AddBackSorted(), TBigNet< TNodeData, IsDir >::AddEdge(), TVec< TVal >::AddMerged(), TVec< TVal >::AddSorted(), TBigStrPool::AddStr(), TStrPool::AddStr(), TVec< TVal >::AddUnique(), TVec< TVal >::AddV(), TLinAlg::AddVec(), TVec< TVal >::AddVMerged(), TVVec< TFlt >::At(), TVVVec< TVal >::At(), TNumericalStuff::CholeskyDecomposition(), TBigStrPool::Cmp(), TStrPool::Cmp(), TStrPool64::Cmp(), TUniChDb::Compose(), TSparseHash< TKey, TDat, GroupSize >::CopyFrom(), TSparseSet< TKey, GroupSize >::CopyFrom(), TChA::Del(), TSparseTable< TVal, GroupSize >::Del(), TVec< TVal >::Del(), TLst< TVal >::Del(), TVec< TVal >::DelAll(), TVec< TVal >::DelIfIn(), TLinAlg::DotProduct(), TLinAlg::EuclDist2(), TB8Set::Excl(), TB32Set::Excl(), TBSet::Excl(), TSparseHash< TKey, TDat, GroupSize >::FindPos(), TSparseSet< TKey, GroupSize >::FindPos(), TUniChDb::FindSentenceBoundaries(), TUniChDb::FindWordBoundaries(), TLinAlg::Gemm(), TVVec< TFlt >::Gen(), TVVVec< TVal >::Gen(), TVec< THKeyDat >::GetAddDat(), TMemIn::GetBf(), TChAIn::GetBf(), TStrIn::GetBf(), TB8Set::GetBit(), TB32Set::GetBit(), TBSet::GetBit(), TUniChDb::GetCaseConverted(), TILx::GetCh(), TMemIn::GetCh(), TChAIn::GetCh(), TPreproc::GetCh(), TRStr::GetCh(), TStrIn::GetCh(), TBigStrPool::GetCStr(), TStrPool::GetCStr(), TBigStrPool::GetCStrFromOffset(), THashKeyDatI< TKey, TDat >::GetDat(), TSparseHash< TKey, TDat, GroupSize >::GetDat(), TMom::GetDecile(), TUnicodeDef::GetDef(), TNodeEDatNet< TNodeData, TEdgeData >::GetEDat(), TKronMtx::GetEdgeProb(), TMom::GetExtent(), THash< TIntPr, TEdgeInfo >::GetHashKeyDat(), TStrHash< TDat, TStringPool, THashFunc >::GetHashKeyDat(), TSparseTable< THashKeyDat, GroupSize >::GetI(), TSparseHash< TKey, TDat, GroupSize >::GetI(), TSparseSet< TKey, GroupSize >::GetI(), TB8Set::GetInt(), TB32Set::GetInt(), THashKeyDatI< TKey, TDat >::GetKey(), THashSetKeyI< TKey >::GetKey(), TSparseHash< TKey, TDat, GroupSize >::GetKeyDat(), TMom::GetMean(), TMom::GetMedian(), TMom::GetMn(), TMom::GetMx(), TRStr::GetNullRStr(), TCh::GetNum(), TMom::GetPercentile(), TBigStrPool::GetPrimHashCd(), TStrPool::GetPrimHashCd(), TMom::GetQuart1(), TMom::GetQuart3(), TSparseHash< TKey, TDat, GroupSize >::GetRndKeyId(), TSparseSet< TKey, GroupSize >::GetRndKeyId(), TMom::GetSDev(), TBigStrPool::GetSecHashCd(), TStrPool::GetSecHashCd(), TMom::GetSErr(), THashSet< TInt >::GetSetKey(), TBigStrPool::GetStr(), TStrPool::GetStr(), TBigStrPool::GetStrFromOffset(), TSnap::GetTreeRootNId(), TBSet::GetUInt64(), TTm::GetUniqueCurUniTm(), TLstNd< TKey >::GetVal(), TMom::GetVari(), TVVec< TFlt >::GetXY(), TFSet::In(), TB8Set::In(), TB32Set::In(), TBSet::In(), TFSet::Incl(), TB8Set::Incl(), TB32Set::Incl(), TBSet::Incl(), TChA::Ins(), TVec< TVal >::Ins(), TUniChInfo::IsDcpFlag(), TB8Set::IsPrefix(), TB32Set::IsPrefix(), TUniChInfo::IsSbFlag(), TMom::IsUsable(), TUniChInfo::IsWbFlag(), TChA::LastCh(), TChA::LastLastCh(), TLinAlg::LinComb(), TNumericalStuff::LUDecomposition(), TNumericalStuff::LUSolve(), TVec< TVal >::Merge(), TSparseHash< TKey, TDat, GroupSize >::MoveFrom(), TSparseSet< TKey, GroupSize >::MoveFrom(), TLinAlg::Multiply(), TLinAlg::MultiplyScalar(), TLinAlg::MultiplyT(), TLstNd< TKey >::Next(), TLinAlg::NormL1(), TSparseGroup< TVal, GroupSize >::OffsetToPos(), TCallbackNotify::OnNotify(), TNativeCallbackNotify::OnNotify(), TCallbackNotify::OnStatus(), TNativeCallbackNotify::OnStatus(), TBSet::operator&=(), TAPt< TRec >::operator*(), TPt< TFRnd >::operator*(), TAPt< TRec >::operator->(), TPt< TFRnd >::operator->(), TMom::operator=(), TAPt< TRec >::operator[](), TMd5Sig::operator[](), TMem::operator[](), TChA::operator[](), TPt< TFRnd >::operator[](), TQQueue< TInt >::operator[](), TBSet::operator^=(), TBSet::operator|=(), TMemIn::PeekCh(), TChAIn::PeekCh(), TStrIn::PeekCh(), TNGraphMtx::PMultiply(), TUNGraphMtx::PMultiply(), TSparseColMatrix::PMultiply(), TSparseRowMatrix::PMultiply(), TFullColMatrix::PMultiply(), TNGraphMtx::PMultiplyT(), TUNGraphMtx::PMultiplyT(), TSparseColMatrix::PMultiplyT(), TSparseRowMatrix::PMultiplyT(), TFullColMatrix::PMultiplyT(), TSStack< TInt >::Pop(), TLstNd< TKey >::Prev(), TUniChDb::TUcdFileReader::PutBack(), TLst< TVal >::PutBack(), TChA::PutCh(), TRStr::PutCh(), TOLx::PutDosLn(), TOLx::PutFlt(), TLst< TVal >::PutFront(), TOLx::PutIdStr(), TB8Set::PutInt(), TOLx::PutInt(), TB32Set::PutInt(), TOLx::PutLn(), TOLx::PutLnCmt(), TOLx::PutParCmt(), TRnd::PutSeed(), TVec< TVal >::Resize(), TSparseTable< TVal, GroupSize >::Set(), TUniChInfo::SetDcpFlag(), TUniChInfo::SetSbFlag(), TUniChInfo::SetWbFlag(), TLinAlg::SumVec(), TNumericalStuff::SymetricToTridiag(), TLst< TVal >::TLst(), TSStack< TInt >::Top(), TQQueue< TInt >::Top(), TEncoding_ISO8859_1::ToUnicode(), TEncoding_ISO8859_2::ToUnicode(), TEncoding_ISO8859_3::ToUnicode(), TEncoding_ISO8859_4::ToUnicode(), TEncoding_YuAscii::ToUnicode(), TEncoding_CP437::ToUnicode(), TEncoding_CP852::ToUnicode(), TEncoding_CP1250::ToUnicode(), TQQueue< TInt >::TQQueue(), TLinAlg::Transpose(), TRStr::UnRef(), TCRef::UnRef(), TCRef::~TCRef(), and TRStr::~TRStr().
#define AssertR | ( | Cond, | |
Reason | |||
) |
((Cond) ? static_cast<void>(0) : \ ExeStop(NULL, Reason.CStr(), #Cond, __FILE__, __LINE__))
Definition at line 258 of file bd.h.
Referenced by TLinAlg::ConvexComb(), TUNGraph::DelNode(), TBPGraph::DelNode(), TVec< THKeyDat >::LastLast(), and TVec< THKeyDat >::operator[]().
#define CAssert | ( | Cond | ) | { typedef TStaticAssertTest<sizeof(TStaticAssert<(Cond)==0?false:true>)> TestStaticAssert; } |
Definition at line 302 of file bd.h.
Referenced by TBigNet< TNodeData, IsDir >::AddNode(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TSnap::ConvertESubGraph(), TSnap::TSnapDetail::TGetSubGraph< PGraph, false >::Do(), TSnap::GetEDatSubGraph(), TSnap::GetESubGraph(), TSnap::GetRndESubGraph(), TSnap::GetTreeSig(), TBigNet< TNodeData, IsDir >::InvertFromSources(), TSnap::MakeUnDir(), TSnap::SavePajek(), and TNetConstraint< PGraph >::TNetConstraint().
#define ClassHdTP | ( | TNm, | |
PNm | |||
) |
#define ClassHdTPV | ( | TNm, | |
PNm, | |||
TNmV | |||
) |
#define ClassTE | ( | TNm, | |
ENm | |||
) |
#define ClassTP | ( | TNm, | |
PNm | |||
) |
#define ClassTPE | ( | TNm, | |
PNm, | |||
ENm | |||
) |
#define ClassTPEE | ( | TNm, | |
PNm, | |||
ENm1, | |||
ENm2 | |||
) |
#define ClassTPV | ( | TNm, | |
PNm, | |||
TNmV | |||
) |
#define ClassTPVL | ( | TNm, | |
PNm, | |||
TNmV, | |||
TNmL, | |||
TNmLN | |||
) |
#define ClassTV | ( | TNm, | |
TNmV | |||
) |
#define ClassTVQ | ( | TNm, | |
TNmV, | |||
TNmQ | |||
) |
class TNm; \ typedef TVec<TNm> TNmV; \ typedef TQQueue<TNm> TNmQ; \ class TNm{
#define EAssert | ( | Cond | ) | ((Cond) ? static_cast<void>(0) : TExcept::ThrowFull(#Cond, TStr(__FILE__) + " line " + TInt::GetStr(__LINE__) +": "+ TStr(#Cond))) |
Definition at line 280 of file bd.h.
Referenced by THist::Add(), TJsonVal::AddToArr(), TJsonVal::AddToObj(), TBlobBs::AssertBlobState(), TBlobBs::AssertBlobTag(), TBlobBs::AssertVersionStr(), TUrl::DefFinalUrl(), TUrl::DefUrlAsFinal(), TGBlobBs::DelBlob(), TZipIn::FillBf(), TZipOut::FlushBf(), TBlobBs::GenBlockLenV(), TBlobBs::GetAllocInfo(), TJsonVal::GetArrVals(), TBlobBs::GetBlobBsStateStr(), TBlobBs::GetBlockLenV(), TJsonVal::GetBool(), TXmlLx::GetCh(), TSecTm::GetComps(), TUrl::GetDmNm(), TBlobBs::GetFFreeBlobPtV(), TUrl::GetFinalHostNm(), TUrl::GetFinalUrlStr(), TZipIn::GetFLen(), TUrl::GetFragIdStr(), TUrl::GetHostNm(), TUrl::GetIpNum(), TBlobBs::GetMxSegLen(), TJsonVal::GetNum(), TJsonVal::GetObjBool(), TJsonVal::GetObjKey(), TJsonVal::GetObjKeys(), TJsonVal::GetObjKeyVal(), TJsonVal::GetObjNum(), TJsonVal::GetObjStr(), TBigNet< TNodeData, IsDir >::GetOutNIdV(), TUrl::GetPathStr(), TUrl::GetPortN(), TUrl::GetPortStr(), TUrl::GetSchemeNm(), TUrl::GetSearchStr(), TJsonVal::GetStr(), TBigNet< TNodeData, IsDir >::GetSubGraph(), TUrl::IsDefFinalUrl(), TBlobPt::IsFlag(), TUrl::IsInHost(), TUrl::IsInPath(), TJsonVal::IsObjKey(), TBigNet< TNodeData, IsDir >::IsOk(), TUrl::IsPortOk(), TTm::KeepDayInDateTimeInt(), TTm::KeepHourInDateTimeInt(), TTm::KeepMonthInDateTimeInt(), TMBlobBs::LoadMain(), TSnap::LoadPajek(), TGBlobBs::PutBlob(), TMBlobBs::PutBlob(), TBlobPt::PutFlag(), TPackVec< TVal >::ResizeDelta(), TGnuPlot::SaveTs(), TBigNet< TNodeData, IsDir >::SetInNIdV(), and TBigNet< TNodeData, IsDir >::SetOutNIdV().
#define EAssertR | ( | Cond, | |
MsgStr | |||
) | ((Cond) ? static_cast<void>(0) : TExcept::ThrowFull(MsgStr, TStr(__FILE__)+" line "+TInt::GetStr(__LINE__)+": "+TStr(#Cond))) |
Definition at line 283 of file bd.h.
Referenced by TUStr::AssertUnicodeDefOk(), TXmlObjSer::AssertXmlHd(), TGnuPlot::CreatePlotFile(), TZipIn::CreateZipProcess(), TZipOut::CreateZipProcess(), TFile::Del(), TZipIn::FillBf(), TFIn::FillBf(), TZipOut::Flush(), TFOut::Flush(), TFRnd::Flush(), TZipOut::FlushBf(), TFOut::FlushBf(), TUrl::GetAbs(), TUrl::GetAbsFromBase(), TMIn::GetBf(), TFRnd::GetBf(), TUrlLx::GetCh(), TMIn::GetCh(), TZipIn::GetCmd(), TZipOut::GetCmd(), TUrlLx::GetDigitCh(), TZipIn::GetFLen(), TFIn::GetFLen(), TFRnd::GetFLen(), TFIn::GetFPos(), TFRnd::GetFPos(), TUrlLx::GetHost(), TUrlLx::GetHSegmentCh(), TBigNet< TNodeData, IsDir >::GetInNIdV(), TSnap::GetMxDegNId(), TSnap::GetMxInDegNId(), TSnap::GetMxOutDegNId(), TFRnd::GetRecN(), TFRnd::GetRecs(), TUrlLx::GetSchemeCh(), TFRnd::GetStr(), TXmlParser::GetTag(), TXmlParser::GetTagVal(), TUInt::GetUIntFromIpStr(), TStrUtil::GetXmlTagNmVal(), TStrUtil::GetXmlTagVal(), TBigNet< TNodeData, IsDir >::IsOk(), TNodeNet< TNodeData >::IsOk(), TUNGraph::IsOk(), TNGraph::IsOk(), TNodeEDatNet< TNodeData, TEdgeData >::IsOk(), TNEGraph::IsOk(), TBPGraph::IsOk(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), TSIn::Load(), TSIn::LoadCs(), TFRnd::MoveFPos(), TMIn::PeekCh(), TFRnd::PutBf(), TFRnd::RefreshFPos(), TFile::Rename(), TSOut::Save(), TFIn::SetFPos(), TFRnd::SetFPos(), TFIn::TFIn(), TFOut::TFOut(), TFRnd::TFRnd(), TZipIn::TZipIn(), TZipOut::TZipOut(), TFIn::~TFIn(), TFOut::~TFOut(), TFRnd::~TFRnd(), TZipIn::~TZipIn(), and TZipOut::~TZipOut().
#define EAssertRA | ( | Cond, | |
MsgStr, | |||
ArgStr | |||
) | ((Cond) ? static_cast<void>(0) : TExcept::Throw(MsgStr, ArgStr)) |
#define EAssertRAA | ( | Cond, | |
MsgStr, | |||
ArgStr1, | |||
ArgStr2 | |||
) | ((Cond) ? static_cast<void>(0) : TExcept::Throw(MsgStr, ArgStr1, ArgStr2)) |
#define EFail TExcept::ThrowFull("", TStr("[")+ TStr(__FILE__) + " line " + TInt::GetStr(__LINE__) + "]") |
#define EFailR | ( | Reason | ) | TExcept::ThrowFull(Reason, TStr("[")+TStr(__FILE__)+" line "+TInt::GetStr(__LINE__)+"]") |
#define ESAssert | ( | Cond | ) |
((Cond) ? static_cast<void>(0) : TExcept::Throw(TSysStr::GetLastMsgCStr(), \ TStr(__FILE__) + " line " + TInt::GetStr(__LINE__) +": "+ TStr(#Cond)))
Definition at line 238 of file bd.h.
Referenced by TGHash< TDat >::AddKey(), TXmlTok::AddTokToChA(), anonymous_namespace{unicode.cpp}::AssertEq(), TSpecFunc::BetaCf(), TSpecFunc::BetaI(), TFInOut::Clr(), Cmp(), TUniCodec::DecodeUtf16FromBytes(), TUniCodec::DecodeUtf16FromWords(), TUniCodec::DecodeUtf8(), TNotify::DfOnNotify(), TUniCodec::EncodeUtf16ToBytes(), TUniCodec::EncodeUtf16ToWords(), TUniCodec::EncodeUtf8(), TExp::EvalExp(), TExp::EvalExpOp(), TGBlobBs::FNextBlobPt(), T8BitCodec< TEncoding_ISO8859_3 >::FromUnicode(), TSpecFunc::GammaPSeries(), TSnap::GenRMat(), TExpBi::GetBiFuncVal(), TBlobBs::GetBlobBsStateStr(), TXmlObjSer::GetBoolArg(), TMom::GetByNm(), TLxChDef::GetChDef(), TTmInfo::GetDayOfWeekN(), TTmInfo::GetDayOfWeekNm(), TStr::GetDChStr(), TGStat::GetDistrStr(), TSecTm::GetDtTmFromMdyHmsPmStr(), TExp::GetExpOpFromLxSym(), TExp::GetExpTypeStr(), TXmlObjSer::GetFltArg(), TBlobPt::GetFSet(), TRnd::GetGammaDev(), TExpHelpObj::GetHdArgNmStr(), TCh::GetHex(), TCh::GetHexCh(), THtmlTok::GetHTok(), TXmlObjSer::GetInt64Arg(), TXmlObjSer::GetIntArg(), TSecTm::GetInUnits(), THtmlDoc::GetLxSym(), TExp::GetLxSymFromExpOp(), TTmInfo::GetMonthN(), TTmInfo::GetMonthNm(), TXmlLx::GetName(), TGHash< TDat >::GetNodeMap(), TGStat::GetPlotInfo(), TLFlt::GetPrimHashCd(), TXmlLx::GetReference(), TGnuPlot::GetScaleStr(), TLFlt::GetSecHashCd(), TGnuPlot::GetSeriesTyStr(), TXmlLx::GetStalVal(), TPpTag::GetStr(), TFRnd::GetStrFromFAccess(), TILx::GetSym(), TLxSymStr::GetSymStr(), TXmlLx::GetSymStr(), THtmlLx::GetSymStr(), TPpTag::GetTag(), TTmInfo::GetTmUnitSecs(), TTmInfo::GetTmUnitStr(), TXmlTok::GetTok(), THtmlDoc::GetTxtLnDoc(), TNotify::GetTypeStr(), TPpVal::GetValStr(), TExpEnv::GetVarNmVal(), TSnap::TSnapDetail::GVizGetLayoutStr(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TBlobPt::IsFlag(), TExpEnv::IsFuncOk(), TGHash< TDat >::IsGetKeyId(), TApp::Load(), TMacro::Load(), TUrl::Load(), THttpRq::Load(), TBlobBs::Load(), TFHash< TKey, TFDat, TVDat >::Load(), THttpResp::Load(), THtmlTok::Load(), TXmlTok::Load(), THtmlDoc::Load(), THtmlHldV::Load(), TWebPg::Load(), TLAMisc::LoadMatlabTFltVV(), TSs::LoadTxt(), TPpVal::LoadTxt(), TExp::LoadTxtFact(), TSs::LoadTxtFldV(), TSparseGroup< TVal, GroupSize >::OffsetToPos(), TExpVal::operator<(), TPpVal::operator<(), THash< TIntPr, TEdgeInfo >::operator<(), TVoid::operator<(), TFunc< TFuncPt >::operator<(), TApp::operator=(), TB1Def::operator=(), TFFileDesc::operator=(), TMacro::operator=(), THtmlLxChDef::operator=(), TExpVal::operator=(), TB2Def::operator=(), TB4Def::operator=(), TXmlChDef::operator=(), TExpEnv::operator=(), THttpRq::operator=(), THttpChDef::operator=(), TFHash< TKey, TFDat, TVDat >::operator=(), THtmlLx::operator=(), TExpBi::operator=(), TXmlLx::operator=(), THttpResp::operator=(), TILx::operator=(), TGBlobBs::operator=(), THttpLx::operator=(), THtmlTok::operator=(), TMBlobBs::operator=(), TExp::operator=(), TXmlTok::operator=(), TOLx::operator=(), THtmlDoc::operator=(), TCorr::operator=(), TExpHelpItem::operator=(), THtmlHldV::operator=(), TExpHelpObj::operator=(), TComb::operator=(), TXmlDoc::operator=(), TWebPg::operator=(), TExpHelp::operator=(), TRStr::operator=(), TLinReg::operator=(), TSvd::operator=(), THttpChRet::operator=(), TUniChDb::TUcdFileReader::operator=(), TRnd::operator==(), TExpVal::operator==(), TPpVal::operator==(), TExpEnv::operator==(), TExpBi::operator==(), TExp::operator==(), TExpHelpItem::operator==(), TExpHelpObj::operator==(), TExpHelp::operator==(), TILx::PeekVarEnd(), TBlobBs::PutBlobTag(), TBlobPt::PutFlag(), TBlobPt::PutFSet(), TPp::PutVal(), TExpEnv::PutVarVal(), TSIn::Reset(), TSecTm::Round(), TAPt< TRec >::Save(), TApp::Save(), TFFileDesc::Save(), TMacro::Save(), TUrl::Save(), TMd5::Save(), TFFile::Save(), THttpRq::Save(), TBlobBs::Save(), TFHash< TKey, TFDat, TVDat >::Save(), TILxSymSt::Save(), THttpResp::Save(), TSOut::Save(), THtmlTok::Save(), TXmlTok::Save(), THtmlDoc::Save(), TCorr::Save(), THtmlHldV::Save(), TComb::Save(), TXmlDoc::Save(), TWebPg::Save(), TLinReg::Save(), TSvd::Save(), TFunc< TFuncPt >::Save(), THtmlDoc::SaveHtmlToXml(), TExpVal::SaveTxt(), TPpVal::SaveTxt(), TExp::SaveTxt(), TExp::SaveTxtOp(), TILx::SetOpt(), TOLx::SetOpt(), TApp::TApp(), TAPt< TRec >::TAPt(), TBlobBs::TBlobBs(), TComb::TComb(), TCorr::TCorr(), TUniCodec::TestDecodeUtf16(), TUniCodec::TestDecodeUtf8(), TUniChDb::TestFindNextWordOrSentenceBoundary(), TFFile::TFFile(), TFFileDesc::TFFileDesc(), TFHash< TKey, TFDat, TVDat >::TFHash(), TFInOut::TFInOut(), TFRnd::TFRnd(), TFunc< TFuncPt >::TFunc(), TGBlobBs::TGBlobBs(), THtmlDoc::THtmlDoc(), THtmlHldV::THtmlHldV(), THtmlTok::THtmlTok(), THttpResp::THttpResp(), THttpRq::THttpRq(), TILxSymSt::TILxSymSt(), TLinReg::TLinReg(), TLxChDef::TLxChDef(), TMacro::TMacro(), TMBlobBs::TMBlobBs(), TMd5::TMd5(), TXmlLx::ToNrSpacing(), TSvd::TSvd(), TUniChDb::TUcdFileReader::TUcdFileReader(), TUrl::TUrl(), TWebPg::TWebPg(), TXmlDoc::TXmlDoc(), and TXmlTok::TXmlTok().
Definition at line 240 of file bd.h.
Referenced by TSnap::GetFlagStr(), TKronMtx::GetInitMtx(), TKronMtx::GetMtxFromNm(), TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitPropList(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TUniCodec::IsMachineLittleEndian(), TBigNet< TNodeData, IsDir >::IsOk(), TUniCaseFolding::LoadTxt(), TVecPool< TVal >::operator=(), TVec< TVal >::Resize(), TVecPool< TVal >::Resize(), TBigNet< TNodeData, IsDir >::SaveToDisk(), TKroneckerLL::SetPerm(), TKronMaxLL::SetPerm(), TUniChDb::TestFindNextWordOrSentenceBoundary(), TKroneckerLL::TestGradDescent(), TSsParser::TSsParser(), and TVecPool< TVal >::TVecPool().
#define forever for(;;) |
Definition at line 6 of file bd.h.
Referenced by TGBlobBs::FNextBlobPt(), TXmlLx::GetAttValue(), TXmlLx::GetCDSect(), TXmlLx::GetComment(), TXmlLx::GetEntityValue(), THtmlLx::GetHRefBeforeStr(), THttpLx::GetLws(), TXmlLx::GetPI(), TXmlLx::GetPlainStrFromXmlStr(), TXmlParser::GetPlainStrFromXmlStr(), TXmlLx::GetReference(), THtmlLx::GetStrToBTag(), TILx::GetStrToEolnAndCh(), THtmlLx::GetStrToETag(), THtmlLx::GetStrToETag2(), THtmlLx::GetSym(), TXmlLx::GetSym(), TILx::GetSym(), THtmlLx::GetTextOnlyStrToEof(), TFile::GetUniqueFNm(), TJsonVal::GetValFromLx(), TSs::LoadTxt(), TXmlDoc::LoadTxt(), TXmlDoc::LoadTxtElement(), TSs::LoadTxtFldV(), THtmlLx::MoveToBTagArg2OrEof(), THtmlLx::MoveToBTagArgOrEof(), THtmlLx::MoveToBTagOrEof(), TVec< TVal >::Partition(), TVec< THKeyDat >::PartitionCmp(), TStr::SplitOnAllAnyCh(), TStr::SplitOnAllCh(), TStr::SplitOnNonAlNum(), TStr::SplitOnWs(), THtmlHldV::THtmlHldV(), and TMBlobBs::TMBlobBs().
#define IAssert | ( | Cond | ) | ((Cond) ? static_cast<void>(0) : ExeStop(NULL, NULL, #Cond, __FILE__, __LINE__)) |
Definition at line 262 of file bd.h.
Referenced by THtmlDoc::_IsTagRedir(), TMd5::Add(), TUniTrie< TInt >::Add(), TMem::AddBf(), TPp::AddCcVal(), TSecTm::AddDays(), TBigNet< TNodeData, IsDir >::AddEdge(), TGnuPlot::AddErrBar(), TSecTm::AddHours(), TGHash< TDat >::AddKey(), TSecTm::AddMins(), TBigNet< TNodeData, IsDir >::AddNode(), TTree< TVal >::AddNode(), TFfGGen::AddNodes(), TUndirFFire::AddNodes(), TGnuPlot::AddPlot(), TILx::AddRw(), TOLx::AddRw(), TSecTm::AddSecs(), TExpVal::AddToLst(), TExpVal::AddToVec(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TSecTm::AddWeeks(), TMAGNodeSimple::AttrGen(), TMAGNodeBern::AttrGen(), TMAGNodeBeta::AttrGen(), TGStat::AvgGStat(), TUndirFFire::BurnGeoFire(), TKroneckerLL::CalcChainR2(), TUniChDb::CanSentenceEndHere(), TStatTest::ChiSquareOne(), TStatTest::ChiSquareTwo(), TNumericalStuff::CholeskySolve(), TVec< TVal >::Clr(), TSnap::ConvertESubGraph(), TMOut::CutBf(), TUniCodec::DecodeUtf16FromBytes(), TUniCodec::DecodeUtf16FromWords(), TMd5::Def(), TMom::Def(), THash< TKey, TDat, THashFunc >::Defrag(), THashSet< TKey, THashFunc >::Defrag(), TMem::Del(), TNEGraph::DelEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::DelEdge(), TFHash< TKey, TFDat, TVDat >::DelKey(), THash< TKey, TDat, THashFunc >::DelKey(), THashSet< TKey, THashFunc >::DelKey(), TUNGraph::DelNode(), TNEGraph::DelNode(), TBPGraph::DelNode(), TNodeEdgeNet< TNodeData, TEdgeData >::DelNode(), TSnap::TSnapDetail::TDelSelfEdges< PGraph, true >::Do(), TBreathFS< PGraph >::DoBfs(), TGHash< TDat >::DrawGViz(), TUniCodec::EncodeUtf16ToBytes(), TUniCodec::EncodeUtf16ToWords(), TSpecFunc::EntropyFracDim(), TLAMisc::FillIdentity(), TLocClustStat::FindBestCut(), TUniChDb::FindNextSentenceBoundary(), TUniChDb::FindNextWordBoundary(), TKronNoise::FlipEdgeNoise(), TFInOut::Flush(), TStr::FromHex(), TSpecFunc::GammaPSeries(), TSpecFunc::GammaQ(), TSpecFunc::GammaQContFrac(), TVec< THKeyDat >::Gen(), TMAGParam< TNodeAttr >::GenAttrMAG(), TNIBs::GenCascade(), TSnap::GenDegSeq(), TFfGGen::GenFFGraphs(), TMAGParam< TNodeAttr >::GenMAG(), TSnap::GenRMat(), TSnap::GenRndDegK(), TSnap::GenRndGnm(), TSnap::GenSmallWorld(), TSnap::Get1CnCom(), TSnap::Get1CnComSzCnt(), TKronMtx::GetApxNoEdgeDLL(), TEnv::GetArg(), TEnv::GetArgPostfix(), TMAGAffMtx::GetAvgAbsErr(), TKronMtx::GetAvgAbsErr(), TMAGAffMtx::GetAvgFroErr(), TKronMtx::GetAvgFroErr(), TMAGNodeBeta::GetBeta(), TFInOut::GetBf(), TB1Def::GetBit(), TLocClustStat::GetBoltzmanCurveStat(), TPpVal::GetBool(), TXmlTok::GetBoolArgVal(), TUniChDb::GetCaseConverted(), TPp::GetCcVal(), TPp::GetCcVals(), TMOut::GetCh(), THtmlLxChDef::GetChDef(), THtmlLxChDef::GetChDefRef(), TSnap::GetClustCf(), TSnap::GetCmnNbrs< PUNGraph >(), TMOut::GetCrLfLn(), TDir::GetCurDir(), TSecTm::GetCurTm(), TLocClustStat::GetCurveStat(), TSecTm::GetDayN(), TSecTm::GetDayOfWeekN(), TTmInfo::GetDayOfWeekNm(), TSecTm::GetDayOfWeekNm(), TSecTm::GetDSecs(), TMacro::GetDstSubstStr(), TSecTm::GetDtMdyStr(), TSecTm::GetDtStr(), TSecTm::GetDtTmFromStr(), TSecTm::GetDtYmdStr(), TUNGraph::GetEI(), TNGraph::GetEI(), TSnap::GetEigenVectorCentr(), TMOut::GetEolnLn(), TSnap::GetESubGraph(), TDir::GetExeDir(), TFHash< TKey, TFDat, TVDat >::GetFHashKey(), TZipIn::GetFLen(), TPpVal::GetFlt(), TSsParser::GetFlt(), TStr::GetFlt(), TLocClustStat::TCutInfo::GetFracDegOut(), THtmlLx::GetFullBTagStr(), TFHash< TKey, TFDat, TVDat >::GetFVDat(), TGraphAnf< PGraph >::GetGraphAnf(), TTimeNENet::GetGraphUpToTm(), TFRnd::GetHd(), TStr::GetHexInt(), TStr::GetHexInt64(), TSecTm::GetHourN(), TILx::GetIdStr(), TInt::GetInRng(), TFlt::GetInRng(), TPpVal::GetInt(), TStr::GetInt64(), TSecTm::GetInUnits(), TJulianDate::GetJulianDateN(), TFHash< TKey, TFDat, TVDat >::GetKeyFVDat(), TGraphEnumUtils::GetMinAndGraphIds(), TSecTm::GetMinN(), TPp::GetMnVal(), TSecTm::GetMonthN(), TTmInfo::GetMonthNm(), TSecTm::GetMonthNm(), TMAGAffMtx::GetMtx(), TKronMtx::GetMtx(), TPp::GetMxVal(), TBigNet< TNodeData, IsDir >::GetNGraph(), TGraphAnf< PGraph >::GetNodeAnf(), TGHash< TDat >::GetNodeMap(), TSnap::GetNodeTriads(), TStr::GetNrAbsFPath(), TB1Def::GetP2(), TB2Def::GetP2(), TB4Def::GetP2(), TSpecFunc::GetPowerCoef(), TRnd::GetPowerDev(), TPp::GetPp(), TTimeNENet::GetPrefAttach(), TILx::GetQStr(), TRnd::GetRayleigh(), TFRnd::GetRec(), TFRnd::GetRecN(), TFRnd::GetRecs(), TSnap::GetRndESubGraph(), THash< TKey, TDat, THashFunc >::GetRndKeyId(), THashSet< TInt >::GetRndKeyId(), TBreathFS< PGraph >::GetRndPath(), TSnap::GetRndSubGraph(), TSecTm::GetSecN(), TPp::GetSelPp(), TMd5::GetSigMem(), TMd5::GetSigStr(), TUniChDb::GetSimpleCaseConverted(), TILx::GetSIn(), TMOut::GetSIn(), TFInOut::GetSize(), TSnap::GetSngVals(), TPpVal::GetStr(), TSecTm::GetStr(), TILx::GetStr(), TExpVal::GetStrVal(), TILx::GetSym(), TXmlTok::GetTagNm(), TXmlDoc::GetTagValV(), TTm::GetTmFromIdStr(), TSecTm::GetTmMinStr(), TSecTm::GetTmStr(), TXmlDoc::GetTok(), TSnap::GetTreeSig(), TSnap::GetTriads(), TStr::GetUInt(), TStr::GetUInt64(), TRnd::GetUniDevInt(), TMom::GetVal(), TGStat::GetValStr(), TPpVal::GetValV(), TFHash< TKey, TFDat, TVDat >::GetVDat(), TStr::GetWcMatch(), TRnd::GetWeibull(), TUStr::GetWordUStrV(), TSecTm::GetYearN(), TSecTm::GetYmdTmStr(), TLinAlg::GS(), TAGM::GVizComGraph(), TSnap::TSnapDetail::GVizDoLayout(), TPp::IAssertSubPp(), TForestFire::InfectRnd(), TUniChDb::InitAfterLoad(), TGraphAnf< PGraph >::InitAnfBits(), TTmInfo::InitDayOfWeekNmV(), TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitLineBreaks(), TKroneckerLL::InitLL(), TTmInfo::InitMonthNmV(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), TUniChDb::InitSpecialCasing(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TMath::InRange(), TStr::InsStr(), TMath::Inv(), TNumericalStuff::InverseSubstitute(), TNumericalStuff::InverseSymetric(), TNumericalStuff::InverseTriagonal(), TBigNet< TNodeData, IsDir >::InvertFromSources(), TGHash< TDat >::IsGetKeyId(), TMath::IsInRange(), TKroneckerLL::IsObsEdge(), TKroneckerLL::IsObsNode(), TBigNet< TNodeData, IsDir >::IsolateNode(), TGnuPlot::IsSameXCol(), TXmlDoc::IsTagTok(), TSimpleGraph::Join(), TStatTest::KsTest(), TSparseSVD::Lanczos(), TSparseSVD::Lanczos2(), TTimeNet::LoadArxiv(), TTimeNet::LoadBipartite(), TSnap::LoadDyNet(), TSnap::LoadDyNetGraphV(), TTimeNENet::LoadEdgeTm(), TInt::LoadFrugalIntV(), TNIBs::LoadInferredNodesTxt(), TNIBs::LoadInferredTxt(), TLAMisc::LoadMatlabTFltVV(), TTimeNet::LoadPatents(), TKronMtx::LoadTxt(), TWChA::LoadTxt(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), TUniChDb::LoadTxt_ProcessDecomposition(), TMAGFitBern::MakeCCDF(), TGnuPlot::MakeExpBins(), THash< TKey, TDat, THashFunc >::MarkDelKey(), THashSet< TKey, THashFunc >::MarkDelKey(), TFInOut::MovePos(), TLinReg::New(), TSvd::New(), TKroneckerLL::NodeDLLDelta(), TKroneckerLL::NodeLLDelta(), TFHashKey< TKey, TFDat, TVDat >::OnDelFromCache(), TSecTm::operator+=(), TSecTm::operator-=(), TSecTm::operator<(), TBigStrPool::operator=(), TStrPool64::operator=(), TVecPool< TVal >::operator=(), TVec< TVal >::Pack(), TTimeNet::PlotCCfOverTm(), TTimeNet::PlotMedianDegOverTm(), TLocClustStat::PlotPhiDistr(), TLocClustStat::PlotPhiInOut(), TMem::Pop(), TChA::Pop(), TQQueue< TInt >::Pop(), TVec< THKeyDat >::PopHeap(), TUniChDb::TSubcatHelper::ProcessComment(), TCon::PutBf(), TFInOut::PutBf(), TFRnd::PutHd(), TPp::PutMnMxVal(), TFRnd::PutRec(), TVecPool< TInt >::PutV(), TPp::PutVal(), TEnv::PutVarVal(), TKronNoise::RemoveEdgeNoise(), TKronNoise::RemoveNodeNoise(), TVec< THKeyDat >::Reserve(), TMem::Resize(), TChA::Resize(), TMOut::Resize(), TBigStrPool::Resize(), TStrPool64::Resize(), TVecPool< TVal >::Resize(), TBigNet< TNodeData, IsDir >::Rewire(), TSecTm::Round(), TLocClustStat::Run(), TLst< TVal >::Save(), TSecTm::SaveTxt(), TExp::SaveTxtOp(), TMAGNodeBeta::SetBeta(), TMAGNodeBeta::SetBetaV(), TUniChDb::TSubcatHelper::SetCat(), TXmlChDef::SetChTy(), THttpChDef::SetChTy(), TKroneckerLL::SetGraph(), TMAGFitBern::SetGraph(), TMAGNodeBern::SetMu(), TTimeNENet::SetNodeTmToFirstEdgeTm(), TStrHash< TDat, TStringPool, THashFunc >::SetPool(), TFInOut::SetPos(), TFRnd::SetRecN(), THtmlLxChDef::SetUcCh(), TSparseSVD::SimpleLanczos(), TNumericalStuff::SolveSymetricSystem(), TBigNet< TNodeData, IsDir >::SortEdgeV(), TMacro::SplitVarNm(), TMath::Sqrt(), TSecTm::SubDays(), TSecTm::SubHours(), TSecTm::SubMins(), TSecTm::SubSecs(), TSecTm::SubWeeks(), TLocClust::SupportSweep(), TBigNet< TNodeData, IsDir >::TBigNet(), TBigStrPool::TBigStrPool(), TBlobPt::TBlobPt(), TComb::TComb(), TCon::TCon(), TCorr::TCorr(), TD34GraphCounter::TD34GraphCounter(), TUniCaseFolding::Test(), T8BitCodec< TEncoding_ISO8859_3 >::Test(), TUniChDb::TestCaseConversion(), TUniChDb::TSubcatHelper::TestCat(), TUniChDb::TestComposition(), TUniCodec::TestDecodeUtf16(), TUniCodec::TestDecodeUtf8(), TUniChDb::TestFindNextWordOrSentenceBoundary(), TUniCodec::TestUtf16(), TUniCodec::TestUtf8(), TUniChDb::TestWbFindNonIgnored(), TFHash< TKey, TFDat, TVDat >::TFHash(), TFInOut::TFInOut(), TGnuPlot::TGnuPlot(), TGraphAnf< PGraph >::TGraphAnf(), TKronMtx::TKronMtx(), TMAGAffMtx::TMAGAffMtx(), TMAGNodeBern::TMAGNodeBern(), TMAGNodeBeta::TMAGNodeBeta(), TMAGNodeSimple::TMAGNodeSimple(), TMem::TMem(), TNcpGraphsBase::TNcpGraphsBase(), TLocClustStat::TNodeSweep::TNodeSweep(), TKronMtx::ToOneMinusMtx(), TUniChDb::ToSimpleCaseConverted(), TLAMisc::ToSpVec(), TPp::TPp(), TPreproc::TPreproc(), TMd5::Transform(), TRStr::TRStr(), TVec< TVal >::Trunc(), TSparseRowMatrix::TSparseRowMatrix(), TStrPool64::TStrPool64(), TVec< THKeyDat >::TVec(), TVecPool< TVal >::TVecPool(), TVVec< TFlt >::TVVec(), TMAGFitBern::UpdateApxPhiMI(), TNIBs::UpdateDiff(), TMAGFitBern::UpdatePhiMI(), TBigStrPool::~TBigStrPool(), TCon::~TCon(), and TFInOut::~TFInOut().
#define IAssertR | ( | Cond, | |
Reason | |||
) | ((Cond) ? static_cast<void>(0) : ExeStop(NULL, TStr(Reason).CStr(), #Cond, __FILE__, __LINE__)) |
Definition at line 265 of file bd.h.
Referenced by TNodeNet< TNodeData >::AddEdge(), TUNGraph::AddEdge(), TNGraph::AddEdge(), TNodeEDatNet< TNodeData, TEdgeData >::AddEdge(), TNEGraph::AddEdge(), TBPGraph::AddEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::AddEdge(), TBigNet< TNodeData, IsDir >::AddNode(), TNodeNet< TNodeData >::AddNode(), TUNGraph::AddNode(), TNGraph::AddNode(), TNodeEDatNet< TNodeData, TEdgeData >::AddNode(), TNEGraph::AddNode(), TBPGraph::AddNode(), TNodeEdgeNet< TNodeData, TEdgeData >::AddNode(), TBigNet< TNodeData, IsDir >::AddSorted(), TBigStrPool::AddStr(), TStrPool::AddStr(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TNodeNet< TNodeData >::DelEdge(), TUNGraph::DelEdge(), TNGraph::DelEdge(), TNodeEDatNet< TNodeData, TEdgeData >::DelEdge(), TBPGraph::DelEdge(), THashSet< TKey, THashFunc >::DelKey(), TBPGraph::DelNode(), TLinAlg::DotProduct(), TSnap::GenDegSeq(), TSnap::GenRndBipart(), TSnap::GenRndGnm(), TSnap::GenSmallWorld(), TBPGraph::GetEI(), TSsParser::GetInt(), TStr::GetInt(), TSecTm::GetTmSec(), TGraphAnf< PGraph >::InitAnfBits(), TSparseSVD::Lanczos(), TMAGNodeSimple::LoadTxt(), TKronMtx::LoadTxt(), TMAGNodeBern::LoadTxt(), TMAGNodeBeta::LoadTxt(), TUniChDb::LoadTxt(), THash< TKey, TDat, THashFunc >::MarkDelKey(), THashSet< TKey, THashFunc >::MarkDelKey(), TKroneckerLL::MetroGibbsSampleNext(), TUniChDb::TUcdFileReader::Open(), TGStat::TCmpByVal::operator()(), TStrPool::operator=(), TUniChDb::TUcdFileReader::ParseCodePoint(), TUniChDb::TUcdFileReader::ParseCodePointList(), TLocClustStat::PlotNCPScatter(), TVec< TVal >::Resize(), TBigStrPool::Resize(), TStrPool::Resize(), TStrPool64::Resize(), TBigNet< TNodeData, IsDir >::Rewire(), TInt::SaveFrugalInt(), TNodeEDatNet< TNodeData, TEdgeData >::SetEDat(), TNodeEdgeNet< TNodeData, TEdgeData >::SetEDat(), TNodeNet< TNodeData >::SetNDat(), TNodeEDatNet< TNodeData, TEdgeData >::SetNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::SetNDat(), THash< TKey, TDat, THashFunc >::Sort(), TNumericalStuff::SymetricToTridiag(), TBigNet< TNodeData, IsDir >::TBigNet(), TFullColMatrix::TFullColMatrix(), TStrPool::TStrPool(), and TStrPool::~TStrPool().
#define max | ( | a, | |
b | |||
) | ((a)>(b)?(a):(b)) |
Definition at line 350 of file bd.h.
Referenced by TVecPool< TVal >::AddEmptyV(), and TVecPool< TVal >::AddV().
#define min | ( | a, | |
b | |||
) | ((a)<(b)?(a):(b)) |
Definition at line 346 of file bd.h.
Referenced by TStr::IsPrefix().
#define TSizeMx SIZE_MAX |
Definition at line 59 of file bd.h.
Referenced by TBigStrPool::TBigStrPool(), and TVecPool< TVal >::TVecPool().
#define UndefAssign | ( | TNm | ) |
#define UndefCopyAssign | ( | TNm | ) |
#define UndefDefaultCopyAssign | ( | TNm | ) |
#define WAssert | ( | Cond, | |
MsgCStr | |||
) | ((Cond) ? static_cast<void>(0) : WarnNotify(MsgCStr)) |
#define XLoad | ( | Nm | ) | Nm.LoadXml(XmlTok->GetTagTok(#Nm), #Nm); |
Definition at line 315 of file bd.h.
Referenced by THashKeyDat< TKey, TDat >::LoadXml(), TPair< TVal1, TVal2 >::LoadXml(), THash< TKey, TDat, THashFunc >::LoadXml(), TTriple< TVal1, TVal2, TVal3 >::LoadXml(), TQuad< TVal1, TVal2, TVal3, TVal4 >::LoadXml(), TKeyDat< TKey, TDat >::LoadXml(), THashSetKey< TKey >::LoadXml(), and THashSet< TInt >::LoadXml().
#define XLoadHd | ( | Nm | ) |
{TStr TypeNm=TXmlObjSer::GetTagNm(TStr(typeid(*this).name())); \ TXmlObjSer::AssertXmlHd(XmlTok, Nm, TypeNm);}
Definition at line 312 of file bd.h.
Referenced by THashKeyDat< TKey, TDat >::LoadXml(), TRnd::LoadXml(), TPair< TVal1, TVal2 >::LoadXml(), THash< TKey, TDat, THashFunc >::LoadXml(), TTriple< TVal1, TVal2, TVal3 >::LoadXml(), TQuad< TVal1, TVal2, TVal3, TVal4 >::LoadXml(), TKeyDat< TKey, TDat >::LoadXml(), TVec< TVal >::LoadXml(), TStr::LoadXml(), TPt< TRec >::LoadXml(), TVoid::LoadXml(), TBool::LoadXml(), TCh::LoadXml(), THashSetKey< TKey >::LoadXml(), TUCh::LoadXml(), TInt::LoadXml(), THashSet< TInt >::LoadXml(), TUInt::LoadXml(), TUInt64::LoadXml(), TFlt::LoadXml(), TSFlt::LoadXml(), TLFlt::LoadXml(), and TFltRect::LoadXml().
#define XSave | ( | Nm | ) | Nm.SaveXml(SOut, #Nm) |
Definition at line 333 of file bd.h.
Referenced by THashKeyDat< TKey, TDat >::SaveXml(), TPair< TVal1, TVal2 >::SaveXml(), THash< TKey, TDat, THashFunc >::SaveXml(), TTriple< TVal1, TVal2, TVal3 >::SaveXml(), TQuad< TVal1, TVal2, TVal3, TVal4 >::SaveXml(), TKeyDat< TKey, TDat >::SaveXml(), THashSetKey< TKey >::SaveXml(), and THashSet< TInt >::SaveXml().
#define XSaveBETag | ( | Nm | ) |
TStr _TypeNm=TXmlObjSer::GetTagNm(TStr(typeid(*this).name())); \ TXmlObjSerTagNm XmlObjSerTagNm(SOut, true, Nm, _TypeNm);
Definition at line 324 of file bd.h.
Referenced by TStr::SaveXml(), and TVoid::SaveXml().
#define XSaveBETagArg | ( | Nm, | |
ArgNm, | |||
ArgVal | |||
) |
TStr _TypeNm=TXmlObjSer::GetTagNm(TStr(typeid(*this).name())); \ TXmlObjSerTagNm XmlObjSerTagNm(SOut, true, Nm, _TypeNm, ArgNm, ArgVal);
Definition at line 327 of file bd.h.
Referenced by TRnd::SaveXml(), TPt< TRec >::SaveXml(), TBool::SaveXml(), TCh::SaveXml(), TUCh::SaveXml(), TInt::SaveXml(), TUInt::SaveXml(), TUInt64::SaveXml(), TFlt::SaveXml(), TSFlt::SaveXml(), and TLFlt::SaveXml().
#define XSaveBETagArg4 | ( | Nm, | |
ArgNm1, | |||
ArgVal1, | |||
ArgNm2, | |||
ArgVal2, | |||
ArgNm3, | |||
ArgVal3, | |||
ArgNm4, | |||
ArgVal4 | |||
) |
TStr _TypeNm=TXmlObjSer::GetTagNm(TStr(typeid(*this).name())); \ TXmlObjSerTagNm XmlObjSerTagNm(SOut, true, Nm, _TypeNm, ArgNm1, ArgVal1, ArgNm2, ArgVal2, ArgNm3, ArgVal3, ArgNm4, ArgVal4);
Definition at line 330 of file bd.h.
Referenced by TFltRect::SaveXml().
#define XSaveHd | ( | Nm | ) |
TStr _TypeNm=TXmlObjSer::GetTagNm(TStr(typeid(*this).name())); \ TXmlObjSerTagNm XmlObjSerTagNm(SOut, false, Nm, _TypeNm);
Definition at line 318 of file bd.h.
Referenced by THashKeyDat< TKey, TDat >::SaveXml(), TPair< TVal1, TVal2 >::SaveXml(), THash< TKey, TDat, THashFunc >::SaveXml(), TTriple< TVal1, TVal2, TVal3 >::SaveXml(), TQuad< TVal1, TVal2, TVal3, TVal4 >::SaveXml(), TKeyDat< TKey, TDat >::SaveXml(), TStr::SaveXml(), THashSetKey< TKey >::SaveXml(), and THashSet< TInt >::SaveXml().
#define XSaveHdArg | ( | Nm, | |
ArgNm, | |||
ArgVal | |||
) |
TStr _TypeNm=TXmlObjSer::GetTagNm(TStr(typeid(*this).name())); \ TXmlObjSerTagNm XmlObjSerTagNm(SOut, false, Nm, _TypeNm, ArgNm, ArgVal);
Definition at line 321 of file bd.h.
Referenced by TMem::SaveXml(), TChA::SaveXml(), TVec< TVal >::SaveXml(), and TPt< TRec >::SaveXml().
#define XSaveToFile | ( | Nm, | |
FNm | |||
) | {TFOut SOut(FNm); Nm.SaveXml(SOut, #Nm);} |
enum TLogOp |
enum TRelOp |
bool Cmp | ( | const int & | RelOp, |
const TRec & | Rec1, | ||
const TRec & | Rec2 | ||
) |
Definition at line 426 of file bd.h.
References Fail, roEq, roGEq, roGt, roLEq, roLs, and roNEq.
Referenced by TVec< THKeyDat >::AdjustHeap(), TVec< THKeyDat >::BSortCmp(), TVec< THKeyDat >::GetPivotValNCmp(), TVec< THKeyDat >::ISortCmp(), TVec< THKeyDat >::IsSortedCmp(), TVec< THKeyDat >::PartitionCmp(), and TVec< THKeyDat >::PushHeap().
{ switch (RelOp){ case roLs: return Rec1<Rec2; case roLEq: return Rec1<=Rec2; case roEq: return Rec1==Rec2; case roNEq: return Rec1!=Rec2; case roGEq: return Rec1>=Rec2; case roGt: return Rec1>Rec2; default: Fail; return false; } }
void ErrNotify | ( | const char * | NotifyCStr | ) | [inline] |
Definition at line 74 of file bd.h.
References WrNotify().
Referenced by TNotify::DfOnNotify(), ErrNotify(), ExeStop(), TNodeNet< TNodeData >::IsOk(), TUNGraph::IsOk(), TNGraph::IsOk(), TNodeEDatNet< TNodeData, TEdgeData >::IsOk(), TNEGraph::IsOk(), TBPGraph::IsOk(), and TNodeEdgeNet< TNodeData, TEdgeData >::IsOk().
{ WrNotify("Error", NotifyCStr);}
void ExeStop | ( | const char * | MsgStr, |
const char * | ReasonStr, | ||
const char * | CondStr, | ||
const char * | FNm, | ||
const int & | LnN | ||
) |
Definition at line 65 of file bd.cpp.
References ErrNotify(), TOnExeStop::GetOnExeStopF(), TOnExeStop::IsOnExeStopF(), and SaveToErrLog().
{ char ReasonMsgCStr[1000]; // stack dump, works for g++ //void *array[20]; //size_t size; // get the trace and print it out //size = backtrace(array, 20); //backtrace_symbols_fd(array, size, 2); // construct reason message if (ReasonCStr==NULL){ReasonMsgCStr[0]=0;} else {sprintf(ReasonMsgCStr, " [Reason:'%s']", ReasonCStr);} // construct full message char FullMsgCStr[1000]; if (MsgCStr==NULL){ if (CondCStr==NULL){ sprintf(FullMsgCStr, "Execution stopped%s!", ReasonMsgCStr); } else { sprintf(FullMsgCStr, "Execution stopped: %s%s, file %s, line %d", CondCStr, ReasonMsgCStr, FNm, LnN); } } else { if (CondCStr==NULL){ sprintf(FullMsgCStr, "%s\nExecution stopped!", MsgCStr); } else { sprintf(FullMsgCStr, "Message: %s%s\nExecution stopped: %s, file %s, line %d", MsgCStr, ReasonMsgCStr, CondCStr, FNm, LnN); } } // report full message to log file SaveToErrLog(FullMsgCStr); // report to screen & stop execution bool Continue=false; // call handler if (TOnExeStop::IsOnExeStopF()){ Continue=!((*TOnExeStop::GetOnExeStopF())(FullMsgCStr));} if (!Continue){ ErrNotify(FullMsgCStr); #ifdef GLib_WIN32 abort(); //ExitProcess(1); #else exit(1); #endif } }
void InfoNotify | ( | const char * | NotifyCStr | ) | [inline] |
Definition at line 70 of file bd.h.
References WrNotify().
Referenced by TNotify::DfOnNotify(), and InfoNotify().
{ WrNotify("Information", NotifyCStr);}
bool IsXLoadFromFileOk | ( | const TStr & | FNm, |
const TStr & | Nm, | ||
TRec & | Rec, | ||
TStr & | MsgStr | ||
) |
Definition at line 45 of file xmlser.h.
References TXmlDoc::LoadTxt(), and TPt< TRec >::LoadXml().
Referenced by XLoadFromFile().
{ bool Ok=true; try { PXmlDoc XmlDoc=TXmlDoc::LoadTxt(FNm); if (XmlDoc->IsOk()){ PXmlTok XmlTok=XmlDoc->GetTok(); Rec.LoadXml(XmlTok, Nm); } else { Ok=false; MsgStr=XmlDoc->GetMsgStr(); } } catch (PExcept Except){ Ok=false; MsgStr=Except->GetMsgStr(); } return Ok; }
bool operator!= | ( | const TRec & | Rec1, |
const TRec & | Rec2 | ||
) |
bool operator<= | ( | const TRec & | Rec1, |
const TRec & | Rec2 | ||
) |
bool operator> | ( | const TRec & | Rec1, |
const TRec & | Rec2 | ||
) |
bool operator>= | ( | const TRec & | Rec1, |
const TRec & | Rec2 | ||
) |
void SaveToErrLog | ( | const char * | MsgCStr | ) |
Definition at line 47 of file bd.cpp.
Referenced by ExeStop(), and TZipIn::GetFLen().
{ int MxFNmLen=1000; char* FNm=new char[MxFNmLen]; if (FNm==NULL){return;} int FNmLen=GetModuleFileName(NULL, FNm, MxFNmLen); if (FNmLen==0){return;} FNm[FNmLen++]='.'; FNm[FNmLen++]='E'; FNm[FNmLen++]='r'; FNm[FNmLen++]='r'; FNm[FNmLen++]=char(0); time_t Time=time(NULL); FILE* fOut=fopen(FNm, "a+b"); if (fOut==NULL){return;} fprintf(fOut, "--------\r\n%s\r\n%s%s\r\n--------\r\n", FNm, ctime(&Time), MsgCStr); fclose(fOut); delete[] FNm; }
void StatNotify | ( | const char * | NotifyCStr | ) | [inline] |
Definition at line 76 of file bd.h.
References WrNotify().
Referenced by TNotify::DfOnNotify(), and StatNotify().
{ WrNotify("Status", NotifyCStr);}
void Swap | ( | TRec & | Rec1, |
TRec & | Rec2 | ||
) |
Definition at line 568 of file bd.h.
Referenced by TVec< TVal >::AddSorted(), TVec< TVal >::BSort(), TSnap::GenConfModel(), TSnap::GenRewire(), TVec< TVal >::NextPerm(), TLinReg::NR_covsrt(), TLinReg::NR_gaussj(), TVec< TVal >::Partition(), TGnuPlot::PlotValV(), TVec< TVal >::PrevPerm(), TSparseHash< TKey, TDat, GroupSize >::ResizeDelta(), TSparseSet< TKey, GroupSize >::ResizeDelta(), TVec< TVal >::Reverse(), TAGM::RndConnectInsideCommunity(), TVec< TVal >::Shuffle(), THash< TKey, TDat, THashFunc >::Swap(), TSparseTable< TVal, GroupSize >::Swap(), TVec< TVal >::Swap(), TSparseHash< TKey, TDat, GroupSize >::Swap(), TSparseSet< TKey, GroupSize >::Swap(), THashSet< TKey, THashFunc >::Swap(), and TVVec< TVal >::Swap().
{ TRec Rec=Rec1; Rec1=Rec2; Rec2=Rec; }
void WarnNotify | ( | const char * | NotifyCStr | ) | [inline] |
Definition at line 72 of file bd.h.
References WrNotify().
Referenced by TNotify::DfOnNotify(), TSnap::GetClustCf(), and WarnNotify().
{ WrNotify("Warning", NotifyCStr);}
void WrNotify | ( | const char * | CaptionCStr, |
const char * | NotifyCStr | ||
) |
Definition at line 39 of file bd.cpp.
Referenced by ErrNotify(), TZipIn::GetFLen(), InfoNotify(), StatNotify(), and WarnNotify().
{ #if defined(__CONSOLE__) || defined(_CONSOLE) printf("*** %s: %s\n", CaptionCStr, NotifyCStr); #else MessageBox(NULL, NotifyCStr, CaptionCStr, MB_OK); #endif }
void XLoadFromFile | ( | const TStr & | FNm, |
const TStr & | Nm, | ||
TRec & | Rec | ||
) |
Definition at line 63 of file xmlser.h.
References IsXLoadFromFileOk(), and TExcept::Throw().
{ TStr MsgStr; if (!IsXLoadFromFileOk(FNm, Nm, Rec, MsgStr)){ TExcept::Throw(MsgStr); } }