Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

using ValueType = ValueType_

The counter's value type.

Definition at line 100 of file stats_counter.hpp.

Constructor & Destructor Documentation

StatsCounter ( const ValueType = ValueType())
inline

Definition at line 103 of file stats_counter.hpp.

Member Function Documentation

operator ValueType ( ) const
inline

Definition at line 121 of file stats_counter.hpp.

StatsCounter& operator++ ( )
inline

Definition at line 112 of file stats_counter.hpp.

StatsCounter& operator++ ( int  )
inline

Definition at line 115 of file stats_counter.hpp.

StatsCounter& operator+= ( const ValueType )
inline

Definition at line 109 of file stats_counter.hpp.

bool Real ( ) const
inline

Whether the counter is active.

Definition at line 107 of file stats_counter.hpp.

void set_max ( const ValueType )
inline

Definition at line 118 of file stats_counter.hpp.

ValueType value ( ) const
inline

Definition at line 126 of file stats_counter.hpp.


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