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 | |
TUInt () | |
TUInt (const uint &_Val) | |
operator uint () const | |
TUInt (TSIn &SIn) | |
void | Load (TSIn &SIn) |
void | Save (TSOut &SOut) const |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm) |
void | SaveXml (TSOut &SOut, const TStr &Nm) const |
TUInt & | operator= (const TUInt &UInt) |
TUInt & | operator= (const uint &_Val) |
TUInt | operator++ (int) |
TUInt | operator-- (int) |
uint | operator() () const |
uint & | operator() () |
TUInt & | operator~ () |
TUInt & | operator&= (const TUInt &UInt) |
TUInt & | operator|= (const TUInt &UInt) |
TUInt & | operator^= (const TUInt &UInt) |
TUInt & | operator>>= (const int &ShiftBits) |
TUInt & | operator<<= (const int &ShiftBits) |
int | GetMemUsed () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
TStr | GetStr () const |
Static Public Member Functions | |
static uint | GetRnd (const uint &Range=0) |
static TStr | GetStr (const uint &Val) |
static TStr | GetStr (const TUInt &UInt) |
static TStr | GetStr (const uint &Val, const char *FmtStr) |
static TStr | GetStr (const uint &Val, const TStr &FmtStr) |
static TStr | GetKiloStr (const uint &Val) |
static TStr | GetMegaStr (const uint &Val) |
static uint | JavaUIntToCppUInt (const uint &JavaUInt) |
static bool | IsIpStr (const TStr &IpStr, uint &Ip, const char &SplitCh= '.') |
static bool | IsIpStr (const TStr &IpStr, const char &SplitCh= '.') |
static uint | GetUIntFromIpStr (const TStr &IpStr, const char &SplitCh= '.') |
static TStr | GetStrFromIpUInt (const uint &Ip) |
static bool | IsIpv6Str (const TStr &IpStr, const char &SplitCh= ':') |
Public Attributes | |
uint | Val |
Static Public Attributes | |
static const uint | Mn =0 |
static const uint | Mx =UINT_MAX |
static TRnd | Rnd |
|
inline |
Definition at line 1250 of file dt.h.
Referenced by GetMemUsed().
|
inlineexplicit |
Definition at line 1253 of file dt.h.
References TSIn::Load().
Definition at line 1291 of file dt.h.
References GetStr().
Referenced by GetMegaStr().
Definition at line 1295 of file dt.h.
References GetKiloStr(), and GetStr().
|
inline |
Definition at line 1275 of file dt.h.
References TUInt().
Referenced by TSecTm::GetMemUsed().
|
inline |
Definition at line 1277 of file dt.h.
Referenced by TSecTm::GetPrimHashCd().
Definition at line 1280 of file dt.h.
References TRnd::GetUniDevUInt().
|
inline |
Definition at line 1278 of file dt.h.
Referenced by TSecTm::GetSecHashCd().
|
inline |
Definition at line 1282 of file dt.h.
Referenced by TUniCodec::EncodeUtf16ToBytes(), TUniCodec::EncodeUtf16ToWords(), TBlobPt::GetAddrStr(), GetKiloStr(), GetMegaStr(), TBlobPt::GetStr(), GetStr(), TXmlLx::GetSym(), TXmlDoc::GetXmlStr(), TXmlLx::GetXmlStrFromPlainMem(), TXmlLx::GetXmlStrFromPlainStr(), and TSOut::PutUInt().
Definition at line 1288 of file dt.h.
References TStr::CStr(), and GetStr().
Definition at line 2117 of file dt.cpp.
References TStr::Fmt().
Definition at line 2107 of file dt.cpp.
References TStr::CStr(), EAssertR, TStr::Fmt(), and TStr::SplitOnAllCh().
Definition at line 2096 of file dt.cpp.
References TVec< TVal, TSizeTy >::Len(), and TStr::SplitOnAllCh().
|
inlinestatic |
Definition at line 1310 of file dt.h.
References IsIpStr().
Referenced by IsIpStr().
|
static |
Definition at line 2122 of file dt.cpp.
References TVec< TVal, TSizeTy >::Len(), and TStr::SplitOnAllCh().
|
inline |
Definition at line 1254 of file dt.h.
References TSIn::Load().
Referenced by TSecTm::Load().
Definition at line 2077 of file dt.cpp.
References TXmlObjSer::GetIntArg(), Val, and XLoadHd.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1255 of file dt.h.
References TSOut::Save().
Referenced by TSecTm::Save().
Definition at line 2082 of file dt.cpp.
References TInt::GetStr(), Val, and XSaveBETagArg.
|
static |
Definition at line 1246 of file dt.h.
Referenced by TUniCodec::GetRndUint().
|
static |
Definition at line 1247 of file dt.h.
Referenced by TBlobPt::Clr(), TBlobPt::Empty(), TSecTm::GetCurTm(), TSecTm::GetInUnits(), TUniCodec::GetRndUint(), TSecTm::GetTmSec(), TSecTm::IsDef(), TUniCodec::TestUtf16(), TUniCodec::TestUtf8(), and TSecTm::Undef().
uint TUInt::Val |
Definition at line 1244 of file dt.h.
Referenced by TSecTm::AddDays(), TSecTm::AddHours(), TSecTm::AddMins(), TSecTm::AddSecs(), TSecTm::AddWeeks(), GetStr(), LoadXml(), TSecTm::operator uint(), operator uint(), operator&=(), operator()(), operator=(), operator^=(), operator|=(), SaveXml(), TSecTm::SubDays(), TSecTm::SubHours(), TSecTm::SubMins(), TSecTm::SubSecs(), TSecTm::SubWeeks(), and TSecTm::TSecTm().