SNAP Library 3.0, User 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 | |
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 | GetStr (const uint &Val) |
static TStr | GetStr (const int64 &Val) |
static TStr | GetStr (const uint64 &Val) |
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, int > &IntV) |
static void | LoadFrugalIntV (TSIn &SIn, TVec< TInt, int > &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 |
|
inline |
|
inline |
|
inlineexplicit |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inline |
Definition at line 1923 of file dt.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |