Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Public Member Functions
utf8_reader< T > Class Template Referencefinal
Inheritance diagram for utf8_reader< T >:
Inheritance graph
[legend]
Collaboration diagram for utf8_reader< T >:
Collaboration graph
[legend]

Public Member Functions

template<typename U , typename String = std::string_view>
TOML_NODISCARD_CTOR utf8_reader (U &&source, String &&source_path={}) noexcept(std::is_nothrow_constructible_v< utf8_byte_stream< T >, U && >)
 
TOML_PURE_INLINE_GETTER const source_path_ptr & source_path () const noexcept final
 
TOML_NODISCARD const utf8_codepoint * read_next () noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) final
 
TOML_NODISCARD bool peek_eof () const noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) final
 
TOML_NODISCARD optional< parse_error > && error () noexcept final
 
- Public Member Functions inherited from utf8_reader_interface
virtual ~utf8_reader_interface () noexcept=default
 

Detailed Description

template<typename T>
class utf8_reader< T >

Definition at line 196 of file parser.inl.

Constructor & Destructor Documentation

◆ utf8_reader()

template<typename T >
template<typename U , typename String = std::string_view>
TOML_NODISCARD_CTOR utf8_reader< T >::utf8_reader ( U &&  source,
String &&  source_path = {} 
)
inlineexplicitnoexcept

Definition at line 349 of file parser.inl.

Member Function Documentation

◆ error()

template<typename T >
TOML_NODISCARD optional< parse_error > && utf8_reader< T >::error ( )
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.

Definition at line 388 of file parser.inl.

◆ peek_eof()

template<typename T >
TOML_NODISCARD bool utf8_reader< T >::peek_eof ( ) const
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.

Definition at line 381 of file parser.inl.

◆ read_next()

template<typename T >
TOML_NODISCARD const utf8_codepoint * utf8_reader< T >::read_next ( )
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.

Definition at line 365 of file parser.inl.

◆ source_path()

template<typename T >
TOML_PURE_INLINE_GETTER const source_path_ptr & utf8_reader< T >::source_path ( ) const
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.

Definition at line 362 of file parser.inl.


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