AFF --- A container for numbers (array) by Friederich and Forbriger.
aff::func::util::Extracthisto< C > Class Template Reference

#include <histo.h>

Collaboration diagram for aff::func::util::Extracthisto< C >:

Public Types

typedef std::map< Tvalue, int > Tmap
 
typedef Tmap Tretval
 

Public Member Functions

 Extracthisto (const Tcont &c)
 initialize member data More...
 
void operator() (const Tvalue &v)
 collect another value More...
 
Tretval result () const
 return result of operation More...
 

Private Types

typedef C::Tcoc Tcont
 
typedef C::Tvalue Tvalue
 

Private Attributes

Tmap Mmap
 

Detailed Description

template<class C>
class aff::func::util::Extracthisto< C >

utility class to count elements of the same value

This class should be used together with the aff::func::util::collect() function template.

Parameters
Cany container class like aff::Array<double>

Definition at line 59 of file histo.h.


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