Fork me on GitHub
Library for MQL5 (MetaTrader) with support for Spark
CStatistic Class Reference

Detailed Description

Counting data and printing out the accumulated information.

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

Public Member Functions

 CStatistic ()
 ~CStatistic ()
int index (const ulong hash)
int plus (const ulong hash, const string describe="none", const int number=1)
int plus (CStatisticObject *value, const int number=1)
void print (const int file=INVALID_HANDLE)

Public Attributes

CArrayListClass< CStatisticObjectobject
string name

Constructor & Destructor Documentation

◆ CStatistic()

CStatistic::CStatistic ( )

◆ ~CStatistic()

CStatistic::~CStatistic ( )

Member Function Documentation

◆ index()

int CStatistic::index ( const ulong  hash)

◆ plus() [1/2]

int CStatistic::plus ( const ulong  hash,
const string  describe = "none",
const int  number = 1 

◆ plus() [2/2]

int CStatistic::plus ( CStatisticObject value,
const int  number = 1 

◆ print()

void CStatistic::print ( const int  file = INVALID_HANDLE)

Member Data Documentation

◆ name

string CStatistic::name

◆ object

CArrayListClass<CStatisticObject> CStatistic::object