Jpp
18.5.0
the software that should make you happy
|
Emitter key. More...
#include <JEKey.hh>
Public Member Functions | |
JEKey () | |
Default constructor. More... | |
JEKey (const JObjectID &id, const JCounter &counter) | |
Constructor. More... | |
int | getKey () const |
Get hash key. More... | |
int | getID () const |
Get identifier. More... | |
int & | getID () |
Get identifier. More... | |
void | setID (const int id) |
Set identifier. More... | |
bool | less (const JObjectID &object) const |
Less than method. More... | |
bool | less (const int id) const |
Less than method. More... | |
bool | more (const int id) const |
More than method. More... | |
int | getCounter () const |
Get counter. More... | |
ClassDefNV (JCounter, 1) | |
Static Public Attributes | |
static const int | COUNTER = 100 |
Multiplication factor applied to the event counter for the evaluation of the hash key. More... | |
Static Protected Member Functions | |
template<class JHead_t , class JTail_t > | |
static bool | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type) |
Less than method for composite data types. More... | |
template<class JHead_t > | |
static bool | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JNullType > > &type) |
Less than method for composite data types. More... | |
Protected Attributes | |
int | __id |
int | counter |
Friends | |
std::ostream & | operator<< (std::ostream &out, const JEKey &key) |
Write emitter key to output stream. More... | |
Emitter key.
The emitter key can be used to umambiguously address an event in a data set.
|
inline |
|
inline |
Get hash key.
Definition at line 69 of file JEKey.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Less than method.
object | object identifier |
Definition at line 84 of file JObjectID.hh.
|
inlineinherited |
Less than method.
id | identifier |
Definition at line 96 of file JObjectID.hh.
|
inlineinherited |
More than method.
id | identifier |
Definition at line 108 of file JObjectID.hh.
|
inlineinherited |
|
inherited |
|
inlinestaticprotectedinherited |
Less than method for composite data types.
first | first object |
second | second object |
type | type |
Definition at line 43 of file JMultiComparable.hh.
|
inlinestaticprotectedinherited |
Less than method for composite data types.
first | first object |
second | second object |
type | type |
Definition at line 67 of file JMultiComparable.hh.
|
friend |
Write emitter key to output stream.
out | output stream |
key | emitter key |
Definition at line 82 of file JEKey.hh.
|
static |
|
protectedinherited |
Definition at line 140 of file JObjectID.hh.
|
protectedinherited |
Definition at line 89 of file JAcoustics/JCounter.hh.