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

#include <args.h>

Public Types

using char_type = typename Context::char_type
 
using arg_type = typename Context::arg_type
 

Public Member Functions

constexpr value () noexcept
 
template<typename T >
SCN_CONSTEXPR14 value (T &val) noexcept
 
template<typename ParseCtx , typename T >
 value (parse_ctx_tag< ParseCtx >, T &val) noexcept
 
template<typename T >
SCN_CONSTEXPR14 T & get_as () noexcept
 
template<typename T >
constexpr const T & get_as () const noexcept
 
SCN_CONSTEXPR14 custom_valueget_custom () noexcept
 
constexpr const custom_valueget_custom () const noexcept
 

Detailed Description

template<typename Context>
class scn::detail::value< Context >

Definition at line 133 of file args.h.

Member Typedef Documentation

template<typename Context>
using scn::detail::value< Context >::arg_type = typename Context::arg_type

Definition at line 136 of file args.h.

template<typename Context>
using scn::detail::value< Context >::char_type = typename Context::char_type

Definition at line 135 of file args.h.

Constructor & Destructor Documentation

template<typename Context>
constexpr scn::detail::value< Context >::value ( )
inlinenoexcept

Definition at line 138 of file args.h.

template<typename Context>
template<typename T >
SCN_CONSTEXPR14 scn::detail::value< Context >::value ( T &  val)
inlinenoexcept

Definition at line 141 of file args.h.

template<typename Context>
template<typename ParseCtx , typename T >
scn::detail::value< Context >::value ( parse_ctx_tag< ParseCtx >  ,
T &  val 
)
inlinenoexcept

Definition at line 147 of file args.h.

Member Function Documentation

template<typename Context>
template<typename T >
SCN_CONSTEXPR14 T& scn::detail::value< Context >::get_as ( )
inlinenoexcept

Definition at line 156 of file args.h.

template<typename Context>
template<typename T >
constexpr const T& scn::detail::value< Context >::get_as ( ) const
inlinenoexcept

Definition at line 161 of file args.h.

template<typename Context>
SCN_CONSTEXPR14 custom_value& scn::detail::value< Context >::get_custom ( )
inlinenoexcept

Definition at line 166 of file args.h.

template<typename Context>
constexpr const custom_value& scn::detail::value< Context >::get_custom ( ) const
inlinenoexcept

Definition at line 170 of file args.h.

Member Data Documentation

template<typename Context>
custom_value scn::detail::value< Context >::m_custom

Definition at line 179 of file args.h.

template<typename Context>
monostate scn::detail::value< Context >::m_empty

Definition at line 177 of file args.h.

template<typename Context>
void* scn::detail::value< Context >::m_value

Definition at line 178 of file args.h.


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