clipp::parser::arg_mapping Class Reference

arg -> parameter mapping More...

#include <clipp.h>

Public Member Functions

 arg_mapping (arg_index idx, arg_string s, const dfs_traverser &match)
 
 arg_mapping (arg_index idx, arg_string s)
 
arg_index index () const noexcept
 
const arg_stringarg () const noexcept
 
const parameterparam () const noexcept
 
std::size_t repeat () const noexcept
 
bool blocked () const noexcept
 
bool conflict () const noexcept
 
bool bad_repeat () const noexcept
 
bool any_error () const noexcept
 

Friends

class parser
 

Detailed Description

arg -> parameter mapping

Definition at line 4186 of file clipp.h.

Constructor & Destructor Documentation

◆ arg_mapping() [1/2]

clipp::parser::arg_mapping::arg_mapping ( arg_index  idx,
arg_string  s,
const dfs_traverser match 
)
inlineexplicit

Definition at line 4191 of file clipp.h.

◆ arg_mapping() [2/2]

clipp::parser::arg_mapping::arg_mapping ( arg_index  idx,
arg_string  s 
)
inlineexplicit

Definition at line 4200 of file clipp.h.

Member Function Documentation

◆ any_error()

bool clipp::parser::arg_mapping::any_error ( ) const
inlinenoexcept

Definition at line 4225 of file clipp.h.

◆ arg()

const arg_string& clipp::parser::arg_mapping::arg ( ) const
inlinenoexcept

Definition at line 4207 of file clipp.h.

◆ bad_repeat()

bool clipp::parser::arg_mapping::bad_repeat ( ) const
inlinenoexcept

Definition at line 4219 of file clipp.h.

◆ blocked()

bool clipp::parser::arg_mapping::blocked ( ) const
inlinenoexcept

Definition at line 4216 of file clipp.h.

◆ conflict()

bool clipp::parser::arg_mapping::conflict ( ) const
inlinenoexcept

Definition at line 4217 of file clipp.h.

◆ index()

arg_index clipp::parser::arg_mapping::index ( ) const
inlinenoexcept

Definition at line 4206 of file clipp.h.

◆ param()

const parameter* clipp::parser::arg_mapping::param ( ) const
inlinenoexcept

Definition at line 4209 of file clipp.h.

◆ repeat()

std::size_t clipp::parser::arg_mapping::repeat ( ) const
inlinenoexcept

Definition at line 4214 of file clipp.h.

Friends And Related Function Documentation

◆ parser

friend class parser
friend

Definition at line 4188 of file clipp.h.


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