boost::pipeline::segment<Input, terminated>
// In header: <boost/pipeline/type_erasure.hpp> template<typename Input> class segment<Input, terminated> { public: // construct/copy/destruct segment(const segment< Input, terminated > &); segment(unspecified); // public member functions execution run(thread_pool &); };
Right terminated series of transformations consuming Input
type of items.
Connect this segment to a segment<terminated, Input>
segment to create a runnable plan.
segment
public
construct/copy/destructsegment(const segment< Input, terminated > & rhs);
Copy constructor
segment(unspecified impl);
Creates a segment from any kind of matching segment of unspecified type.
segment<std::string, terminated> s1 = make(trim) | trimmed_lines;
Parameters: |
|
segment
public member functionsexecution run(thread_pool & pool);
Schedules this segment on pool
. This method is typically called by the library.
Requires: |
Segment must be connected to a parent segment, the uppermost parent must be left-terminated. |