SeqAn3 3.1.0
The Modern C++ library for sequence analysis.
stream_buffer_exposer.hpp
Go to the documentation of this file.
1// -----------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2021, 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::gptr;
43 using base_t::egptr;
44 using base_t::setg;
45 using base_t::gbump;
47
48 using base_t::pbase;
49 using base_t::pptr;
50 using base_t::epptr;
51 using base_t::pbump;
52 using base_t::overflow;
54};
55} // namespace seqan3::detail
T gbump(T... args)
T eback(T... args)
T overflow(T... args)
T pbump(T... args)
Provides platform and dependency checks.
T pbase(T... args)
T underflow(T... args)