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 <dt.h>
Public Member Functions | |
TStr () | |
TStr (const TStr &Str) | |
TStr (const TChA &ChA) | |
TStr (const TSStr &SStr) | |
TStr (const char *CStr) | |
TStr (const char &Ch) | |
TStr (const TMem &Mem) | |
TStr (const PSIn &SIn) | |
~TStr () | |
TStr (TSIn &SIn, const bool &IsSmall=false) | |
void | Load (TSIn &SIn, const bool &IsSmall=false) |
void | Save (TSOut &SOut, const bool &IsSmall=false) const |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm) |
void | SaveXml (TSOut &SOut, const TStr &Nm) const |
TStr & | operator= (const TStr &Str) |
TStr & | operator= (const TChA &ChA) |
TStr & | operator= (const char *CStr) |
TStr & | operator= (const char &Ch) |
TStr & | operator+= (const TStr &Str) |
TStr & | operator+= (const char *CStr) |
TStr & | operator/ (const int &N) |
bool | operator== (const TStr &Str) const |
bool | operator== (const char *CStr) const |
bool | operator!= (const char *CStr) const |
bool | operator< (const TStr &Str) const |
char | operator[] (const int &ChN) const |
int | GetMemUsed () const |
char * | operator() () |
const char * | operator() () const |
char * | CStr () |
const char * | CStr () const |
void | PutCh (const int &ChN, const char &Ch) |
char | GetCh (const int &ChN) const |
char | LastCh () const |
void | Clr () |
int | Len () const |
bool | Empty () const |
bool | IsUc () const |
TStr & | ToUc () |
TStr | GetUc () const |
int | CmpI (const TStr &Str) const |
bool | EqI (const TStr &Str) const |
bool | IsLc () const |
TStr & | ToLc () |
TStr | GetLc () const |
TStr & | ToCap () |
TStr | GetCap () const |
TStr & | ToTrunc () |
TStr | GetTrunc () const |
TStr & | ConvUsFromYuAscii () |
TStr | GetUsFromYuAscii () const |
TStr & | ToHex () |
TStr | GetHex () const |
TStr & | FromHex () |
TStr | GetFromHex () const |
TStr | GetSubStr (const int &BChN, const int &EChN) const |
TStr | GetSubStr (const int &BChN) const |
void | InsStr (const int &BChN, const TStr &Str) |
void | DelChAll (const char &Ch) |
void | DelSubStr (const int &BChN, const int &EChN) |
bool | DelStr (const TStr &Str) |
TStr | LeftOf (const char &SplitCh) const |
TStr | LeftOfLast (const char &SplitCh) const |
TStr | RightOf (const char &SplitCh) const |
TStr | RightOfLast (const char &SplitCh) const |
void | SplitOnCh (TStr &LStr, const char &SplitCh, TStr &RStr) const |
void | SplitOnLastCh (TStr &LStr, const char &SplitCh, TStr &RStr) const |
void | SplitOnAllCh (const char &SplitCh, TStrV &StrV, const bool &SkipEmpty=true) const |
void | SplitOnAllAnyCh (const TStr &SplitChStr, TStrV &StrV, const bool &SkipEmpty=true) const |
void | SplitOnWs (TStrV &StrV) const |
void | SplitOnNonAlNum (TStrV &StrV) const |
void | SplitOnStr (const TStr &SplitStr, TStrV &StrV) const |
void | SplitOnStr (TStr &LeftStr, const TStr &MidStr, TStr &RightStr) const |
TStr | Mid (const int &BChN, const int &Chs) const |
TStr | Mid (const int &BChN) const |
TStr | Left (const int &EChN) const |
TStr | Right (const int &BChN) const |
TStr | Slice (int BChN, int EChNP1) const |
TStr | operator() (const int &BChN, const int &EChNP1) const |
int | CountCh (const char &Ch, const int &BChN=0) const |
int | SearchCh (const char &Ch, const int &BChN=0) const |
int | SearchChBack (const char &Ch, int BChN=-1) const |
int | SearchStr (const TStr &Str, const int &BChN=0) const |
bool | IsChIn (const char &Ch) const |
bool | IsStrIn (const TStr &Str) const |
bool | IsPrefix (const char *Str) const |
bool | IsPrefix (const TStr &Str) const |
bool | IsSuffix (const char *Str) const |
bool | IsSuffix (const TStr &Str) const |
int | ChangeCh (const char &SrcCh, const char &DstCh, const int &BChN=0) |
int | ChangeChAll (const char &SrcCh, const char &DstCh) |
int | ChangeStr (const TStr &SrcStr, const TStr &DstStr, const int &BChN=0) |
int | ChangeStrAll (const TStr &SrcStr, const TStr &DstStr, const bool &FromStartP=false) |
TStr | Reverse () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
bool | IsBool (bool &Val) const |
bool | IsInt (const bool &Check, const int &MnVal, const int &MxVal, int &Val) const |
bool | IsInt (int &Val) const |
bool | IsInt () const |
int | GetInt () const |
int | GetInt (const int &DfVal) const |
bool | IsUInt (const bool &Check, const uint &MnVal, const uint &MxVal, uint &Val) const |
bool | IsUInt (uint &Val) const |
bool | IsUInt () const |
uint | GetUInt () const |
uint | GetUInt (const uint &DfVal) const |
bool | IsInt64 (const bool &Check, const int64 &MnVal, const int64 &MxVal, int64 &Val) const |
bool | IsInt64 (int64 &Val) const |
bool | IsInt64 () const |
int64 | GetInt64 () const |
int64 | GetInt64 (const int64 &DfVal) const |
bool | IsUInt64 (const bool &Check, const uint64 &MnVal, const uint64 &MxVal, uint64 &Val) const |
bool | IsUInt64 (uint64 &Val) const |
bool | IsUInt64 () const |
uint64 | GetUInt64 () const |
uint64 | GetUInt64 (const uint64 &DfVal) const |
bool | IsHexInt (const bool &Check, const int &MnVal, const int &MxVal, int &Val) const |
bool | IsHexInt (int &Val) const |
bool | IsHexInt () const |
int | GetHexInt () const |
int | GetHexInt (const int &DfVal) const |
bool | IsHexInt64 (const bool &Check, const int64 &MnVal, const int64 &MxVal, int64 &Val) const |
bool | IsHexInt64 (int64 &Val) const |
bool | IsHexInt64 () const |
int64 | GetHexInt64 () const |
int64 | GetHexInt64 (const int64 &DfVal) const |
bool | IsFlt (const bool &Check, const double &MnVal, const double &MxVal, double &Val, const char &DecDelimCh='.') const |
bool | IsFlt (double &Val) const |
bool | IsFlt () const |
double | GetFlt () const |
double | GetFlt (const double &DfVal) const |
bool | IsWord (const bool &WsPrefixP=true, const bool &FirstUcAllowedP=true) const |
bool | IsWs () const |
bool | IsWcMatch (const int &StrBChN, const TStr &WcStr, const int &WcStrBChN, TStrV &StarStrV, const char &StarCh='*', const char &QuestCh='?') const |
bool | IsWcMatch (const TStr &WcStr, TStrV &StarStrV, const char &StarCh='*', const char &QuestCh='?') const |
bool | IsWcMatch (const TStr &WcStr, const char &StarCh, const char &QuestCh) const |
bool | IsWcMatch (const TStr &WcStr, const int &StarStrN, TStr &StarStr) const |
bool | IsWcMatch (const TStr &WcStr) const |
TStr | GetWcMatch (const TStr &WcStr, const int &StarStrN=0) const |
TStr | GetFPath () const |
TStr | GetFBase () const |
TStr | GetFMid () const |
TStr | GetFExt () const |
void | SaveTxt (const PSOut &SOut) const |
void | SaveTxt (const TStr &FNm) const |
TStr | GetStr () const |
char * | GetCStr () const |
Static Public Member Functions | |
static TStr | GetNrFPath (const TStr &FPath) |
static TStr | GetNrFMid (const TStr &FMid) |
static TStr | GetNrFExt (const TStr &FExt) |
static TStr | GetNrNumFExt (const int &FExtN) |
static TStr | GetNrFNm (const TStr &FNm) |
static TStr | GetNrAbsFPath (const TStr &FPath, const TStr &BaseFPath=TStr()) |
static bool | IsAbsFPath (const TStr &FPath) |
static TStr | PutFExt (const TStr &FNm, const TStr &FExt) |
static TStr | PutFExtIfEmpty (const TStr &FNm, const TStr &FExt) |
static TStr | PutFBase (const TStr &FNm, const TStr &FBase) |
static TStr | PutFBaseIfEmpty (const TStr &FNm, const TStr &FBase) |
static TStr | AddToFMid (const TStr &FNm, const TStr &ExtFMid) |
static TStr | GetNumFNm (const TStr &FNm, const int &Num) |
static TStr | GetFNmStr (const TStr &Str, const bool &AlNumOnlyP=true) |
static TStr | LoadTxt (const PSIn &SIn) |
static TStr | LoadTxt (const TStr &FNm) |
static TStr & | GetChStr (const char &Ch) |
static TStr & | GetDChStr (const char &Ch1, const char &Ch2) |
static TStr | GetStr (const TStr &Str, const char *FmtStr) |
static TStr | GetStr (const TStr &Str, const TStr &FmtStr) |
static TStr | GetStr (const TStrV &StrV, const TStr &DelimiterStr) |
static TStr | Fmt (const char *FmtStr,...) |
static TStr | GetSpaceStr (const int &Spaces) |
static TStr | MkClone (const TStr &Str) |
static TStr | GetNullStr () |
Private Member Functions | |
TStr (const char &Ch, bool) | |
TStr (const char &Ch1, const char &Ch2, bool) | |
void | Optimize () |
Static Private Member Functions | |
static TRStr * | GetRStr (const char *CStr) |
Private Attributes | |
TRStr * | RStr |
Friends | |
TStr | operator+ (const TStr &LStr, const TStr &RStr) |
TStr | operator+ (const TStr &LStr, const char *RCStr) |
|
inlineprivate |
Definition at line 416 of file dt.h.
References TRStr::MkRef().
|
inlineprivate |
Definition at line 418 of file dt.h.
References TRStr::MkRef().
|
inline |
Definition at line 423 of file dt.h.
References TRStr::GetNullRStr(), and TRStr::MkRef().
Referenced by Fmt(), GetCap(), GetChStr(), GetDChStr(), GetFExt(), GetFromHex(), GetHex(), GetLc(), GetNrFExt(), GetNrNumFExt(), GetStr(), GetSubStr(), GetTrunc(), GetUc(), GetUsFromYuAscii(), Load(), LoadTxt(), MkClone(), SplitOnAllAnyCh(), SplitOnAllCh(), SplitOnNonAlNum(), and SplitOnWs().
|
inline |
Definition at line 424 of file dt.h.
References TRStr::MkRef(), and RStr.
|
inline |
Definition at line 425 of file dt.h.
References TChA::CStr(), GetRStr(), and TRStr::MkRef().
|
inline |
Definition at line 426 of file dt.h.
References TSStr::CStr(), GetRStr(), and TRStr::MkRef().
|
inline |
Definition at line 427 of file dt.h.
References GetRStr(), and TRStr::MkRef().
|
inlineexplicit |
Definition at line 428 of file dt.h.
References GetChStr(), TRStr::MkRef(), and RStr.
|
inline |
Definition at line 429 of file dt.h.
References CStr(), TMem::Len(), TRStr::MkRef(), and Optimize().
|
inlineexplicit |
Definition at line 432 of file dt.h.
References CStr(), TSIn::GetBf(), TSIn::Len(), TRStr::MkRef(), and Optimize().
|
inline |
Definition at line 435 of file dt.h.
References TRStr::UnRef().
|
inlineexplicit |
Definition at line 436 of file dt.h.
References TRStr::MkRef(), and Optimize().
Definition at line 1523 of file dt.cpp.
References GetFExt(), GetFMid(), and GetFPath().
int TStr::ChangeCh | ( | const char & | SrcCh, |
const char & | DstCh, | ||
const int & | BChN = 0 |
||
) |
Definition at line 1107 of file dt.cpp.
References PutCh(), and SearchCh().
Referenced by GetNrFPath().
int TStr::ChangeChAll | ( | const char & | SrcCh, |
const char & | DstCh | ||
) |
Definition at line 1113 of file dt.cpp.
References TRStr::CStr(), CStr(), Len(), TRStr::MkRef(), Optimize(), RStr, SearchCh(), and TRStr::UnRef().
Referenced by TCodaAnalyzer::Draw2ModeCommunity(), TMAGAffMtx::GetMtx(), and TKronMtx::GetMtx().
Definition at line 1130 of file dt.cpp.
References DelSubStr(), InsStr(), Len(), and SearchStr().
Referenced by ChangeStrAll(), and TFile::GetUniqueFNm().
int TStr::ChangeStrAll | ( | const TStr & | SrcStr, |
const TStr & | DstStr, | ||
const bool & | FromStartP = false |
||
) |
Definition at line 1141 of file dt.cpp.
References ChangeStr(), and Len().
Referenced by TGnuPlot::AddPlot(), TGnuPlot::CreatePlotFile(), TXmlLx::GetChRefFromYuEntRef(), GetNrAbsFPath(), TXmlLx::GetUsAsciiStrFromXmlStr(), TUnicode::NormalizeCodecName(), and TUrl::TUrl().
|
inline |
Definition at line 489 of file dt.h.
References TRStr::GetNullRStr(), TRStr::MkRef(), and TRStr::UnRef().
Referenced by DelSubStr(), TUrl::GetAbs(), THttpResp::ParseHttpResp(), and TUrl::ToLcPath().
|
inline |
Definition at line 497 of file dt.h.
References TRStr::CmpI(), and CStr().
TStr & TStr::ConvUsFromYuAscii | ( | ) |
Definition at line 779 of file dt.cpp.
References TRStr::ConvUsFromYuAscii(), TRStr::CStr(), TRStr::MkRef(), Optimize(), RStr, and TRStr::UnRef().
int TStr::CountCh | ( | const char & | Ch, |
const int & | BChN = 0 |
||
) | const |
Definition at line 1033 of file dt.cpp.
References CStr(), TInt::GetMx(), and Len().
|
inline |
Definition at line 479 of file dt.h.
References TRStr::CStr().
Referenced by TStrHash< TInt, TBigStrPool >::AddDat(), TStrHash< TInt, TBigStrPool >::AddDatId(), TGnuPlot::AddErrBar(), TNEANet::AddFltVAttrDatE(), TNEANet::AddFltVAttrDatN(), TGnuPlot::AddFunc(), TNEANet::AddIntVAttrDatE(), TNEANet::AddIntVAttrDatN(), TStrHash< TInt, TBigStrPool >::AddKey(), TGnuPlot::AddPlot(), TBigStrPool::AddStr(), TStrPool::AddStr(), TStrPool64::AddStr(), TNEANet::AppendFltVAttrDatE(), TNEANet::AppendFltVAttrDatN(), TNEANet::AppendIntVAttrDatE(), TNEANet::AppendIntVAttrDatN(), anonymous_namespace{unicode.cpp}::AssertEq(), TKroneckerLL::ChainGelmapRubinPlot(), ChangeChAll(), CmpI(), TTable::CompareRows(), CountCh(), TGnuPlot::CreatePlotFile(), TZipIn::CreateZipProcess(), TZipOut::CreateZipProcess(), TFile::Del(), TMMNet::DelCrossNet(), TDir::DelDir(), TMMNet::DelModeNet(), DelSubStr(), TCodaAnalyzer::Draw2ModeCommunity(), TGHash< TDat >::DrawGViz(), TLocClust::DrawWhiskers(), TMAGAffMtx::Dump(), TKronMtx::Dump(), TCnCom::Dump(), TBigNet< TNodeData, IsDir >::Dump(), TSimpleGraph::Dump(), TCodaAnalyzer::Dump2ModeCommunities(), TAGMUtil::DumpCmtyVV(), TCoda::DumpMemberships(), TCesnaUtil::DumpNIDAttrHToMetis(), TCesnaUtil::DumpNIDAttrHToNIDK(), TTimeNENet::DumpTimeStat(), EqI(), ErrNotify(), TDir::Exists(), FPrintMatrix(), FPrintNodeMappings(), FPrintRoles(), TDir::GenDir(), TZipIn::GetCmd(), TZipOut::GetCmd(), GetCStr(), TBigStrPool::GetCStr(), TStrPool::GetCStr(), TBigStrPool::GetCStrFromOffset(), TExeTm::GetCurTm(), TStrHash< TInt, TBigStrPool >::GetDat(), TSecTm::GetDtStr(), GetFBase(), GetFExt(), TZipIn::GetFLen(), GetFMid(), GetFPath(), TEnv::GetIfArgPrefixBool(), TEnv::GetIfArgPrefixFlt(), TEnv::GetIfArgPrefixInt(), TEnv::GetIfArgPrefixStr(), TEnv::GetIfArgPrefixStrV(), TStrHash< TInt, TBigStrPool >::GetKeyId(), TKronMtx::GetMtxFromNm(), TStrHashF_OldGLib::GetPrimHashCd(), TStrHashF_DJB::GetPrimHashCd(), TILx::GetQStr(), TStrHashF_OldGLib::GetSecHashCd(), TStrHashF_DJB::GetSecHashCd(), TSecTm::GetStr(), TMom::GetStr(), GetStr(), TInt::GetStr(), TUInt::GetStr(), TFlt::GetStr(), TLFlt::GetStr(), GetSubStr(), TSecTm::GetTmSec(), THtmlDoc::GetTxtLnDoc(), TUInt::GetUIntFromIpStr(), TEnv::GetVarVal(), TStrUtil::GetXmlTagVal(), TKroneckerLL::GradDescentConvergence(), TAGMUtil::GVizComGraph(), TSnap::TSnapDetail::GVizDoLayout(), TGStatVec::ImposeDistr(), TLocClustStat::ImposeNCP(), InfoNotify(), TUniChDb::InitDerivedCoreProperties(), TUniChDb::InitPropList(), TUniChDb::InitScripts(), TUniChDb::InitWordAndSentenceBoundaryFlags(), TSnap::Intersect(), TSnap::Intersect1(), TBigNet< TNodeData, IsDir >::InvertFromSources(), TEnv::IsArgStr(), IsFlt(), TStrHash< TInt, TBigStrPool >::IsKey(), TStrHash< TInt, TBigStrPool >::IsKeyGetDat(), TNGraphMP::IsOk(), TNodeNet< TNodeData >::IsOk(), TUNGraph::IsOk(), TNEANetMP::IsOk(), TNGraph::IsOk(), TNodeEDatNet< TNodeData, TEdgeData >::IsOk(), TNEGraph::IsOk(), TBPGraph::IsOk(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), TNEANet::IsOk(), TUndirNet::IsOk(), TDirNet::IsOk(), TChA::IsPrefix(), IsPrefix(), TChA::IsSuffix(), IsSuffix(), TTable::Join(), LeftOf(), LeftOfLast(), TTimeNet::LoadAmazon(), TTimeNet::LoadArxiv(), TTimeNet::LoadBipartite(), TKeyDatFl< TKey, TDat, THashFunc >::LoadDatV(), TTimeNENet::LoadEdgeTm(), TTimeNENet::LoadFlickr(), TKeyDatFl< TKey, TDat, THashFunc >::LoadHash(), TKeyDatFl< TKey, TDat, THashFunc >::LoadKeyV(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TTimeNet::LoadPatents(), TMAGNodeSimple::LoadTxt(), TMAGNodeBern::LoadTxt(), TMAGNodeBeta::LoadTxt(), TMAGParam< TNodeAttr >::LoadTxt(), TUniCaseFolding::LoadTxt(), TUniChDb::LoadTxt(), MkClone(), TCesna::MLEGradAscentParallel(), TNumericalStuff::nrerror(), TNativeCallbackNotify::OnNotify(), TStdNotify::OnNotify(), TStdErrNotify::OnNotify(), TNativeCallbackNotify::OnStatus(), TStdNotify::OnStatus(), TStdErrNotify::OnStatus(), TLogNotify::OnStatus(), TUniChDb::TUcdFileReader::Open(), operator!=(), TGStat::TCmpByVal::operator()(), TWChA::operator+=(), TMem::operator+=(), TChA::operator+=(), operator+=(), TWChA::operator=(), TChA::operator=(), TVecPool< TVal, TSizeTy >::operator=(), operator==(), Optimize(), TGStat::Plot(), TGStatVec::Plot(), PlotAutoCorrelation(), TLocClustStat::PlotBestClustDens(), TLocClustStat::PlotBoltzmanCurve(), TTimeNet::PlotCCfOverTm(), TSnap::PlotClustCf(), TKronMtx::PlotCmpGraphs(), TLocClust::PlotCutDistr(), TTimeNet::PlotEffDiam(), TTimeNENet::PlotEffDiam(), TSnap::PlotEigValDistr(), TSnap::PlotEigValRank(), TForestFire::PlotFire(), TFfGGen::PlotFireSize(), PlotGrad(), TSnap::PlotHops(), TSnap::PlotInDegDistr(), TSnap::PlotInvParticipRat(), TSnap::PlotKCoreEdges(), TSnap::PlotKCoreNodes(), TTimeNet::PlotMedianDegOverTm(), TTimeNet::PlotMissingPast(), TTimeNENet::PlotMissingPast(), TLocClustStat::PlotNCP(), TLocClustStat::PlotNCPModul(), TLocClustStat::PlotNCPScatter(), TLocClustStat::PlotNcpTop10(), TSnap::PlotOutDegDistr(), TLocClust::PlotPhiDistr(), TLocClustStat::PlotPhiDistr(), TLocClustStat::PlotPhiInOut(), PlotRoles(), TSnap::PlotSccDistr(), TSnap::PlotShortPathDistr(), TSnap::PlotSngValDistr(), TSnap::PlotSngValRank(), TSnap::PlotSngVec(), PlotTrueAndEst(), TGnuPlot::PlotValOverTm(), TGnuPlot::PlotValV(), TLocClust::PlotVolDistr(), TSnap::PlotWccDistr(), TEnv::PrepArgs(), TUniChDb::PrintCharNames(), TSnap::PrintInfo(), TTmProfiler::PrintReport(), TLAMisc::PrintTFltV(), TLAMisc::PrintTFltVV(), TLAMisc::PrintTIntV(), TSOut::PutStr(), TFRnd::PutStr(), TEnv::PutVarVal(), TFile::Rename(), TVec< TVal, TSizeTy >::Resize(), TVecPool< TVal, TSizeTy >::Resize(), RightOf(), RightOfLast(), TGnuPlot::RunGnuPlot(), TAGMUtil::SaveBipartiteGephi(), TGHash< TDat >::SaveDetailTxt(), TNetInfBs::SaveEdgeInfo(), TSnap::SaveEdgeList(), TSnap::SaveEdgeListNet(), TTimeNENet::SaveEdgeTm(), TGnuPlot::SaveEps(), TAGMUtil::SaveGephi(), TSnap::SaveGViz(), TGraphKey::SaveGViz(), THtmlDoc::SaveHtmlToXml(), TSnap::SaveMatlabSparseMtx(), TSnap::SavePajek(), TLocClust::SavePajek(), TNetInfBs::SavePajek(), TNetInfBs::SavePlaneTextNet(), TGnuPlot::SavePng(), TTable::SaveSS(), TGnuPlot::SaveTs(), TKronMtx::SaveTxt(), TCnCom::SaveTxt(), TMAGParam< TNodeAttr >::SaveTxt(), TGStatVec::SaveTxt(), TNcpGraphsBase::SaveTxt(), TGHash< TDat >::SaveTxt(), SaveTxt(), TLocClustStat::SaveTxtInfo(), TNcpGraphsBase::SaveTxtNcpMin(), SearchCh(), SearchChBack(), TChA::SearchStr(), SearchStr(), SplitOnAllAnyCh(), SplitOnAllCh(), SplitOnCh(), SplitOnLastCh(), SplitOnNonAlNum(), SplitOnWs(), StatNotify(), TGStat::TakeStat(), TChA::TChA(), TUniCodec::TestDecodeUtf16(), TUniCodec::TestDecodeUtf8(), TUniChDb::TestFindNextWordOrSentenceBoundary(), TKroneckerLL::TestGradDescent(), TKroneckerLL::TestSamplePerm(), TUniCodec::TestUtf16(), TUniCodec::TestUtf8(), TUniChDb::TestWbFindNonIgnored(), TFIn::TFIn(), TFInOut::TFInOut(), TFOut::TFOut(), TTable::ThresholdJoinInputCorrectness(), TTimeNENet::TimeGrowth(), TMem::TMem(), TMIn::TMIn(), TNcpGraphsBase::TNcpGraphsBase(), ToTrunc(), TShMIn::TShMIn(), TSparseRowMatrix::TSparseRowMatrix(), TStr(), TVecPool< TVal, TSizeTy >::TVecPool(), TWChA::TWChA(), TZipIn::TZipIn(), TFPathNotify::UpdateSOut(), WarnNotify(), TSnap::WriteEdgeSchemaToFile(), TSnap::WriteEdgesToFile(), TSnap::WriteNodeSchemaToFile(), TSnap::WriteNodesToFile(), and TUniChDb::TSubcatHelper::~TSubcatHelper().
|
inline |
Definition at line 480 of file dt.h.
References TRStr::CStr().
void TStr::DelChAll | ( | const char & | Ch | ) |
Definition at line 840 of file dt.cpp.
References TChA::Del(), and TChA::SearchCh().
bool TStr::DelStr | ( | const TStr & | Str | ) |
Definition at line 863 of file dt.cpp.
References DelSubStr(), Len(), and SearchStr().
Referenced by TUrl::GetAbsFromBase().
void TStr::DelSubStr | ( | const int & | BChN, |
const int & | EChN | ||
) |
Definition at line 850 of file dt.cpp.
References Clr(), CStr(), TInt::GetMn(), TInt::GetMx(), and Len().
Referenced by ChangeStr(), DelStr(), TUrl::GetAbsFromBase(), and TEnv::GetIfArgPrefixBool().
|
inline |
Definition at line 491 of file dt.h.
References TRStr::Empty().
Referenced by TGnuPlot::AddExpFit(), TGnuPlot::AddFunc(), TGnuPlot::AddLinFit(), TGnuPlot::AddLogFit(), TGnuPlot::AddPwrFit1(), TGnuPlot::AddPwrFit2(), TGnuPlot::AddPwrFit3(), TXmlObjSer::AssertXmlHd(), TGnuPlot::CreatePlotFile(), TUrl::DefFinalUrl(), TMAGAffMtx::Dump(), TKronMtx::Dump(), TCnCom::Dump(), TBigNet< TNodeData, IsDir >::Dump(), TSimpleGraph::Dump(), TDbStr::Empty(), TFile::Exists(), TDbStr::Filled(), TCesna::FindComs(), TAGMFast::FindComsByCV(), TCoda::FindComsByCV(), TUrl::GetAbs(), TUrl::GetAbsFromBase(), THttpResp::GetCookieKeyValDmPathQuV(), TSs::GetFldX(), TSs::GetFldY(), GetNrAbsFPath(), TGBlobBs::GetNrBlobBsFNm(), GetNrFExt(), TXmlLx::GetPEReference(), TXmlLx::GetReference(), TGnuPlot::GetSeriesPlotStr(), THttpLx::GetSpec(), TXmlObjSer::GetTagNm(), TXmlTok::GetTagTok(), TXmlDoc::GetTagTok(), THttpLx::GetToken(), TKroneckerLL::GradDescentConvergence(), TGStatVec::ImposeDistr(), TLocClustStat::ImposeNCP(), TUniChDb::InitSpecialCasing(), TEnv::IsEndOfRun(), TTable::IsNextK(), TUrl::IsSite(), THtmlTok::IsUrlTok(), TUniChDb::LoadTxt(), TUniChDb::LoadTxt_ProcessDecomposition(), TAGMFast::MLEGradAscent(), TCoda::MLEGradAscent(), TCesna::MLEGradAscent(), TAGMFit::MLEGradAscentGivenCAG(), TAGMFast::MLEGradAscentParallel(), TCoda::MLEGradAscentParallel(), TCesna::MLEGradAscentParallel(), TLogRegFit::MLEGradient(), TAGMFast::MLENewton(), TLogRegFit::MLENewton(), TStdNotify::OnStatus(), TStdErrNotify::OnStatus(), operator+(), TTable::Order(), TGStat::Plot(), TGStatVec::Plot(), TLocClustStat::PlotBestClustDens(), TTimeNet::PlotCCfOverTm(), TSnap::PlotClustCf(), TLocClust::PlotCutDistr(), TSnap::PlotEigValDistr(), TSnap::PlotEigValRank(), TSnap::PlotHops(), TSnap::PlotInDegDistr(), TSnap::PlotInvParticipRat(), TSnap::PlotKCoreEdges(), TSnap::PlotKCoreNodes(), TLocClustStat::PlotNCP(), TLocClustStat::PlotNCPModul(), TLocClustStat::PlotNCPScatter(), TLocClustStat::PlotNcpTop10(), TSnap::PlotOutDegDistr(), TLocClust::PlotPhiDistr(), TSnap::PlotSccDistr(), TSnap::PlotShortPathDistr(), TSnap::PlotSngValDistr(), TSnap::PlotSngValRank(), TSnap::PlotSngVec(), TLocClust::PlotVolDistr(), TSnap::PlotWccDistr(), TEnv::PrepArgs(), TSnap::PrintInfo(), PutFBaseIfEmpty(), PutFExtIfEmpty(), TGnuPlot::RunGnuPlot(), TSnap::SaveEdgeList(), TSnap::SaveEdgeListNet(), TGnuPlot::SaveEps(), TSnap::SaveGViz(), TGraphKey::SaveGViz(), THtmlDoc::SaveHtmlToXml(), TGnuPlot::SavePng(), TGnuPlot::SaveTs(), TCnCom::SaveTxt(), SaveXml(), TFFile::TFFile(), TFIn::TFIn(), TGnuPlot::TGnuPlot(), THttpResp::THttpResp(), THttpRq::THttpRq(), TMIn::TMIn(), TUrl::ToLcPath(), TPreproc::TPreproc(), TShMIn::TShMIn(), TXmlObjSerTagNm::TXmlObjSerTagNm(), TZipIn::TZipIn(), TZipOut::TZipOut(), and TXmlObjSerTagNm::~TXmlObjSerTagNm().
|
inline |
Definition at line 498 of file dt.h.
References TRStr::CmpI(), and CStr().
|
static |
Definition at line 1599 of file dt.cpp.
References GetNullStr(), and TStr().
Referenced by TNGraphMP::AddEdge(), TNodeNet< TNodeData >::AddEdge(), TUNGraph::AddEdge(), TNEANetMP::AddEdge(), TNGraph::AddEdge(), TNodeEDatNet< TNodeData, TEdgeData >::AddEdge(), TNEGraph::AddEdge(), TBPGraph::AddEdge(), TNodeEdgeNet< TNodeData, TEdgeData >::AddEdge(), TNEANet::AddEdge(), TUndirNet::AddEdge(), TDirNet::AddEdge(), TJsonVal::AddEscapeChAFromStr(), TGnuPlot::AddExpFit(), TNEANet::AddFltVAttrDatE(), TNEANet::AddFltVAttrDatN(), TGnuPlot::AddFunc(), TNEANet::AddIntVAttrDatE(), TNEANet::AddIntVAttrDatN(), TGnuPlot::AddLinFit(), TGnuPlot::AddLogFit(), TBigNet< TNodeData, IsDir >::AddNode(), TNGraphMP::AddNode(), TNodeNet< TNodeData >::AddNode(), TUNGraph::AddNode(), TNEANetMP::AddNode(), TNGraph::AddNode(), TNodeEDatNet< TNodeData, TEdgeData >::AddNode(), TNEGraph::AddNode(), TBPGraph::AddNode(), TNodeEdgeNet< TNodeData, TEdgeData >::AddNode(), TNEANet::AddNode(), TUndirNet::AddNode(), TDirNet::AddNode(), TGnuPlot::AddPwrFit1(), TGnuPlot::AddPwrFit2(), TGnuPlot::AddPwrFit3(), TBigNet< TNodeData, IsDir >::AddUndirNode(), TNEANet::AppendFltVAttrDatE(), TNEANet::AppendFltVAttrDatN(), TNEANet::AppendIntVAttrDatE(), TNEANet::AppendIntVAttrDatN(), TKroneckerLL::ChainGelmapRubinPlot(), TZipIn::CreateZipProcess(), TZipOut::CreateZipProcess(), TMMNet::DelCrossNet(), TNGraphMP::DelEdge(), TNodeNet< TNodeData >::DelEdge(), TUNGraph::DelEdge(), TNGraph::DelEdge(), TNodeEDatNet< TNodeData, TEdgeData >::DelEdge(), TBPGraph::DelEdge(), TUndirNet::DelEdge(), TDirNet::DelEdge(), TMMNet::DelModeNet(), TUNGraph::DelNode(), TBPGraph::DelNode(), TUndirNet::DelNode(), TLinAlg::DotProduct(), TGHash< TDat >::DrawGViz(), TLocClust::DrawWhiskers(), TCodaAnalyzer::Dump2ModeCommunities(), TCoda::DumpMemberships(), TCesnaUtil::DumpNIDAttrHToNIDK(), TSsParserMP::DumpStr(), TSsParser::DumpStr(), TUnicode::EncodeUtf8(), TZipIn::FillBf(), TAGMUtil::FindComsByAGM(), TFfGGen::GenFFGraphs(), TSnap::GenRndGnm(), TSnap::GenSmallWorld(), TJsonVal::GetChAFromVal(), TZipIn::GetCmd(), TZipOut::GetCmd(), TSecTm::GetDtMdyStr(), TSecTm::GetDtStr(), TSecTm::GetDtYmdStr(), TBPGraph::GetEI(), TZipIn::GetFLen(), TFlt::GetGigaStr(), TNum< int64 >::GetHexStr(), TUInt64::GetHexStr(), TBigNet< TNodeData, IsDir >::GetInNIdV(), TSsParserMP::GetInt(), TSsParser::GetInt(), TFlt::GetKiloStr(), TFlt::GetMegaStr(), TKronMtx::GetMtxFromNm(), TMAGAffMtx::GetMtxStr(), TKronMtx::GetMtxStr(), TMemIn::GetNextLnBf(), TStdIn::GetNextLnBf(), TChAIn::GetNextLnBf(), TFInOut::GetNextLnBf(), TMIn::GetNextLnBf(), TStrIn::GetNextLnBf(), TFfGGen::GetParamStr(), TSecTm::GetStr(), TTuple< TVal, NVals >::GetStr(), TNum< int64 >::GetStr(), TInt::GetStr(), TUInt64::GetStr(), TUInt::GetStrFromIpUInt(), TXmlParser::GetTag(), TXmlParser::GetTagVal(), TGnuPlot::GetTics42(), TSecTm::GetTmMinStr(), TSecTm::GetTmSec(), TSecTm::GetTmStr(), TUInt::GetUIntFromIpStr(), TFile::GetUniqueFNm(), TSecTm::GetYmdTmStr(), TSecTm::GetYmdTmStr2(), TKroneckerLL::GradDescentConvergence(), TAGMUtil::GVizComGraph(), TSnap::TSnapDetail::GVizDoLayout(), TGStatVec::ImposeDistr(), TLocClustStat::ImposeNCP(), TGraphAnf< PGraph >::InitAnfBits(), TBigNet< TNodeData, IsDir >::IsOk(), TNGraphMP::IsOk(), TNodeNet< TNodeData >::IsOk(), TUNGraph::IsOk(), TNEANetMP::IsOk(), TNGraph::IsOk(), TNodeEDatNet< TNodeData, TEdgeData >::IsOk(), TNEGraph::IsOk(), TBPGraph::IsOk(), TNodeEdgeNet< TNodeData, TEdgeData >::IsOk(), TNEANet::IsOk(), TUndirNet::IsOk(), TDirNet::IsOk(), TSparseSVD::Lanczos(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TSs::LoadTxt(), TAGMFast::MLENewton(), TLogNotify::OnStatus(), TGStat::TCmpByVal::operator()(), TStrPool::operator=(), TVecPool< TVal, TSizeTy >::operator=(), TGLib_OLD::TVecPool< TVal >::operator=(), TLocClustStat::ParamStr(), TGStat::Plot(), TGStatVec::Plot(), PlotAutoCorrelation(), TLocClustStat::PlotBestClustDens(), TLocClustStat::PlotBoltzmanCurve(), TTimeNet::PlotCCfOverTm(), TSnap::PlotClustCf(), TKronMtx::PlotCmpGraphs(), TLocClust::PlotCutDistr(), TTimeNet::PlotEffDiam(), TTimeNENet::PlotEffDiam(), TSnap::PlotEigValDistr(), TSnap::PlotEigValRank(), TForestFire::PlotFire(), TFfGGen::PlotFireSize(), PlotGrad(), TSnap::PlotHops(), TSnap::PlotInDegDistr(), TSnap::PlotInvParticipRat(), TSnap::PlotKCoreEdges(), TSnap::PlotKCoreNodes(), TTimeNet::PlotMedianDegOverTm(), TTimeNet::PlotMissingPast(), TLocClustStat::PlotNCP(), TLocClustStat::PlotNCPModul(), TLocClustStat::PlotNCPScatter(), TLocClustStat::PlotNcpTop10(), TSnap::PlotOutDegDistr(), TLocClust::PlotPhiDistr(), TLocClustStat::PlotPhiDistr(), TLocClustStat::PlotPhiInOut(), TSnap::PlotSccDistr(), TSnap::PlotShortPathDistr(), TSnap::PlotSngValDistr(), TSnap::PlotSngValRank(), TSnap::PlotSngVec(), TGnuPlot::PlotValV(), TLocClust::PlotVolDistr(), TSnap::PlotWccDistr(), TAGMFast::Prediction(), TCoda::Prediction(), TCesna::Prediction(), TEnv::PutVarVal(), TVec< TVal, TSizeTy >::Resize(), TBigStrPool::Resize(), TStrPool::Resize(), TStrPool64::Resize(), TVecPool< TVal, TSizeTy >::Resize(), TGLib_OLD::TVecPool< TVal >::Resize(), TGnuPlot::RunGnuPlot(), TAGMFit::RunMCMC(), TNetInfBs::SaveCascades(), TNIBs::SaveCascades(), TGnuPlot::SaveEps(), TNetInfBs::SaveGroundTruth(), TNIBs::SaveGroundTruth(), TNIBs::SaveGroundTruthPajek(), TNIBs::SaveInferred(), TNIBs::SaveInferredEdges(), TNIBs::SaveInferredPajek(), TLAMisc::SaveMatlabTFltIntKdV(), TSnap::SavePajek(), TLocClust::SavePajek(), TGnuPlot::SavePng(), TNIBs::SaveSites(), THist::SaveStat(), TMAGNodeSimple::SaveTxt(), TMAGNodeBern::SaveTxt(), TMAGNodeBeta::SaveTxt(), TGStatVec::SaveTxt(), TLocClustStat::SaveTxtInfo(), TNcpGraphsBase::SaveTxtNcpMin(), TNodeEDatNet< TNodeData, TEdgeData >::SetEDat(), TNodeEdgeNet< TNodeData, TEdgeData >::SetEDat(), TNodeNet< TNodeData >::SetNDat(), TNodeEDatNet< TNodeData, TEdgeData >::SetNDat(), TNodeEdgeNet< TNodeData, TEdgeData >::SetNDat(), TKroneckerLL::TestGradDescent(), TKroneckerLL::TestSamplePerm(), TFullColMatrix::TFullColMatrix(), TTimeNENet::TimeGrowth(), TNcpGraphsBase::TNcpGraphsBase(), TStrPool::TStrPool(), TVecPool< TVal, TSizeTy >::TVecPool(), TGLib_OLD::TVecPool< TVal >::TVecPool(), TZipIn::TZipIn(), TFPathNotify::UpdateSOut(), and TStrPool::~TStrPool().
TStr & TStr::FromHex | ( | ) |
|
inline |
|
inline |
Definition at line 486 of file dt.h.
References TRStr::GetCh().
Referenced by TSnap::CmtyEvolutionFileBatch(), TTable::DenormalizeColName(), TLxChDef::GetUcStr(), TUrlLxChDef::InclStr(), TLxChDef::IsNmStr(), IsWcMatch(), LastCh(), TTable::NormalizeColName(), and TTable::RenumberColName().
|
static |
Definition at line 1551 of file dt.cpp.
References TVec< TVal, TSizeTy >::Empty(), TVec< TVal, TSizeTy >::Gen(), and TStr().
Referenced by operator=(), and TStr().
|
inline |
Definition at line 688 of file dt.h.
Referenced by TMAGFitBern::SaveTxt().
|
static |
Definition at line 1564 of file dt.cpp.
References TVVec< TVal, TSizeTy >::At(), TVVec< TVal, TSizeTy >::Empty(), Fail, TVVec< TVal, TSizeTy >::Gen(), TCh::Mn, TStr(), and TCh::Vals.
TStr TStr::GetFBase | ( | ) | const |
Definition at line 1396 of file dt.cpp.
References CStr(), GetSubStr(), and Len().
Referenced by TEnv::PrepArgs(), PutFBaseIfEmpty(), and TFFile::TFFile().
TStr TStr::GetFExt | ( | ) | const |
Definition at line 1421 of file dt.cpp.
References CStr(), GetSubStr(), Len(), and TStr().
Referenced by AddToFMid(), TSnap::DrawGViz(), TZipIn::GetCmd(), TZipOut::GetCmd(), TGBlobBs::GetNrBlobBsFNm(), GetNrFNm(), GetNumFNm(), TAGMUtil::GVizComGraph(), TSnap::TSnapDetail::GVizDoLayout(), TZipIn::IsZipFNm(), TZipOut::IsZipFNm(), PutFExtIfEmpty(), TSsParser::TSsParser(), and TZipIn::TZipIn().
|
inline |
Definition at line 631 of file dt.h.
References IAssert, and IsFlt().
Referenced by TEnv::GetIfArgPrefixFlt(), TMAGNodeSimple::LoadTxt(), TMAGNodeBern::LoadTxt(), TMAGNodeBeta::LoadTxt(), and TFlt::TFlt().
|
inline |
TStr TStr::GetFMid | ( | ) | const |
Definition at line 1403 of file dt.cpp.
References CStr(), GetSubStr(), and Len().
Referenced by AddToFMid(), TGraphKey::DrawGViz(), TZipOut::GetCmd(), GetNrFNm(), TMBlobBs::GetNrFPathFMid(), GetNumFNm(), PutFExt(), PutFExtIfEmpty(), TGnuPlot::SaveEps(), TGnuPlot::SavePng(), and TNcpGraphsBase::TNcpGraphsBase().
Definition at line 1531 of file dt.cpp.
References TChA::Len(), and TChA::PutCh().
TStr TStr::GetFPath | ( | ) | const |
Definition at line 1389 of file dt.cpp.
References CStr(), GetSubStr(), and Len().
Referenced by AddToFMid(), TUnicodeDef::GetDfFNm(), TEnv::GetExeFPath(), GetNrFNm(), TMBlobBs::GetNrFPathFMid(), GetNumFNm(), PutFBase(), PutFBaseIfEmpty(), PutFExt(), PutFExtIfEmpty(), TGnuPlot::SaveEps(), TGnuPlot::SavePng(), and TFFile::TFFile().
|
inline |
|
inline |
Definition at line 515 of file dt.h.
References TStr().
Referenced by TXmlLx::GetSymStr().
|
inline |
Definition at line 614 of file dt.h.
References IAssert, and IsHexInt().
|
inline |
Definition at line 616 of file dt.h.
References IsHexInt().
|
inline |
Definition at line 622 of file dt.h.
References IAssert, and IsHexInt64().
Definition at line 624 of file dt.h.
References IsHexInt64().
|
inline |
Definition at line 581 of file dt.h.
References IAssertR, and IsInt().
Referenced by TSecTm::GetDtTmFromDmyStr(), TSecTm::GetDtTmFromHmsStr(), TSecTm::GetDtTmFromMdyHmsPmStr(), TSecTm::GetDtTmFromMdyStr(), TSecTm::GetDtTmFromYmdHmsStr(), TUrlLx::GetHostPort(), TEnv::GetIfArgPrefixInt(), TTm::GetTmFromWebLogDateTimeStr(), TTm::GetTmFromWebLogTimeStr(), TTimeNet::LoadAmazon(), TCesnaUtil::LoadNIDAttrHFromNIDKH(), TTimeNet::LoadPatents(), and THttpRq::ParseHttpRq().
|
inline |
|
inline |
|
inline |
Definition at line 502 of file dt.h.
References TStr().
Referenced by TUrl::DefFinalUrl(), TUrl::GetAbsFromBase(), TZipIn::GetCmd(), TZipOut::GetCmd(), TTmInfo::GetDayOfWeekN(), TTmInfo::GetMonthN(), TSs::GetSsFmtFromStr(), TXmlLx::GetSym(), TUrl::GetTopDownDocNm(), TUnicode::GetUtf8CaseFolded(), TUrl::IsAbs(), TUnicode::NormalizeCodecName(), ParseMotifType(), and MotifCluster::ParseMotifType().
|
inline |
Definition at line 475 of file dt.h.
References TRStr::GetMemUsed().
Definition at line 1471 of file dt.cpp.
References ChangeStrAll(), Empty(), TDir::GetCurDir(), GetNrFPath(), IAssert, and IsAbsFPath().
Definition at line 1455 of file dt.cpp.
References Empty(), and TStr().
Referenced by GetNrFNm(), and TFFile::TFFile().
Definition at line 1445 of file dt.cpp.
References TCh::IsAlNum(), and Len().
Referenced by TMBlobBs::GetNrFPathFMid().
Definition at line 1467 of file dt.cpp.
References GetFExt(), GetFMid(), GetFPath(), GetNrFExt(), and GetNrFPath().
Definition at line 1430 of file dt.cpp.
References ChangeCh(), and Len().
Referenced by TDir::GetCurDir(), TDir::GetExeDir(), GetNrAbsFPath(), GetNrFNm(), TMBlobBs::GetNrFPathFMid(), and TFFile::TFFile().
|
static |
Definition at line 1460 of file dt.cpp.
References TInt::GetStr(), Len(), and TStr().
Referenced by TMBlobBs::GetSegFNm().
|
static |
Definition at line 1626 of file dt.cpp.
Referenced by TNEANet::AddAttributes(), TCrossNet::AddEdge(), TNEANetMP::AddEdge(), TNEANet::AddEdge(), TNEANetMP::AddNode(), TNEANetMP::AddStrAttrDatE(), TNEANetMP::AddStrAttrDatN(), TCrossNet::DelEdge(), TNEANet::DelEdge(), TNEANet::DelNode(), Fmt(), TMMNet::GetCrossName(), TBigStrPool::GetCStr(), TStrPool::GetCStr(), TBigStrPool::GetCStrFromOffset(), TCrossNet::GetEdgeAttrValue(), TNEANetMP::GetEdgeAttrValue(), TNEANet::GetEdgeAttrValue(), TMMNet::GetModeName(), TNEANetMP::GetNodeAttrValue(), TNEANet::GetNodeAttrValue(), TBigStrPool::GetStr(), TStrPool::GetStr(), TNEANetMP::GetStrAttrDefaultE(), TCrossNet::GetStrAttrDefaultE(), TNEANet::GetStrAttrDefaultE(), TNEANetMP::GetStrAttrDefaultN(), TNEANet::GetStrAttrDefaultN(), TBigStrPool::GetStrFromOffset(), TChA::GetSubStr(), TTmInfo::GetTmUnitStr(), TSs::GetVal(), TSnap::TSnapDetail::GVizGetLayoutStr(), TTimeNet::PlotEffDiam(), TTimeNENet::PlotEffDiam(), and SplitOnStr().