SeqAn3 3.3.0-rc.1
The Modern C++ library for sequence analysis.
 
Loading...
Searching...
No Matches
stream_buffer_exposer.hpp
Go to the documentation of this file.
1// -----------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2022, Knut Reinert & MPI für molekulare Genetik
4// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5// shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6// -----------------------------------------------------------------------------------------------------
7
14#pragma once
15
16#include <iosfwd>
17
19
20namespace seqan3::detail
21{
22
33template <typename char_t, typename traits_t = std::char_traits<char_t>>
34struct stream_buffer_exposer : public std::basic_streambuf<char_t, traits_t>
35{
38
40 // Expose protected members:
41 using base_t::eback;
42 using base_t::egptr;
43 using base_t::gbump;
44 using base_t::gptr;
45 using base_t::setg;
47
48 using base_t::epptr;
49 using base_t::overflow;
50 using base_t::pbase;
51 using base_t::pbump;
52 using base_t::pptr;
54};
55} // namespace seqan3::detail
T gbump(T... args)
T eback(T... args)
The internal SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
T overflow(T... args)
T pbump(T... args)
Provides platform and dependency checks.
T epptr(T... args)
Functionally the same as std::basic_streambuf<char_t, traits_t_>, but exposes protected members as pu...
Definition: stream_buffer_exposer.hpp:35
T underflow(T... args)