SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <dt.h>
Public Member Functions | |
TLFlt () | |
TLFlt (const ldouble &_Val) | |
operator ldouble () const | |
TLFlt (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm) |
void | SaveXml (TSOut &SOut, const TStr &Nm) const |
TLFlt & | operator= (const TLFlt &LFlt) |
bool | operator== (const TLFlt &LFlt) const _CMPWARN |
bool | operator== (const ldouble &LFlt) const _CMPWARN |
bool | operator!= (const ldouble &LFlt) const _CMPWARN |
bool | operator< (const TLFlt &LFlt) const |
ldouble | operator() () const |
TLFlt & | operator+= (const ldouble &LFlt) |
TLFlt & | operator-= (const ldouble &LFlt) |
int | GetMemUsed () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
Static Public Member Functions | |
static TStr | GetStr (const ldouble &Val, const int &Width=-1, const int &Prec=-1) |
static TStr | GetStr (const TLFlt &LFlt, const int &Width=-1, const int &Prec=-1) |
static TStr | GetStr (const ldouble &Val, const char *FmtStr) |
static TStr | GetStr (const ldouble &Val, const TStr &FmtStr) |
Public Attributes | |
ldouble | Val |
Static Public Attributes | |
static const ldouble | Mn = -LDBL_MAX |
static const ldouble | Mx = +LDBL_MAX |
TLFlt::TLFlt | ( | ) | [inline] |
Definition at line 1424 of file dt.h.
Referenced by GetMemUsed().
: Val(0){}
TLFlt::TLFlt | ( | const ldouble & | _Val | ) | [inline] |
TLFlt::TLFlt | ( | TSIn & | SIn | ) | [inline, explicit] |
int TLFlt::GetMemUsed | ( | ) | const [inline] |
int TLFlt::GetPrimHashCd | ( | ) | const [inline] |
int TLFlt::GetSecHashCd | ( | ) | const [inline] |
TStr TLFlt::GetStr | ( | const ldouble & | Val, |
const int & | Width = -1 , |
||
const int & | Prec = -1 |
||
) | [static] |
static TStr TLFlt::GetStr | ( | const TLFlt & | LFlt, |
const int & | Width = -1 , |
||
const int & | Prec = -1 |
||
) | [inline, static] |
TStr TLFlt::GetStr | ( | const ldouble & | Val, |
const char * | FmtStr | ||
) | [static] |
static TStr TLFlt::GetStr | ( | const ldouble & | Val, |
const TStr & | FmtStr | ||
) | [inline, static] |
void TLFlt::LoadXml | ( | const PXmlTok & | XmlTok, |
const TStr & | Nm | ||
) |
Definition at line 2228 of file dt.cpp.
References TXmlObjSer::GetFltArg(), Val, and XLoadHd.
{ XLoadHd(Nm); Val=TXmlObjSer::GetFltArg(XmlTok, "Val"); }
TLFlt::operator ldouble | ( | ) | const [inline] |
bool TLFlt::operator!= | ( | const ldouble & | LFlt | ) | const [inline] |
ldouble TLFlt::operator() | ( | ) | const [inline] |
bool TLFlt::operator< | ( | const TLFlt & | LFlt | ) | const [inline] |
bool TLFlt::operator== | ( | const TLFlt & | LFlt | ) | const [inline] |
bool TLFlt::operator== | ( | const ldouble & | LFlt | ) | const [inline] |
void TLFlt::Save | ( | TSOut & | SOut | ) | const [inline] |
void TLFlt::SaveXml | ( | TSOut & | SOut, |
const TStr & | Nm | ||
) | const |
Definition at line 2233 of file dt.cpp.
References TFlt::GetStr(), Val, and XSaveBETagArg.
{ XSaveBETagArg(Nm, "Val", TFlt::GetStr(double(Val))); }
Definition at line 1419 of file dt.h.
Referenced by GetStr(), LoadXml(), operator ldouble(), operator!=(), operator()(), operator+=(), operator-=(), operator<(), operator=(), operator==(), Save(), SaveXml(), and TLFlt().