scnlib  0.1.2
FormattedinputformodernC++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
scn::basic_std_istream_stream< CharT > Class Template Reference

#include <istream.h>

Inheritance diagram for scn::basic_std_istream_stream< CharT >:
scn::stream_base

Public Types

using char_type = CharT
 
using source_type = std::basic_istream< char_type >
 
using traits = typename source_type::traits_type
 
- Public Types inherited from scn::stream_base
using is_sized_stream = std::false_type
 

Public Member Functions

 basic_std_istream_stream (source_type &is)
 
expected< char_typeread_char ()
 
error putback (char_type)
 
error set_roll_back ()
 
error roll_back ()
 
- 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 CharT>
class scn::basic_std_istream_stream< CharT >

Definition at line 32 of file istream.h.

Member Typedef Documentation

template<typename CharT >
using scn::basic_std_istream_stream< CharT >::char_type = CharT

Definition at line 34 of file istream.h.

template<typename CharT >
using scn::basic_std_istream_stream< CharT >::source_type = std::basic_istream<char_type>

Definition at line 35 of file istream.h.

template<typename CharT >
using scn::basic_std_istream_stream< CharT >::traits = typename source_type::traits_type

Definition at line 36 of file istream.h.

Constructor & Destructor Documentation

template<typename CharT >
scn::basic_std_istream_stream< CharT >::basic_std_istream_stream ( source_type is)
inline

Definition at line 38 of file istream.h.

Member Function Documentation

template<typename CharT >
error scn::basic_std_istream_stream< CharT >::putback ( char_type  )
inline

Definition at line 45 of file istream.h.

template<typename CharT >
expected<char_type> scn::basic_std_istream_stream< CharT >::read_char ( )
template<typename CharT >
error scn::basic_std_istream_stream< CharT >::roll_back ( )
inline

Definition at line 58 of file istream.h.

template<typename CharT >
error scn::basic_std_istream_stream< CharT >::set_roll_back ( )
inline

Definition at line 52 of file istream.h.


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