scnlib  0.1.2
FormattedinputformodernC++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
scn::basic_bidirectional_iterator_stream< Iterator > Struct Template Reference

#include <stream.h>

Inheritance diagram for scn::basic_bidirectional_iterator_stream< Iterator >:
scn::stream_base

Public Types

using char_type = typename std::iterator_traits< Iterator >::value_type
 
using is_sized_stream = std::true_type
 
- Public Types inherited from scn::stream_base
using is_sized_stream = std::false_type
 

Public Member Functions

SCN_CONSTEXPR basic_bidirectional_iterator_stream (Iterator begin, Iterator end) noexcept
 
SCN_CONSTEXPR14 expected
< char_type
read_char () noexcept
 
SCN_CONSTEXPR14 error putback (char_type) noexcept
 
SCN_CONSTEXPR14 error read_sized (span< char_type > s) noexcept
 
error putback_n (size_t n) noexcept
 
SCN_CONSTEXPR14 error set_roll_back () noexcept
 
SCN_CONSTEXPR14 error roll_back () noexcept
 
size_t rcount () const noexcept
 
SCN_CONSTEXPR14 size_t chars_to_read () const noexcept
 
SCN_CONSTEXPR14 void skip (size_t n) noexcept
 
SCN_CONSTEXPR14 void skip_all () noexcept
 
- Public Member Functions inherited from scn::stream_base
SCN_CONSTEXPR14 void _set_bad () noexcept
 
SCN_CONSTEXPR bool bad () const noexcept
 
SCN_CONSTEXPR operator bool () const noexcept
 

Detailed Description

template<typename Iterator>
struct scn::basic_bidirectional_iterator_stream< Iterator >

Definition at line 496 of file stream.h.

Member Typedef Documentation

template<typename Iterator >
using scn::basic_bidirectional_iterator_stream< Iterator >::char_type = typename std::iterator_traits<Iterator>::value_type

Definition at line 497 of file stream.h.

template<typename Iterator >
using scn::basic_bidirectional_iterator_stream< Iterator >::is_sized_stream = std::true_type

Definition at line 498 of file stream.h.

Constructor & Destructor Documentation

template<typename Iterator >
SCN_CONSTEXPR scn::basic_bidirectional_iterator_stream< Iterator >::basic_bidirectional_iterator_stream ( Iterator  begin,
Iterator  end 
)
inlinenoexcept

Definition at line 500 of file stream.h.

Member Function Documentation

template<typename Iterator >
SCN_CONSTEXPR14 size_t scn::basic_bidirectional_iterator_stream< Iterator >::chars_to_read ( ) const
inlinenoexcept

Definition at line 553 of file stream.h.

template<typename Iterator >
SCN_CONSTEXPR14 error scn::basic_bidirectional_iterator_stream< Iterator >::putback ( char_type  )
inlinenoexcept

Definition at line 515 of file stream.h.

template<typename Iterator >
error scn::basic_bidirectional_iterator_stream< Iterator >::putback_n ( size_t  n)
inlinenoexcept

Definition at line 530 of file stream.h.

template<typename Iterator >
size_t scn::basic_bidirectional_iterator_stream< Iterator >::rcount ( ) const
inlinenoexcept

Definition at line 548 of file stream.h.

template<typename Iterator >
SCN_CONSTEXPR14 expected<char_type> scn::basic_bidirectional_iterator_stream< Iterator >::read_char ( )
inlinenoexcept

Definition at line 506 of file stream.h.

template<typename Iterator >
SCN_CONSTEXPR14 error scn::basic_bidirectional_iterator_stream< Iterator >::read_sized ( span< char_type s)
inlinenoexcept

Definition at line 522 of file stream.h.

template<typename Iterator >
SCN_CONSTEXPR14 error scn::basic_bidirectional_iterator_stream< Iterator >::roll_back ( )
inlinenoexcept

Definition at line 542 of file stream.h.

template<typename Iterator >
SCN_CONSTEXPR14 error scn::basic_bidirectional_iterator_stream< Iterator >::set_roll_back ( )
inlinenoexcept

Definition at line 537 of file stream.h.

template<typename Iterator >
SCN_CONSTEXPR14 void scn::basic_bidirectional_iterator_stream< Iterator >::skip ( size_t  n)
inlinenoexcept

Definition at line 558 of file stream.h.

template<typename Iterator >
SCN_CONSTEXPR14 void scn::basic_bidirectional_iterator_stream< Iterator >::skip_all ( )
inlinenoexcept

Definition at line 563 of file stream.h.


The documentation for this struct was generated from the following file: