R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
Filterable< T > Class Template Reference

#include <Filterable.h>

Public Types

using Filter = std::function<bool(const T)>
 

Public Member Functions

 Filterable ()=default
 
 Filterable (const std::vector< Filter > &vf)
 
void Add (const Filter &f)
 
bool IsValid (const T t) const
 

Detailed Description

template<typename T>
class Filterable< T >

Definition at line 21 of file Filterable.h.

Member Typedef Documentation

◆ Filter

template<typename T>
using Filterable< T >::Filter = std::function<bool(const T)>

Definition at line 24 of file Filterable.h.

Constructor & Destructor Documentation

◆ Filterable() [1/2]

template<typename T>
Filterable< T >::Filterable ( )
default

◆ Filterable() [2/2]

template<typename T>
Filterable< T >::Filterable ( const std::vector< Filter > & vf)
inlineexplicit

Definition at line 31 of file Filterable.h.

Member Function Documentation

◆ Add()

template<typename T>
void Filterable< T >::Add ( const Filter & f)
inline

Definition at line 35 of file Filterable.h.

◆ IsValid()

template<typename T>
bool Filterable< T >::IsValid ( const T t) const
inline

Definition at line 36 of file Filterable.h.


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