Pottu
Public Types | Public Member Functions | Public Attributes | List of all members
pottu::BinnerInteger< V > Class Template Reference

Binner with integer values. More...

#include <binners.hpp>

Public Types

typedef V value_type
 

Public Member Functions

 BinnerInteger (value_type low, value_type high, unsigned int binc)
 
 BinnerInteger (const BinnerInteger &o)=default
 
 BinnerInteger (BinnerInteger &&o)=default
 
BinnerIntegeroperator= (const BinnerInteger &o)=default
 
BinnerIntegeroperator= (BinnerInteger &&o)=default
 
value_type low () const
 
value_type high () const
 
unsigned int binCount () const
 
int operator() (value_type v) const
 
bool isUnderflow (value_type v) const
 
bool isOverflow (value_type v) const
 
value_type binWidth () const
 
value_type binLow (unsigned int i) const
 
value_type binHigh (unsigned int i) const
 
double binCenter (unsigned int i) const
 

Public Attributes

value_type _low
 
value_type _high
 
unsigned int _binc
 
value_type _step
 

Detailed Description

template<class V>
class pottu::BinnerInteger< V >

Binner with integer values.


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