SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <dt.h>
Public Member Functions | |
TSFlt () | |
TSFlt (const sdouble &_Val) | |
operator sdouble () const | |
TSFlt (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm) |
void | SaveXml (TSOut &SOut, const TStr &Nm) const |
TSFlt & | operator= (const TSFlt &SFlt) |
bool | operator== (const TSFlt &SFlt) const _CMPWARN |
bool | operator== (const double &Flt) const _CMPWARN |
bool | operator!= (const double &Flt) const _CMPWARN |
bool | operator< (const TSFlt &SFlt) const |
sdouble | operator() () const |
TSFlt & | operator+= (const double &SFlt) |
TSFlt & | operator-= (const double &SFlt) |
TSFlt & | operator*= (const double &SFlt) |
TSFlt & | operator/= (const double &SFlt) |
TSFlt | operator++ (int) |
TSFlt | operator-- (int) |
int | GetMemUsed () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
Public Attributes | |
sdouble | Val |
Static Public Attributes | |
static const sdouble | Mn = -FLT_MIN |
static const sdouble | Mx = +FLT_MAX |
TSFlt::TSFlt | ( | ) | [inline] |
Definition at line 1408 of file dt.h.
Referenced by GetMemUsed().
: Val(0){}
TSFlt::TSFlt | ( | const sdouble & | _Val | ) | [inline] |
TSFlt::TSFlt | ( | TSIn & | SIn | ) | [inline, explicit] |
int TSFlt::GetMemUsed | ( | ) | const [inline] |
int TSFlt::GetPrimHashCd | ( | ) | const [inline] |
int TSFlt::GetSecHashCd | ( | ) | const [inline] |
void TSFlt::LoadXml | ( | const PXmlTok & | XmlTok, |
const TStr & | Nm | ||
) |
Definition at line 2258 of file dt.cpp.
References TXmlObjSer::GetFltArg(), Val, and XLoadHd.
{ XLoadHd(Nm); Val=sdouble(TXmlObjSer::GetFltArg(XmlTok, "Val")); }
TSFlt::operator sdouble | ( | ) | const [inline] |
bool TSFlt::operator!= | ( | const double & | Flt | ) | const [inline] |
sdouble TSFlt::operator() | ( | ) | const [inline] |
TSFlt& TSFlt::operator*= | ( | const double & | SFlt | ) | [inline] |
TSFlt TSFlt::operator++ | ( | int | ) | [inline] |
TSFlt& TSFlt::operator+= | ( | const double & | SFlt | ) | [inline] |
TSFlt TSFlt::operator-- | ( | int | ) | [inline] |
TSFlt& TSFlt::operator-= | ( | const double & | SFlt | ) | [inline] |
TSFlt& TSFlt::operator/= | ( | const double & | SFlt | ) | [inline] |
bool TSFlt::operator< | ( | const TSFlt & | SFlt | ) | const [inline] |
bool TSFlt::operator== | ( | const TSFlt & | SFlt | ) | const [inline] |
bool TSFlt::operator== | ( | const double & | Flt | ) | const [inline] |
void TSFlt::Save | ( | TSOut & | SOut | ) | const [inline] |
void TSFlt::SaveXml | ( | TSOut & | SOut, |
const TStr & | Nm | ||
) | const |
Definition at line 2263 of file dt.cpp.
References TFlt::GetStr(), Val, and XSaveBETagArg.
{ XSaveBETagArg(Nm, "Val", TFlt::GetStr(Val)); }
Definition at line 1403 of file dt.h.
Referenced by GetPrimHashCd(), GetSecHashCd(), LoadXml(), operator sdouble(), operator!=(), operator()(), operator*=(), operator++(), operator+=(), operator--(), operator-=(), operator/=(), operator<(), operator=(), operator==(), Save(), SaveXml(), and TSFlt().