flod.traits

Templates for declaring and examining static interfaces of pipeline stages.

Members

Aliases

SinkElementType
alias SinkElementType(alias S) = getMethodAttributes!S.SinkElementType
SourceElementType
alias SourceElementType(alias S) = getMethodAttributes!S.SourceElementType

Enums

Method
enum Method

Enumerates all methods of passing data between stages.

getMethods
eponymoustemplate getMethods(alias S)
isActiveSink
eponymoustemplate isActiveSink(alias S)
Undocumented in source.
isActiveSource
eponymoustemplate isActiveSource(alias S)
Undocumented in source.
isAllocSink
eponymoustemplate isAllocSink(alias S)
Undocumented in source.
isAllocSource
eponymoustemplate isAllocSource(alias S)
Undocumented in source.
isPassiveSink
eponymoustemplate isPassiveSink(alias S)
Undocumented in source.
isPassiveSource
eponymoustemplate isPassiveSource(alias S)
Undocumented in source.
isPeekSink
eponymoustemplate isPeekSink(alias S)
Undocumented in source.
isPeekSource
eponymoustemplate isPeekSource(alias S)
Undocumented in source.
isPullSink
eponymoustemplate isPullSink(alias S)
Undocumented in source.
isPullSource
eponymoustemplate isPullSource(alias S)
Undocumented in source.
isPushSink
eponymoustemplate isPushSink(alias S)
Undocumented in source.
isPushSource
eponymoustemplate isPushSource(alias S)
Undocumented in source.
isSink
eponymoustemplate isSink(alias S)
Undocumented in source.
isSource
eponymoustemplate isSource(alias S)
Undocumented in source.
isStage
eponymoustemplate isStage(alias S)
Undocumented in source.

Functions

filter
auto filter(Method sink_method, Method source_method)
auto filter(Method method)

This attribute specifies that the stage is a filter.

sink
auto sink(Method sink_method)

This attribute specifies that the stage is a sink.

source
auto source(Method source_method)

This attribute specifies that the stage is a source.

Structs

MethodAttribute
struct MethodAttribute
Undocumented in source.

Templates

SinkElementType
template SinkElementType(size_t i, StageSeq...)

Gets the element type at source or sink end of i-th stage in StageSeq.

SourceElementType
template SourceElementType(size_t i, StageSeq...)

Gets the element type at source or sink end of i-th stage in StageSeq.

Variables

methodNames
enum string[Method.max + 1] methodNames;
Undocumented in source.

Meta