Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
datatools::event_id_equal_predicate Class Reference

Predicate to check if an event_id equals another one. More...

#include <bayeux/datatools/event_id.h>

Inheritance diagram for datatools::event_id_equal_predicate:

Public Member Functions

 event_id_equal_predicate (const event_id &id_)
 Constructor. More...
 
bool operator() (const event_id &id_) const
 Functionnal operator. More...
 

Detailed Description

Predicate to check if an event_id equals another one.

May be used with the std::find_if standard algorithm.

Constructor & Destructor Documentation

◆ event_id_equal_predicate()

datatools::event_id_equal_predicate::event_id_equal_predicate ( const event_id id_)
inline

Constructor.

Parameters
id_the reference event ID.

Member Function Documentation

◆ operator()()

bool datatools::event_id_equal_predicate::operator() ( const event_id id_) const
inline

Functionnal operator.

Parameters
id_the event ID to be checked to the embedded reference ID.

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