scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::basic_context< WrappedRange, LocaleRef > Class Template Reference

#include <context.h>

Inheritance diagram for scn::basic_context< WrappedRange, LocaleRef >:

Public Types

using range_type = WrappedRange
 
using iterator = typename range_type::iterator
 
using sentinel = typename range_type::sentinel
 
using char_type = typename range_type::char_type
 
using locale_type = LocaleRef
 
using args_type = basic_args< basic_context >
 
using arg_type = basic_arg< basic_context >
 
template<typename T >
using scanner_type = scanner< char_type, T >
 
template<typename... Args>
using arg_store_type = arg_store< basic_context, Args...>
 

Public Member Functions

template<typename R >
 basic_context (R &&r)
 
template<typename R >
 basic_context (R &&r, LocaleRef &&loc)
 
SCN_NODISCARD iteratorbegin ()
 
const sentinelend () const
 
range_typerange ()
 
const range_typerange () const
 
LocaleRef & locale () noexcept
 
const LocaleRef & locale () const noexcept
 

Detailed Description

template<typename WrappedRange, typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
class scn::basic_context< WrappedRange, LocaleRef >

Definition at line 31 of file context.h.

Member Typedef Documentation

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
template<typename... Args>
using scn::basic_context< WrappedRange, LocaleRef >::arg_store_type = arg_store<basic_context, Args...>

Definition at line 44 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
using scn::basic_context< WrappedRange, LocaleRef >::arg_type = basic_arg<basic_context>

Definition at line 39 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
using scn::basic_context< WrappedRange, LocaleRef >::args_type = basic_args<basic_context>

Definition at line 38 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
using scn::basic_context< WrappedRange, LocaleRef >::char_type = typename range_type::char_type

Definition at line 36 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
using scn::basic_context< WrappedRange, LocaleRef >::iterator = typename range_type::iterator

Definition at line 34 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
using scn::basic_context< WrappedRange, LocaleRef >::locale_type = LocaleRef

Definition at line 37 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
using scn::basic_context< WrappedRange, LocaleRef >::range_type = WrappedRange

Definition at line 33 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
template<typename T >
using scn::basic_context< WrappedRange, LocaleRef >::scanner_type = scanner<char_type, T>

Definition at line 42 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
using scn::basic_context< WrappedRange, LocaleRef >::sentinel = typename range_type::sentinel

Definition at line 35 of file context.h.

Constructor & Destructor Documentation

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
template<typename R >
scn::basic_context< WrappedRange, LocaleRef >::basic_context ( R &&  r)
inline

Definition at line 47 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
template<typename R >
scn::basic_context< WrappedRange, LocaleRef >::basic_context ( R &&  r,
LocaleRef &&  loc 
)
inline

Definition at line 51 of file context.h.

Member Function Documentation

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
SCN_NODISCARD iterator& scn::basic_context< WrappedRange, LocaleRef >::begin ( )
inline

Definition at line 56 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
const sentinel& scn::basic_context< WrappedRange, LocaleRef >::end ( ) const
inline

Definition at line 60 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
LocaleRef& scn::basic_context< WrappedRange, LocaleRef >::locale ( )
inlinenoexcept

Definition at line 74 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
const LocaleRef& scn::basic_context< WrappedRange, LocaleRef >::locale ( ) const
inlinenoexcept

Definition at line 78 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
range_type& scn::basic_context< WrappedRange, LocaleRef >::range ( )
inline

Definition at line 65 of file context.h.

template<typename WrappedRange , typename LocaleRef = basic_default_locale_ref<typename WrappedRange::char_type>>
const range_type& scn::basic_context< WrappedRange, LocaleRef >::range ( ) const
inline

Definition at line 69 of file context.h.


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