| 
    SNAP Library 2.0, Developer Reference
    2013-05-13 16:33:57
    
   SNAP, a general purpose, high performance system for analysis and manipulation of large networks 
   | 
  
  
  
 
#include <dt.h>

Public Member Functions | |
| TUInt64 () | |
| TUInt64 (const TUInt64 &Int) | |
| TUInt64 (const uint64 &Int) | |
| TUInt64 (const uint &MsVal, const uint &LsVal) | |
| TUInt64 (void *Pt) | |
| operator uint64 () const | |
| TUInt64 (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 | 
| TUInt64 & | operator= (const TUInt64 &Int) | 
| TUInt64 & | operator+= (const TUInt64 &Int) | 
| TUInt64 & | operator-= (const TUInt64 &Int) | 
| TUInt64 | operator++ (int) | 
| TUInt64 | operator-- (int) | 
| int | GetMemUsed () const | 
| int | GetPrimHashCd () const | 
| int | GetSecHashCd () const | 
| uint | GetMsVal () const | 
| uint | GetLsVal () const | 
| TStr | GetStr () const | 
Static Public Member Functions | |
| static TStr | GetStr (const TUInt64 &Int) | 
| static TStr | GetHexStr (const TUInt64 &Int) | 
| static TStr | GetKiloStr (const uint64 &Val) | 
| static TStr | GetMegaStr (const uint64 &Val) | 
Public Attributes | |
| uint64 | Val | 
Static Public Attributes | |
| static const TUInt64 | Mn | 
| static const TUInt64 | Mx | 
| TUInt64::TUInt64 | ( | ) |  [inline] | 
        
Definition at line 1229 of file dt.h.
Referenced by GetMemUsed().
: Val(0){}

| TUInt64::TUInt64 | ( | const TUInt64 & | Int | ) |  [inline] | 
        
| TUInt64::TUInt64 | ( | const uint64 & | Int | ) |  [inline] | 
        
| TUInt64::TUInt64 | ( | const uint & | MsVal, | 
| const uint & | LsVal | ||
| ) |  [inline] | 
        
| TUInt64::TUInt64 | ( | void * | Pt | ) |  [inline, explicit] | 
        
Definition at line 1234 of file dt.h.
References TConv_Pt64Ints32::GetUInt64(), and Val.
: Val(0){ TConv_Pt64Ints32 Conv(Pt); Val=Conv.GetUInt64();}

| TUInt64::TUInt64 | ( | TSIn & | SIn | ) |  [inline, explicit] | 
        
| static TStr TUInt64::GetHexStr | ( | const TUInt64 & | Int | ) |  [inline, static] | 
        
| static TStr TUInt64::GetKiloStr | ( | const uint64 & | Val | ) |  [inline, static] | 
        
Definition at line 1271 of file dt.h.
References GetStr().
Referenced by GetMegaStr().
                                           {
    if (Val>100*1000){return GetStr(Val/1000)+"K";}
    else if (Val>1000){return GetStr(Val/1000)+"."+GetStr((Val%1000)/100)+"K";}
    else {return GetStr(Val);}}


| uint TUInt64::GetLsVal | ( | ) |  const [inline] | 
        
Definition at line 1255 of file dt.h.
References Val.
Referenced by GetPrimHashCd(), and GetSecHashCd().

| static TStr TUInt64::GetMegaStr | ( | const uint64 & | Val | ) |  [inline, static] | 
        
| int TUInt64::GetMemUsed | ( | ) |  const [inline] | 
        
| uint TUInt64::GetMsVal | ( | ) |  const [inline] | 
        
Definition at line 1253 of file dt.h.
References Val.
Referenced by GetPrimHashCd(), and GetSecHashCd().

| int TUInt64::GetPrimHashCd | ( | ) |  const [inline] | 
        
Definition at line 1250 of file dt.h.
References GetLsVal(), and GetMsVal().

| int TUInt64::GetSecHashCd | ( | ) |  const [inline] | 
        
Definition at line 1251 of file dt.h.
References GetLsVal(), and GetMsVal().

| TStr TUInt64::GetStr | ( | ) |  const [inline] | 
        
Definition at line 1266 of file dt.h.
References TStr::Fmt(), and Val.
Referenced by TXmlTok::AddArg(), TAGMFit::CalcPNoComByCmtyVV(), GetKiloStr(), GetMegaStr(), TGraphAnf< PGraph >::InitAnfBits(), TSnap::PrintInfo(), and SaveXml().


| static TStr TUInt64::GetStr | ( | const TUInt64 & | Int | ) |  [inline, static] | 
        
| void TUInt64::Load | ( | TSIn & | SIn | ) |  [inline] | 
        
| void TUInt64::LoadXml | ( | const PXmlTok & | XmlTok, | 
| const TStr & | Nm | ||
| ) | 
Definition at line 2151 of file dt.cpp.
References TXmlObjSer::GetInt64Arg(), Val, and XLoadHd.
                                                          {
  XLoadHd(Nm);
  Val=TXmlObjSer::GetInt64Arg(XmlTok, "Val");
}

| TUInt64::operator uint64 | ( | ) |  const [inline] | 
        
| TUInt64 TUInt64::operator++ | ( | int | ) |  [inline] | 
        
| TUInt64 TUInt64::operator-- | ( | int | ) |  [inline] | 
        
| void TUInt64::Save | ( | TSOut & | SOut | ) |  const [inline] | 
        
| void TUInt64::SaveXml | ( | TSOut & | SOut, | 
| const TStr & | Nm | ||
| ) | const | 
Definition at line 2156 of file dt.cpp.
References GetStr(), Val, and XSaveBETagArg.
                                                       {
  XSaveBETagArg(Nm, "Val", TUInt64::GetStr(Val));
}

const TUInt64 TUInt64::Mn [static] | 
        
const TUInt64 TUInt64::Mx [static] | 
        
Definition at line 1224 of file dt.h.
Referenced by GetHexStr(), GetLsVal(), GetMsVal(), GetStr(), Load(), LoadXml(), operator uint64(), operator++(), operator+=(), operator--(), operator-=(), operator=(), Save(), SaveXml(), and TUInt64().