|
Jpp
debug
the software that should make you happy
|
Auxiliary class for counting unique strings. More...
#include <JStringCounter.hh>
Public Member Functions | |
| JStringCounter () | |
| Default constructor. More... | |
| int | operator() (const JDetector &detector) const |
| Count unique strings. More... | |
| template<class T > | |
| int | operator() (const JModuleRouter &router, T __begin, T __end) const |
| Count unique strings. More... | |
Private Attributes | |
| std::vector< int > | buffer |
Auxiliary class for counting unique strings.
Definition at line 23 of file JStringCounter.hh.
|
inline |
|
inline |
Count unique strings.
| detector | detector |
Definition at line 37 of file JStringCounter.hh.
|
inline |
Count unique strings.
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.
| router | module router |
| __begin | begin of data |
| __end | end of data |
Definition at line 70 of file JStringCounter.hh.
|
mutableprivate |
Definition at line 88 of file JStringCounter.hh.