SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TUInt Class Reference

List of all members.

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 TInt &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)

Public Attributes

uint Val

Static Public Attributes

static const uint Mn = 0
static const uint Mx = UINT_MAX
static TRnd Rnd

Constructor & Destructor Documentation

TUInt::TUInt ( ) [inline]
TUInt::TUInt ( const uint &  _Val) [inline]
TUInt::TUInt ( TSIn &  SIn) [inline, explicit]

Member Function Documentation

static TStr TUInt::GetKiloStr ( const uint &  Val) [inline, static]
static TStr TUInt::GetMegaStr ( const uint &  Val) [inline, static]
int TUInt::GetMemUsed ( ) const [inline]
int TUInt::GetPrimHashCd ( ) const [inline]
static uint TUInt::GetRnd ( const uint &  Range = 0) [inline, static]
int TUInt::GetSecHashCd ( ) const [inline]
TStr TUInt::GetStr ( ) const [inline]
static TStr TUInt::GetStr ( const uint &  Val) [inline, static]
static TStr TUInt::GetStr ( const TInt &  UInt) [inline, static]
TStr TUInt::GetStr ( const uint &  Val,
const char *  FmtStr 
) [static]
static TStr TUInt::GetStr ( const uint &  Val,
const TStr &  FmtStr 
) [inline, static]
TStr TUInt::GetStrFromIpUInt ( const uint &  Ip) [static]
uint TUInt::GetUIntFromIpStr ( const TStr &  IpStr,
const char &  SplitCh = '.' 
) [static]
bool TUInt::IsIpStr ( const TStr &  IpStr,
uint &  Ip,
const char &  SplitCh = '.' 
) [static]
static bool TUInt::IsIpStr ( const TStr &  IpStr,
const char &  SplitCh = '.' 
) [inline, static]
static uint TUInt::JavaUIntToCppUInt ( const uint &  JavaUInt) [inline, static]
void TUInt::Load ( TSIn &  SIn) [inline]
void TUInt::LoadXml ( const PXmlTok &  XmlTok,
const TStr &  Nm 
)
TUInt::operator uint ( ) const [inline]
TUInt& TUInt::operator&= ( const TUInt &  UInt) [inline]
uint TUInt::operator() ( ) const [inline]
uint& TUInt::operator() ( ) [inline]
TUInt TUInt::operator++ ( int  ) [inline]
TUInt TUInt::operator-- ( int  ) [inline]
TUInt& TUInt::operator<<= ( const int &  ShiftBits) [inline]
TUInt& TUInt::operator= ( const TUInt &  UInt) [inline]
TUInt& TUInt::operator= ( const uint &  _Val) [inline]
TUInt& TUInt::operator>>= ( const int &  ShiftBits) [inline]
TUInt& TUInt::operator^= ( const TUInt &  UInt) [inline]
TUInt& TUInt::operator|= ( const TUInt &  UInt) [inline]
TUInt& TUInt::operator~ ( ) [inline]
void TUInt::Save ( TSOut &  SOut) const [inline]
void TUInt::SaveXml ( TSOut &  SOut,
const TStr &  Nm 
) const

Member Data Documentation

const uint TUInt::Mn = 0 [static]
const uint TUInt::Mx = UINT_MAX [static]
TRnd TUInt::Rnd [static]

The documentation for this class was generated from the following files: