1 #ifndef GENESIS_SEQUENCE_FORMATS_FASTX_OUTPUT_STREAM_H_
2 #define GENESIS_SEQUENCE_FORMATS_FASTX_OUTPUT_STREAM_H_
43 #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
45 #include <string_view>
56 template<
class Writer>
83 template<
class Writer>
101 std::shared_ptr<utils::BaseOutputTarget> target
108 std::shared_ptr<utils::BaseOutputTarget> target,
129 writer_.write( sequence, target_ );
135 writer_.write( sequence, target_ );
145 typename std::enable_if< std::is_same<T, FastqWriter>::value >::type* =
nullptr
149 writer_.write( sequence, quality_string, target_ );
153 #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
163 typename std::enable_if< std::is_same<T, FastqWriter>::value >::type* =
nullptr
166 std::string_view
const& label,
167 std::string_view
const& sites,
168 std::string_view
const& quality
170 writer_.write( label, sites, quality, target_ );
207 std::shared_ptr<utils::BaseOutputTarget> target_;
214 #endif // include guard