Auxiliary class to test history.
More...
#include <JHistory.hh>
Auxiliary class to test history.
Definition at line 101 of file JHistory.hh.
JFIT::JHistory::is_event::is_event |
( |
int |
type | ) |
|
|
inline |
JFIT::JHistory::is_event::is_event |
( |
const JHistory & |
history | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 118 of file JHistory.hh.
120 if (!history.empty())
121 this->
type = history.rbegin()->type;
bool JFIT::JHistory::is_event::operator() |
( |
const JHistory & |
history | ) |
const |
|
inline |
Test history.
- Parameters
-
- Returns
- true if given history ends with specified event type; else false
Definition at line 133 of file JHistory.hh.
135 if (!history.empty()) {
136 return history.rbegin()->type == this->
type;
int JFIT::JHistory::is_event::type |
The documentation for this struct was generated from the following file: