Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
Filter.h File Reference
#include <hydra/detail/Config.h>
#include <hydra/detail/BackendPolicy.h>
#include <hydra/Types.h>
#include <hydra/Tuple.h>
#include <hydra/Range.h>
#include <utility>
#include <hydra/detail/external/hydra_thrust/partition.h>
#include <hydra/detail/Filter.inl>
Include dependency graph for Filter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 hydra
 Generic policies definition.
 

Functions

template<typename Iterable , typename Functor >
std::enable_if< hydra::detail::is_iterable< Iterable >::value, hydra::Range< decltype(std::declval< Iterable >).begin())> >::type hydra::filter (Iterable &&container, Functor const &filter)
 Apply a filter to the range [first, last] and return a pair of iterators for the filtered events. More...
 
template<typename Iterable , typename Functor >
std::enable_if< hydra::detail::is_iterable< Iterable >::value, std::pair< hydra::Range< decltype(std::declval< Iterable >).begin())>, hydra::Range< decltype(std::declval< Iterable >).begin())> > >::type hydra::segregate (Iterable &&container, Functor const &filter)