scnlib  0.1.2
FormattedinputformodernC++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
scn::basic_static_container_stream< Char, Container > Class Template Reference

#include <stream.h>

Inheritance diagram for scn::basic_static_container_stream< Char, Container >:
scn::stream_base

Public Types

using char_type = Char
 
using source_type = Container
 
using iterator = typename source_type::const_iterator
 
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_static_container_stream (const source_type &s) noexcept
 
SCN_CONSTEXPR14 expected
< char_type
read_char () noexcept
 
SCN_CONSTEXPR14 error putback (char_type) noexcept
 
SCN_CONSTEXPR14 void read_sized (span< char_type > s) noexcept
 
SCN_CONSTEXPR14 void 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 Char, typename Container>
class scn::basic_static_container_stream< Char, Container >

Definition at line 286 of file stream.h.

Member Typedef Documentation

template<typename Char , typename Container >
using scn::basic_static_container_stream< Char, Container >::char_type = Char

Definition at line 288 of file stream.h.

template<typename Char , typename Container >
using scn::basic_static_container_stream< Char, Container >::is_sized_stream = std::true_type

Definition at line 291 of file stream.h.

template<typename Char , typename Container >
using scn::basic_static_container_stream< Char, Container >::iterator = typename source_type::const_iterator

Definition at line 290 of file stream.h.

template<typename Char , typename Container >
using scn::basic_static_container_stream< Char, Container >::source_type = Container

Definition at line 289 of file stream.h.

Constructor & Destructor Documentation

template<typename Char , typename Container >
SCN_CONSTEXPR scn::basic_static_container_stream< Char, Container >::basic_static_container_stream ( const source_type s)
inlinenoexcept

Definition at line 293 of file stream.h.

Member Function Documentation

template<typename Char , typename Container >
SCN_CONSTEXPR14 size_t scn::basic_static_container_stream< Char, Container >::chars_to_read ( ) const
inlinenoexcept

Definition at line 344 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 error scn::basic_static_container_stream< Char, Container >::putback ( char_type  )
inlinenoexcept

Definition at line 308 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 void scn::basic_static_container_stream< Char, Container >::putback_n ( size_t  n)
inlinenoexcept

Definition at line 322 of file stream.h.

template<typename Char , typename Container >
size_t scn::basic_static_container_stream< Char, Container >::rcount ( ) const
inlinenoexcept

Definition at line 339 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 expected<char_type> scn::basic_static_container_stream< Char, Container >::read_char ( )
inlinenoexcept

Definition at line 299 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 void scn::basic_static_container_stream< Char, Container >::read_sized ( span< char_type s)
inlinenoexcept

Definition at line 315 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 error scn::basic_static_container_stream< Char, Container >::roll_back ( )
inlinenoexcept

Definition at line 333 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 error scn::basic_static_container_stream< Char, Container >::set_roll_back ( )
inlinenoexcept

Definition at line 328 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 void scn::basic_static_container_stream< Char, Container >::skip ( size_t  n)
inlinenoexcept

Definition at line 349 of file stream.h.

template<typename Char , typename Container >
SCN_CONSTEXPR14 void scn::basic_static_container_stream< Char, Container >::skip_all ( )
inlinenoexcept

Definition at line 354 of file stream.h.


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