SNAP Library 3.0, User Reference  2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 1395 of file dt.h.

Constructor & Destructor Documentation

TAscFlt::TAscFlt ( )
inline

Definition at line 1397 of file dt.h.

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

Definition at line 1398 of file dt.h.

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

Definition at line 1399 of file dt.h.

1399 : TFlt(SIn, true){}
TFlt()
Definition: dt.h:1305

Member Function Documentation

void TAscFlt::Save ( TSOut SOut) const
inline

Definition at line 1400 of file dt.h.

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

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