SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
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 1157 of file dt.h.
Referenced by GetMemUsed().
|
inlineexplicit |
Definition at line 1160 of file dt.h.
References TSIn::Load(), and Val.
Definition at line 1198 of file dt.h.
References GetStr().
Referenced by GetMegaStr().
Definition at line 1202 of file dt.h.
References GetKiloStr(), and GetStr().
|
inline |
Definition at line 1182 of file dt.h.
References TUInt().
Referenced by TSecTm::GetMemUsed().
|
inline |
Definition at line 1184 of file dt.h.
References Val.
Referenced by TSecTm::GetPrimHashCd().
Definition at line 1187 of file dt.h.
References TRnd::GetUniDevUInt(), and Rnd.
|
inline |
Definition at line 1185 of file dt.h.
References Val.
Referenced by TSecTm::GetSecHashCd().
|
inline |
Definition at line 1189 of file dt.h.
References Val.
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 1195 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 1217 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 1161 of file dt.h.
References TSIn::Load(), and Val.
Referenced by TSecTm::Load().
Definition at line 2077 of file dt.cpp.
References TXmlObjSer::GetIntArg(), Val, and XLoadHd.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1162 of file dt.h.
References TSOut::Save(), and Val.
Referenced by TSecTm::Save().
Definition at line 2082 of file dt.cpp.
References TInt::GetStr(), Val, and XSaveBETagArg.
|
static |
Definition at line 1153 of file dt.h.
Referenced by TUniCodec::GetRndUint().
|
static |
Definition at line 1154 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 1151 of file dt.h.
Referenced by TSecTm::AddDays(), TSecTm::AddHours(), TSecTm::AddMins(), TSecTm::AddSecs(), TSecTm::AddWeeks(), GetPrimHashCd(), GetSecHashCd(), GetStr(), Load(), LoadXml(), TSecTm::operator uint(), operator uint(), operator&=(), operator()(), operator++(), operator--(), operator<<=(), operator=(), operator>>=(), operator^=(), operator|=(), operator~(), Save(), SaveXml(), TSecTm::SubDays(), TSecTm::SubHours(), TSecTm::SubMins(), TSecTm::SubSecs(), TSecTm::SubWeeks(), TSecTm::TSecTm(), and TUInt().