cuSBF
Loading...
Searching...
No Matches
cusbf::FastxRecordConsumer Concept Reference

Callable invoked once per record by Filter::query_fastx_records and related FASTX streaming query APIs. More...

#include <Fastx.hpp>

Concept definition

template<typename Functor>
concept cusbf::FastxRecordConsumer = requires(Functor f, const FastxRecordView& record) {
{ f(record) } -> std::same_as<void>;
}
Callable invoked once per record by Filter::query_fastx_records and related FASTX streaming query API...
Definition Fastx.hpp:236

Detailed Description

Callable invoked once per record by Filter::query_fastx_records and related FASTX streaming query APIs.

Must accept const FastxRecordView& and return void. The FastxRecordView::hits span is valid only for the duration of the call.

Definition at line 236 of file Fastx.hpp.