Thrill  0.1
StatsCounter< ValueType_, false > Class Template Reference

Detailed Description

template<typename ValueType_>
class thrill::common::StatsCounter< ValueType_, false >

Definition at line 96 of file stats_counter.hpp.

#include <stats_counter.hpp>

Public Types

using ValueType = ValueType_
 The counter's value type. More...
 

Public Member Functions

 StatsCounter (const ValueType &=ValueType())
 
 operator ValueType () const
 
StatsCounteroperator++ ()
 
StatsCounteroperator++ (int)
 
StatsCounteroperator+= (const ValueType &)
 
bool Real () const
 Whether the counter is active. More...
 
void set_max (const ValueType &)
 
ValueType value () const
 

Member Typedef Documentation

◆ ValueType

using ValueType = ValueType_

The counter's value type.

Definition at line 100 of file stats_counter.hpp.

Constructor & Destructor Documentation

◆ StatsCounter()

StatsCounter ( const ValueType = ValueType())
inline

Definition at line 103 of file stats_counter.hpp.

Member Function Documentation

◆ operator ValueType()

operator ValueType ( ) const
inline

Definition at line 121 of file stats_counter.hpp.

◆ operator++() [1/2]

StatsCounter& operator++ ( )
inline

Definition at line 112 of file stats_counter.hpp.

◆ operator++() [2/2]

StatsCounter& operator++ ( int  )
inline

Definition at line 115 of file stats_counter.hpp.

◆ operator+=()

StatsCounter& operator+= ( const ValueType )
inline

Definition at line 109 of file stats_counter.hpp.

◆ Real()

bool Real ( ) const
inline

Whether the counter is active.

Definition at line 107 of file stats_counter.hpp.

◆ set_max()

void set_max ( const ValueType )
inline

Definition at line 118 of file stats_counter.hpp.

◆ value()

ValueType value ( ) const
inline

Definition at line 126 of file stats_counter.hpp.


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