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

#include <stream.h>

Inheritance diagram for scn::basic_static_container_stream< Char, span< const Char > >:
scn::stream_base

Public Types

using char_type = Char
 
using source_type = span< const Char >
 
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 (source_type s) noexcept
 
SCN_CONSTEXPR14 expected
< char_type
read_char () noexcept
 
SCN_CONSTEXPR14 error putback (char_type) noexcept
 
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 Char>
class scn::basic_static_container_stream< Char, span< const Char > >

Definition at line 391 of file stream.h.

Member Typedef Documentation

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

Definition at line 394 of file stream.h.

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

Definition at line 397 of file stream.h.

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

Definition at line 396 of file stream.h.

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

Definition at line 395 of file stream.h.

Constructor & Destructor Documentation

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

Definition at line 399 of file stream.h.

Member Function Documentation

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

Definition at line 452 of file stream.h.

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

Definition at line 413 of file stream.h.

template<typename Char >
error scn::basic_static_container_stream< Char, span< const Char > >::putback_n ( size_t  n)
inlinenoexcept

Definition at line 429 of file stream.h.

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

Definition at line 447 of file stream.h.

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

Definition at line 404 of file stream.h.

template<typename Char >
error scn::basic_static_container_stream< Char, span< const Char > >::read_sized ( span< char_type s)
inlinenoexcept

Definition at line 420 of file stream.h.

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

Definition at line 441 of file stream.h.

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

Definition at line 436 of file stream.h.

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

Definition at line 457 of file stream.h.

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

Definition at line 462 of file stream.h.


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