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

#include <parse_context.h>

Inheritance diagram for scn::basic_empty_parse_context< Char >:
scn::detail::basic_parse_context_base< Char > scn::detail::parse_context_base

Public Types

using char_type = Char
 
using string_view_type = basic_string_view< char_type >
 

Public Member Functions

SCN_CONSTEXPR basic_empty_parse_context (int args)
 
template<typename Locale >
SCN_CONSTEXPR14 bool should_skip_ws (const Locale &)
 
template<typename Locale >
SCN_CONSTEXPR bool should_read_literal (const Locale &) const
 
SCN_CONSTEXPR bool check_literal (char_type) const
 
SCN_CONSTEXPR bool good () const
 
SCN_CONSTEXPR operator bool () const
 
SCN_CONSTEXPR14 void advance (size_t=1) const noexcept
 
char_type next () const
 
template<typename Locale >
SCN_CONSTEXPR bool check_arg_begin (const Locale &) const
 
template<typename Locale >
SCN_CONSTEXPR bool check_arg_end (const Locale &) const
 
SCN_CONSTEXPR14 void arg_begin () const noexcept
 
SCN_CONSTEXPR14 void arg_end () const noexcept
 
SCN_CONSTEXPR14 void arg_handled ()
 
template<typename Scanner , typename Context >
SCN_CONSTEXPR error parse (Scanner &, Context &) const
 
template<typename Locale >
SCN_CONSTEXPR expected
< string_view_type
parse_arg_id (const Locale &) const
 
- Public Member Functions inherited from scn::detail::basic_parse_context_base< Char >
SCN_CONSTEXPR14 void check_arg_id (basic_string_view< Char >)
 
- Public Member Functions inherited from scn::detail::parse_context_base
SCN_CONSTEXPR14 size_t next_arg_id ()
 
SCN_CONSTEXPR14 bool check_arg_id (size_t)
 

Additional Inherited Members

- Protected Member Functions inherited from scn::detail::parse_context_base
 parse_context_base ()=default
 
- Protected Attributes inherited from scn::detail::parse_context_base
int m_next_arg_id {0}
 

Detailed Description

template<typename Char>
class scn::basic_empty_parse_context< Char >

Definition at line 284 of file parse_context.h.

Member Typedef Documentation

template<typename Char>
using scn::basic_empty_parse_context< Char >::char_type = Char

Definition at line 287 of file parse_context.h.

Definition at line 288 of file parse_context.h.

Constructor & Destructor Documentation

template<typename Char>
SCN_CONSTEXPR scn::basic_empty_parse_context< Char >::basic_empty_parse_context ( int  args)
inlineexplicit

Definition at line 290 of file parse_context.h.

Member Function Documentation

template<typename Char>
SCN_CONSTEXPR14 void scn::basic_empty_parse_context< Char >::advance ( size_t  = 1) const
inlinenoexcept

Definition at line 323 of file parse_context.h.

template<typename Char>
SCN_CONSTEXPR14 void scn::basic_empty_parse_context< Char >::arg_begin ( ) const
inlinenoexcept

Definition at line 341 of file parse_context.h.

template<typename Char>
SCN_CONSTEXPR14 void scn::basic_empty_parse_context< Char >::arg_end ( ) const
inlinenoexcept

Definition at line 342 of file parse_context.h.

template<typename Char>
SCN_CONSTEXPR14 void scn::basic_empty_parse_context< Char >::arg_handled ( )
inline

Definition at line 344 of file parse_context.h.

template<typename Char>
template<typename Locale >
SCN_CONSTEXPR bool scn::basic_empty_parse_context< Char >::check_arg_begin ( const Locale &  ) const
inline

Definition at line 331 of file parse_context.h.

template<typename Char>
template<typename Locale >
SCN_CONSTEXPR bool scn::basic_empty_parse_context< Char >::check_arg_end ( const Locale &  ) const
inline

Definition at line 336 of file parse_context.h.

template<typename Char>
SCN_CONSTEXPR bool scn::basic_empty_parse_context< Char >::check_literal ( char_type  ) const
inline

Definition at line 309 of file parse_context.h.

template<typename Char>
SCN_CONSTEXPR bool scn::basic_empty_parse_context< Char >::good ( ) const
inline

Definition at line 314 of file parse_context.h.

template<typename Char>
char_type scn::basic_empty_parse_context< Char >::next ( ) const
inline

Definition at line 324 of file parse_context.h.

template<typename Char>
SCN_CONSTEXPR scn::basic_empty_parse_context< Char >::operator bool ( ) const
inlineexplicit

Definition at line 318 of file parse_context.h.

template<typename Char>
template<typename Scanner , typename Context >
SCN_CONSTEXPR error scn::basic_empty_parse_context< Char >::parse ( Scanner &  ,
Context &   
) const
inline

Definition at line 351 of file parse_context.h.

template<typename Char>
template<typename Locale >
SCN_CONSTEXPR expected<string_view_type> scn::basic_empty_parse_context< Char >::parse_arg_id ( const Locale &  ) const
inline

Definition at line 357 of file parse_context.h.

template<typename Char>
template<typename Locale >
SCN_CONSTEXPR bool scn::basic_empty_parse_context< Char >::should_read_literal ( const Locale &  ) const
inline

Definition at line 305 of file parse_context.h.

template<typename Char>
template<typename Locale >
SCN_CONSTEXPR14 bool scn::basic_empty_parse_context< Char >::should_skip_ws ( const Locale &  )
inline

Definition at line 296 of file parse_context.h.


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