#include <EncodedTruthId.h>
Public Member Functions | |
EncodedTruthId () | |
EncodedTruthId (EncodedEventId eid, int index) | |
int | index () const |
int | operator!= (const EncodedTruthId &id) const |
int | operator< (const EncodedTruthId &id) const |
int | operator== (const EncodedTruthId &id) const |
Private Attributes | |
int | index_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EncodedTruthId &id) |
Definition at line 7 of file EncodedTruthId.h.
EncodedTruthId::EncodedTruthId | ( | ) |
Definition at line 3 of file EncodedTruthId.cc.
{}
EncodedTruthId::EncodedTruthId | ( | EncodedEventId | eid, |
int | index | ||
) |
Definition at line 5 of file EncodedTruthId.cc.
: EncodedEventId(eid), index_(index) {}
int EncodedTruthId::index | ( | ) | const [inline] |
int EncodedTruthId::operator!= | ( | const EncodedTruthId & | id | ) | const [inline] |
Definition at line 37 of file EncodedTruthId.h.
References operator==().
{ return !(operator==(id)); }
int EncodedTruthId::operator< | ( | const EncodedTruthId & | id | ) | const [inline] |
Definition at line 42 of file EncodedTruthId.h.
References index_, and cppFunctionSkipper::operator.
{ if (EncodedEventId::operator==(id)) { return index_ < id.index_; } else { return (EncodedEventId::operator<(id)); } }
int EncodedTruthId::operator== | ( | const EncodedTruthId & | id | ) | const [inline] |
Definition at line 25 of file EncodedTruthId.h.
References index_, and cppFunctionSkipper::operator.
Referenced by operator!=().
{ if (EncodedEventId::operator==(id)) { return index_ == id.index_; } else { return EncodedEventId::operator==(id); } }
std::ostream& operator<< | ( | std::ostream & | os, |
const EncodedTruthId & | id | ||
) | [friend] |
int EncodedTruthId::index_ [private] |
Definition at line 55 of file EncodedTruthId.h.
Referenced by index(), operator<(), and operator==().