dune-common 2.9.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Dune::HelpRequest Class Reference

exception thrown if the user wants to see help string More...

#include <dune/common/parametertreeparser.hh>

Inheritance diagram for Dune::HelpRequest:
Inheritance graph

Public Member Functions

void message (const std::string &msg)
 store string in internal message buffer
 
const char * what () const noexcept override
 output internal message buffer
 

Static Public Member Functions

static void registerHook (ExceptionHook *hook)
 add a functor which is called before a Dune::Exception is emitted (see Dune::ExceptionHook)
 
static void clearHook ()
 remove all hooks
 

Detailed Description

exception thrown if the user wants to see help string

this exception is only thrown if the command line parameters contain an option –help or -h


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