SNAP Library 6.0, User Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
TAscFlt Class Reference

#include <dt.h>

Inherits TFlt.

Public Member Functions

 TAscFlt ()
 
 TAscFlt (const double &Val)
 
 TAscFlt (TSIn &SIn)
 
void Save (TSOut &SOut) const
 
- Public Member Functions inherited from TFlt
 TFlt ()
 
 TFlt (const double &_Val)
 
 operator double () const
 
 TFlt (TSIn &SIn)
 
void Save (TSOut &SOut) const
 
 TFlt (TSIn &SIn, const bool &IsTxt)
 
void Load (TSIn &SIn)
 
void Save (TSOut &SOut, const bool &IsTxt) const
 
void LoadXml (const PXmlTok &XmlTok, const TStr &Nm)
 
void SaveXml (TSOut &SOut, const TStr &Nm) const
 
TFltoperator= (const TFlt &Flt)
 
TFltoperator= (const double &Flt)
 
bool operator== (const TFlt &Flt) const _CMPWARN
 
bool operator== (const double &Flt) const _CMPWARN
 
bool operator!= (const double &Flt) const _CMPWARN
 
double operator() () const
 
TFltoperator+= (const double &Flt)
 
TFltoperator-= (const double &Flt)
 
TFltoperator*= (const double &Flt)
 
TFltoperator/= (const double &Flt)
 
TFlt operator++ (int)
 
TFlt operator-- (int)
 
int GetMemUsed () const
 
int GetPrimHashCd () const
 
int GetSecHashCd () const
 
bool IsNum () const
 
bool IsNan () const
 
TStr GetStr () const
 

Additional Inherited Members

- Static Public Member Functions inherited from TFlt
static double Abs (const double &Flt)
 
static int Sign (const double &Flt)
 
static int Round (const double &Flt)
 
static double GetRnd ()
 
static bool Eq6 (const double &LFlt, const double &RFlt)
 
static double GetMn (const double &Flt1, const double &Flt2)
 
static double GetMn (const double &Flt1, const double &Flt2, const double &Flt3)
 
static double GetMn (const double &Flt1, const double &Flt2, const double &Flt3, const double &Flt4)
 
static double GetMx (const double &Flt1, const double &Flt2)
 
static double GetMx (const double &Flt1, const double &Flt2, const double Flt3)
 
static double GetMx (const double &Flt1, const double &Flt2, const double Flt3, const double &Flt4)
 
static double GetInRng (const double &Val, const double &Mn, const double &Mx)
 
static bool IsNum (const double &Val)
 
static bool IsNan (const double &Val)
 
static TStr GetStr (const double &Val, const int &Width=-1, const int &Prec=-1)
 
static TStr GetStr (const TFlt &Flt, const int &Width=-1, const int &Prec=-1)
 
static TStr GetStr (const double &Val, const char *FmtStr)
 
static TStr GetStr (const double &Val, const TStr &FmtStr)
 
static TStr GetPrcStr (const double &RelVal, const double &FullVal)
 
static TStr GetKiloStr (const double &Val)
 
static TStr GetMegaStr (const double &Val)
 
static TStr GetGigaStr (const double &Val)
 
- Public Attributes inherited from TFlt
double Val
 
- Static Public Attributes inherited from TFlt
static const double Mn =-DBL_MAX
 
static const double Mx =+DBL_MAX
 
static const double NInf =-DBL_MAX
 
static const double PInf =+DBL_MAX
 
static const double Eps =1e-16
 
static const double EpsHalf =1e-7
 
static TRnd Rnd
 

Detailed Description

Definition at line 1488 of file dt.h.

Constructor & Destructor Documentation

TAscFlt::TAscFlt ( )
inline

Definition at line 1490 of file dt.h.

1490 : TFlt(){}
TFlt()
Definition: dt.h:1398
TAscFlt::TAscFlt ( const double &  Val)
inline

Definition at line 1491 of file dt.h.

1491 : TFlt(Val){}
double Val
Definition: dt.h:1388
TFlt()
Definition: dt.h:1398
TAscFlt::TAscFlt ( TSIn SIn)
inlineexplicit

Definition at line 1492 of file dt.h.

1492 : TFlt(SIn, true){}
TFlt()
Definition: dt.h:1398

Member Function Documentation

void TAscFlt::Save ( TSOut SOut) const
inline

Definition at line 1493 of file dt.h.

1493 {TFlt::Save(SOut, true);}
void Save(TSOut &SOut) const
Definition: dt.h:1402

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