3.5.0
Freundlich's C++ toolkit
Public Member Functions
fcppt::options::missing_error Class Reference

Detailed Description

A string type representing a missing error.

A missing error is an error that occurs if a required argument or option has not been specified. Such an error makes fcppt::options::optional parsers return an empty optional.

Public Member Functions

FCPPT_OPTIONS_DETAIL_SYMBOL missing_error (fcppt::options::state &&, fcppt::string &&)
 
FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::options::statestate ()
 
FCPPT_OPTIONS_DETAIL_SYMBOL const fcppt::options::statestate () const
 
FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::stringerror ()
 
FCPPT_OPTIONS_DETAIL_SYMBOL const fcppt::stringerror () const
 

Constructor & Destructor Documentation

◆ missing_error()

FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::options::missing_error::missing_error ( fcppt::options::state &&  ,
fcppt::string &&   
)

Member Function Documentation

◆ error() [1/2]

FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::string& fcppt::options::missing_error::error ( )

◆ error() [2/2]

FCPPT_OPTIONS_DETAIL_SYMBOL const fcppt::string& fcppt::options::missing_error::error ( ) const

◆ state() [1/2]

FCPPT_OPTIONS_DETAIL_SYMBOL fcppt::options::state& fcppt::options::missing_error::state ( )

◆ state() [2/2]

FCPPT_OPTIONS_DETAIL_SYMBOL const fcppt::options::state& fcppt::options::missing_error::state ( ) const