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

#include <args.h>

Public Types

using arg_type = typename Context::arg_type
 

Public Member Functions

 basic_args ()=default
 
template<typename... Args>
 basic_args (arg_store< Context, Args...> &store)
 
 basic_args (span< arg_type > args)
 
arg_type get (size_t i) const
 
bool check_id (size_t i) const
 
size_t max_size () const
 

Friends

class detail::arg_map< Context >
 

Detailed Description

template<typename Context>
class scn::basic_args< Context >

Definition at line 33 of file args.h.

Member Typedef Documentation

template<typename Context>
using scn::basic_args< Context >::arg_type = typename Context::arg_type

Definition at line 571 of file args.h.

Constructor & Destructor Documentation

template<typename Context>
scn::basic_args< Context >::basic_args ( )
default
template<typename Context>
template<typename... Args>
scn::basic_args< Context >::basic_args ( arg_store< Context, Args...> &  store)
inline

Definition at line 576 of file args.h.

template<typename Context>
scn::basic_args< Context >::basic_args ( span< arg_type args)
inline

Definition at line 581 of file args.h.

Member Function Documentation

template<typename Context>
bool scn::basic_args< Context >::check_id ( size_t  i) const
inline

Definition at line 597 of file args.h.

template<typename Context>
arg_type scn::basic_args< Context >::get ( size_t  i) const
inline

Definition at line 587 of file args.h.

template<typename Context>
size_t scn::basic_args< Context >::max_size ( ) const
inline

Definition at line 606 of file args.h.

Friends And Related Function Documentation

template<typename Context>
friend class detail::arg_map< Context >
friend

Definition at line 633 of file args.h.

Member Data Documentation

template<typename Context>
arg_type* scn::basic_args< Context >::m_args

Definition at line 618 of file args.h.

template<typename Context>
detail::value<Context>* scn::basic_args< Context >::m_values

Definition at line 617 of file args.h.


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