Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JFIT::JHistory::is_event Struct Reference

Auxiliary class to test history. More...

#include <JHistory.hh>

Inheritance diagram for JFIT::JHistory::is_event:
std::vector< int >

Public Member Functions

 is_event (const JHistory &history)
 Constructor.
 
bool operator() (const JHistory &history) const
 Test history.
 

Detailed Description

Auxiliary class to test history.

Definition at line 134 of file JHistory.hh.

Constructor & Destructor Documentation

◆ is_event()

JFIT::JHistory::is_event::is_event ( const JHistory & history)
inline

Constructor.

Parameters
historyhistory

Definition at line 142 of file JHistory.hh.

143 {
144 for (JHistory::const_iterator i = history.begin(); i != history.end(); ++i) {
145 this->push_back(i->type);
146 }
147 }

Member Function Documentation

◆ operator()()

bool JFIT::JHistory::is_event::operator() ( const JHistory & history) const
inline

Test history.

Parameters
historyhistory
Returns
true if given history same as this history; else false

Definition at line 156 of file JHistory.hh.

157 {
158 return history.getStatus(*this);
159 }

The documentation for this struct was generated from the following file: