Representation of iteration pattern. Represents a iteration that can be used as a stage on a pipeline.
More...
#include <iteration_pattern.h>
|
| iteration_t (Transformer &&t, Predicate &&p) noexcept |
| Constructs a iteration with a predicate. More...
|
|
template<typename Item > |
bool | predicate (Item &&item) const |
| Invokes the predicate of the iteration over a data item. More...
|
|
template<typename Item > |
auto | transform (Item &&item) const |
| Applies the transformation over a data item. More...
|
|
template<typename T > |
auto | operator() (T &&item) |
| Applies the transformation over a data item. More...
|
|
template<typename Transformer, typename Predicate>
class grppi::iteration_t< Transformer, Predicate >
Representation of iteration pattern. Represents a iteration that can be used as a stage on a pipeline.
- Template Parameters
-
Predicate | Callable type for the iteration predicate. |
template<typename Transformer , typename Predicate >
Constructs a iteration with a predicate.
- Parameters
-
p | Predicate for the iteration. |
template<typename Transformer , typename Predicate >
template<typename T >
Applies the transformation over a data item.
template<typename Transformer , typename Predicate >
template<typename Item >
Invokes the predicate of the iteration over a data item.
template<typename Transformer , typename Predicate >
template<typename Item >
Applies the transformation over a data item.
The documentation for this class was generated from the following file: