4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::options::state Class Reference

Detailed Description

A parse state.

A state contains a list of unconsumed arguments.

Public Member Functions

FCPPT_OPTIONS_DETAIL_SYMBOL state (fcppt::args_vector &&)
 
FCPPT_OPTIONS_DETAIL_SYMBOL bool empty () const
 
FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::args_vectorargs ()
 
FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::args_vector const & args () const
 

Constructor & Destructor Documentation

◆ state()

FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::options::state::state ( fcppt::args_vector && )
explicit

Member Function Documentation

◆ args() [1/2]

FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::args_vector & fcppt::options::state::args ( )
nodiscard

◆ args() [2/2]

FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::args_vector const & fcppt::options::state::args ( ) const
nodiscard

◆ empty()

FCPPT_OPTIONS_DETAIL_SYMBOL bool fcppt::options::state::empty ( ) const
nodiscard