Jpp - the software that should make you happy
|
Auxiliary class for counting unique modules. More...
#include <JModuleCounter.hh>
Public Member Functions | |
JModuleCounter () | |
Default constructor. More... | |
template<class T > | |
int | operator() (T __begin, T __end) const |
Count unique modules. More... | |
Private Attributes | |
std::vector< int > | buffer |
Auxiliary class for counting unique modules.
Definition at line 20 of file JModuleCounter.hh.
|
inline |
Count unique modules.
The template parameter should correspond to a data type which provides for the following method:
int getModuleID();
Note that the input data are not changed.
__begin | begin of data |
__end | end of data |
Definition at line 42 of file JModuleCounter.hh.
|
mutableprivate |
Definition at line 60 of file JModuleCounter.hh.