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

#include <stream.h>

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

Public Types

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

Public Member Functions

SCN_CONSTEXPR basic_forward_iterator_stream (Iterator begin, Iterator end) noexcept
 
expected< char_typeread_char () noexcept
 
error putback (char_type)
 
error set_roll_back () noexcept
 
error roll_back () noexcept
 
size_t rcount () const 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_forward_iterator_stream< Iterator >

Definition at line 573 of file stream.h.

Member Typedef Documentation

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

Definition at line 574 of file stream.h.

Constructor & Destructor Documentation

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

Definition at line 576 of file stream.h.

Member Function Documentation

template<typename Iterator >
error scn::basic_forward_iterator_stream< Iterator >::putback ( char_type  )
inline

Definition at line 598 of file stream.h.

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

Definition at line 617 of file stream.h.

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

Definition at line 582 of file stream.h.

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

Definition at line 611 of file stream.h.

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

Definition at line 605 of file stream.h.


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