|
gimo v0.1.0
|
A composite object representing a sequence of monadic operations. More...
#include <Pipeline.hpp>
Public Member Functions | |
| constexpr | Pipeline (std::tuple< Steps... > steps) |
| Constructs a pipeline from a tuple of steps. | |
| template<nullable Nullable> | |
| constexpr auto | apply (Nullable &&opt) & |
| Applies nullable input on the pipeline. | |
| template<nullable Nullable> | |
| constexpr auto | apply (Nullable &&opt) const & |
| Applies nullable input on the pipeline. | |
| template<nullable Nullable> | |
| constexpr auto | apply (Nullable &&opt) && |
| Applies nullable input on the pipeline. | |
| template<nullable Nullable> | |
| constexpr auto | apply (Nullable &&opt) const && |
| Applies nullable input on the pipeline. | |
| template<typename... SuffixSteps> | |
| constexpr auto | append (Pipeline< SuffixSteps... > suffix) const & |
| Appends another pipeline to the end of this one. | |
| template<typename... SuffixSteps> | |
| constexpr auto | append (Pipeline< SuffixSteps... > suffix) && |
| Appends another pipeline to the end of this one. | |
Friends | |
| template<typename... Others> | |
| class | Pipeline |
| template<typename... SuffixSteps> | |
| constexpr auto | operator| (Pipeline const &prefix, Pipeline< SuffixSteps... > suffix) |
| Appends the right-hand-side pipeline to the end of the left-hand-side pipeline. | |
| template<typename... SuffixSteps> | |
| constexpr auto | operator| (Pipeline &&prefix, Pipeline< SuffixSteps... > suffix) |
| Appends the right-hand-side pipeline to the end of the left-hand-side pipeline. | |
Related Symbols | |
(Note that these are not member symbols.) | |
| template<nullable Nullable, pipeline Pipeline> | |
| constexpr auto | apply (Nullable &&opt, Pipeline &&steps) |
| Applies nullable input on the pipeline. | |
A composite object representing a sequence of monadic operations.
| Steps | The sequence of algorithm types contained in this pipeline. |
Pipelines are created by chaining algorithms (like transform or and_then) and are executed by calling apply member-function, or gimo::apply.
|
inlineexplicitnodiscardconstexpr |
Constructs a pipeline from a tuple of steps.
| steps | The tuple containing the algorithm instances. |
|
inlineconstexpr |
Appends another pipeline to the end of this one.
| SuffixSteps | The steps of the appended pipeline. |
Here is the call graph for this function:
|
inlineconstexpr |
Appends another pipeline to the end of this one.
| SuffixSteps | The steps of the appended pipeline. |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Applies nullable input on the pipeline.
| Nullable | The input type. |
| opt | The input value to process. |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Applies nullable input on the pipeline.
| Nullable | The input type. |
| opt | The input value to process. |
Here is the call graph for this function:
|
inlineconstexpr |
Applies nullable input on the pipeline.
| Nullable | The input type. |
| opt | The input value to process. |
Here is the call graph for this function:
|
inlineconstexpr |
Applies nullable input on the pipeline.
| Nullable | The input type. |
| opt | The input value to process. |
Here is the call graph for this function:
|
Applies nullable input on the pipeline.
| Nullable | The input type. |
| Pipeline | The pipeline type. |
| opt | The input value to process. |
| steps | The pipeline to execute. |
Here is the call graph for this function:
|
friend |
Appends the right-hand-side pipeline to the end of the left-hand-side pipeline.
| SuffixSteps | The steps of the appended pipeline. |
|
friend |
Appends the right-hand-side pipeline to the end of the left-hand-side pipeline.
| SuffixSteps | The steps of the appended pipeline. |