|
SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Public Member Functions | |
| TInt () | |
| TInt (const int &_Val) | |
| operator int () const | |
| TInt (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 |
| TInt & | operator= (const TInt &Int) |
| TInt & | operator= (const int &Int) |
| bool | operator== (const TInt &Int) const |
| bool | operator== (const int &Int) const |
| bool | operator!= (const int &Int) const |
| bool | operator< (const TInt &Int) const |
| bool | operator< (const int &Int) const |
| int | operator() () const |
| TInt & | operator+= (const int &Int) |
| TInt & | operator-= (const int &Int) |
| TInt | operator++ (int) |
| TInt | operator-- (int) |
| int | GetMemUsed () const |
| int | GetPrimHashCd () const |
| int | GetSecHashCd () const |
| TStr | GetStr () const |
Static Public Member Functions | |
| static int | Abs (const int &Int) |
| static int | Sign (const int &Int) |
| static void | Swap (int &Int1, int &Int2) |
| static int | GetRnd (const int &Range=0) |
| static bool | IsOdd (const int &Int) |
| static bool | IsEven (const int &Int) |
| static int | GetMn (const int &Int1, const int &Int2) |
| static int | GetMx (const int &Int1, const int &Int2) |
| static int | GetMn (const int &Int1, const int &Int2, const int &Int3) |
| static int | GetMn (const int &Int1, const int &Int2, const int &Int3, const int &Int4) |
| static int | GetMx (const int &Int1, const int &Int2, const int &Int3) |
| static int | GetMx (const int &Int1, const int &Int2, const int &Int3, const int &Int4) |
| static int | GetInRng (const int &Val, const int &Mn, const int &Mx) |
| static TStr | GetStr (const int &Val) |
| static TStr | GetStr (const TInt &Int) |
| static TStr | GetStr (const int &Val, const char *FmtStr) |
| static TStr | GetStr (const int &Val, const TStr &FmtStr) |
| static TStr | GetHexStr (const int &Val) |
| static TStr | GetHexStr (const TInt &Int) |
| static TStr | GetKiloStr (const int &Val) |
| static TStr | GetMegaStr (const int &Val) |
| static char * | SaveFrugalInt (char *pDest, int i) |
| static char * | LoadFrugalInt (char *pSrc, int &i) |
| static void | TestFrugalInt () |
| static void | SaveFrugalIntV (TSOut &SOut, const TVec< TInt > &IntV) |
| static void | LoadFrugalIntV (TSIn &SIn, TVec< TInt > &IntV, bool ClrP=true) |
Public Attributes | |
| int | Val |
Static Public Attributes | |
| static const int | Mn = INT_MIN |
| static const int | Mx = INT_MAX |
| static const int | Kilo = 1024 |
| static const int | Mega = 1024*1024 |
| static const int | Giga = 1024*1024*1024 |
| static TRnd | Rnd |
| TInt::TInt | ( | ) | [inline] |
| TInt::TInt | ( | const int & | _Val | ) | [inline] |
| TInt::TInt | ( | TSIn & | SIn | ) | [inline, explicit] |
| static int TInt::Abs | ( | const int & | Int | ) | [inline, static] |
| static TStr TInt::GetHexStr | ( | const int & | Val | ) | [inline, static] |
| static TStr TInt::GetHexStr | ( | const TInt & | Int | ) | [inline, static] |
| static int TInt::GetInRng | ( | const int & | Val, |
| const int & | Mn, | ||
| const int & | Mx | ||
| ) | [inline, static] |
| static TStr TInt::GetKiloStr | ( | const int & | Val | ) | [inline, static] |
| static TStr TInt::GetMegaStr | ( | const int & | Val | ) | [inline, static] |
| int TInt::GetMemUsed | ( | ) | const [inline] |
| static int TInt::GetMn | ( | const int & | Int1, |
| const int & | Int2 | ||
| ) | [inline, static] |
| static int TInt::GetMn | ( | const int & | Int1, |
| const int & | Int2, | ||
| const int & | Int3 | ||
| ) | [inline, static] |
| static int TInt::GetMn | ( | const int & | Int1, |
| const int & | Int2, | ||
| const int & | Int3, | ||
| const int & | Int4 | ||
| ) | [inline, static] |
| static int TInt::GetMx | ( | const int & | Int1, |
| const int & | Int2 | ||
| ) | [inline, static] |
| static int TInt::GetMx | ( | const int & | Int1, |
| const int & | Int2, | ||
| const int & | Int3 | ||
| ) | [inline, static] |
| static int TInt::GetMx | ( | const int & | Int1, |
| const int & | Int2, | ||
| const int & | Int3, | ||
| const int & | Int4 | ||
| ) | [inline, static] |
| int TInt::GetPrimHashCd | ( | ) | const [inline] |
| static int TInt::GetRnd | ( | const int & | Range = 0 | ) | [inline, static] |
| int TInt::GetSecHashCd | ( | ) | const [inline] |
| TStr TInt::GetStr | ( | ) | const [inline] |
| static TStr TInt::GetStr | ( | const int & | Val | ) | [inline, static] |
| static TStr TInt::GetStr | ( | const TInt & | Int | ) | [inline, static] |
| TStr TInt::GetStr | ( | const int & | Val, |
| const char * | FmtStr | ||
| ) | [static] |
| static TStr TInt::GetStr | ( | const int & | Val, |
| const TStr & | FmtStr | ||
| ) | [inline, static] |
| static bool TInt::IsEven | ( | const int & | Int | ) | [inline, static] |
| static bool TInt::IsOdd | ( | const int & | Int | ) | [inline, static] |
| void TInt::Load | ( | TSIn & | SIn | ) | [inline] |
| char * TInt::LoadFrugalInt | ( | char * | pSrc, |
| int & | i | ||
| ) | [static] |
| void TInt::LoadFrugalIntV | ( | TSIn & | SIn, |
| TVec< TInt > & | IntV, | ||
| bool | ClrP = true |
||
| ) | [static] |
| void TInt::LoadXml | ( | const PXmlTok & | XmlTok, |
| const TStr & | Nm | ||
| ) |
| TInt::operator int | ( | ) | const [inline] |
| bool TInt::operator!= | ( | const int & | Int | ) | const [inline] |
| int TInt::operator() | ( | ) | const [inline] |
| TInt TInt::operator++ | ( | int | ) | [inline] |
| TInt& TInt::operator+= | ( | const int & | Int | ) | [inline] |
| TInt TInt::operator-- | ( | int | ) | [inline] |
| TInt& TInt::operator-= | ( | const int & | Int | ) | [inline] |
| bool TInt::operator< | ( | const TInt & | Int | ) | const [inline] |
| bool TInt::operator< | ( | const int & | Int | ) | const [inline] |
| TInt& TInt::operator= | ( | const int & | Int | ) | [inline] |
| bool TInt::operator== | ( | const TInt & | Int | ) | const [inline] |
| bool TInt::operator== | ( | const int & | Int | ) | const [inline] |
| void TInt::Save | ( | TSOut & | SOut | ) | const [inline] |
| char * TInt::SaveFrugalInt | ( | char * | pDest, |
| int | i | ||
| ) | [static] |
| void TInt::SaveFrugalIntV | ( | TSOut & | SOut, |
| const TVec< TInt > & | IntV | ||
| ) | [static] |
| void TInt::SaveXml | ( | TSOut & | SOut, |
| const TStr & | Nm | ||
| ) | const |
| static int TInt::Sign | ( | const int & | Int | ) | [inline, static] |
| static void TInt::Swap | ( | int & | Int1, |
| int & | Int2 | ||
| ) | [inline, static] |
| void TInt::TestFrugalInt | ( | ) | [static] |
const int TInt::Giga = 1024*1024*1024 [static] |
const int TInt::Kilo = 1024 [static] |
const int TInt::Mega = 1024*1024 [static] |
const int TInt::Mn = INT_MIN [static] |
const int TInt::Mx = INT_MAX [static] |
| int TInt::Val |