scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::basic_empty_parse_context< Locale > Class Template Reference

#include <parse_context.h>

Inheritance diagram for scn::basic_empty_parse_context< Locale >:
scn::detail::basic_parse_context_base< Locale::char_type > scn::detail::parse_context_base

Public Types

using locale_type = Locale
 
using char_type = typename Locale::char_type
 
using string_view_type = basic_string_view< char_type >
 

Public Member Functions

constexpr basic_empty_parse_context (int args, Locale &loc)
 
SCN_CONSTEXPR14 bool should_skip_ws ()
 
constexpr bool should_read_literal () const
 
constexpr bool check_literal (char_type) const
 
constexpr bool good () const
 
constexpr operator bool () const
 
SCN_CONSTEXPR14 void advance (std::ptrdiff_t=1) const noexcept
 
char_type next () const
 
constexpr bool check_arg_begin () const
 
constexpr bool check_arg_end () const
 
SCN_CONSTEXPR14 void arg_begin () const noexcept
 
SCN_CONSTEXPR14 void arg_end () const noexcept
 
SCN_CONSTEXPR14 void arg_handled ()
 
template<typename Scanner >
constexpr error parse (Scanner &) const
 
constexpr bool has_arg_id () const
 
constexpr expected
< string_view_type
parse_arg_id () const
 
- Public Member Functions inherited from scn::detail::basic_parse_context_base< Locale::char_type >
SCN_CONSTEXPR14 void check_arg_id (basic_string_view< Locale::char_type >)
 
- Public Member Functions inherited from scn::detail::parse_context_base
SCN_CONSTEXPR14 std::ptrdiff_t next_arg_id ()
 
SCN_CONSTEXPR14 bool check_arg_id (std::ptrdiff_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
std::ptrdiff_t m_next_arg_id {0}
 

Detailed Description

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

Definition at line 303 of file parse_context.h.

Member Typedef Documentation

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

Definition at line 307 of file parse_context.h.

template<typename Locale >
using scn::basic_empty_parse_context< Locale >::locale_type = Locale

Definition at line 306 of file parse_context.h.

template<typename Locale >
using scn::basic_empty_parse_context< Locale >::string_view_type = basic_string_view<char_type>

Definition at line 308 of file parse_context.h.

Constructor & Destructor Documentation

template<typename Locale >
constexpr scn::basic_empty_parse_context< Locale >::basic_empty_parse_context ( int  args,
Locale &  loc 
)
inlineexplicit

Definition at line 310 of file parse_context.h.

Member Function Documentation

template<typename Locale >
SCN_CONSTEXPR14 void scn::basic_empty_parse_context< Locale >::advance ( std::ptrdiff_t  = 1) const
inlinenoexcept

Definition at line 341 of file parse_context.h.

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

Definition at line 357 of file parse_context.h.

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

Definition at line 358 of file parse_context.h.

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

Definition at line 360 of file parse_context.h.

template<typename Locale >
constexpr bool scn::basic_empty_parse_context< Locale >::check_arg_begin ( ) const
inline

Definition at line 348 of file parse_context.h.

template<typename Locale >
constexpr bool scn::basic_empty_parse_context< Locale >::check_arg_end ( ) const
inline

Definition at line 352 of file parse_context.h.

template<typename Locale >
constexpr bool scn::basic_empty_parse_context< Locale >::check_literal ( char_type  ) const
inline

Definition at line 327 of file parse_context.h.

template<typename Locale >
constexpr bool scn::basic_empty_parse_context< Locale >::good ( ) const
inline

Definition at line 332 of file parse_context.h.

template<typename Locale >
constexpr bool scn::basic_empty_parse_context< Locale >::has_arg_id ( ) const
inline

Definition at line 372 of file parse_context.h.

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

Definition at line 342 of file parse_context.h.

template<typename Locale >
constexpr scn::basic_empty_parse_context< Locale >::operator bool ( ) const
inlineexplicit

Definition at line 336 of file parse_context.h.

template<typename Locale >
template<typename Scanner >
constexpr error scn::basic_empty_parse_context< Locale >::parse ( Scanner &  ) const
inline

Definition at line 367 of file parse_context.h.

template<typename Locale >
constexpr expected<string_view_type> scn::basic_empty_parse_context< Locale >::parse_arg_id ( ) const
inline

Definition at line 376 of file parse_context.h.

template<typename Locale >
constexpr bool scn::basic_empty_parse_context< Locale >::should_read_literal ( ) const
inline

Definition at line 323 of file parse_context.h.

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

Definition at line 315 of file parse_context.h.


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