46 cerr <<
"Exception has been thrown : " << e.
what() << endl;
49 cerr <<
"An unknown exception has been thrown"<< endl;
ExitCode
Strongly typed exit numbers.
Macro to silence unused variables warnings from the compiler.
ELEMENTS_API ExitCode run(int argc, char **argv) noexcept
constexpr double e
The base of the natural logarithm .
ELEMENTS_API const Path::Item & getProgramPath() const
void setup(int argc, char **argv)
Path::Item m_program_name
boost::filesystem::path Item
ELEMENTS_API const Path::Item & getProgramName() const
define a list of standard exit codes for executables
Path::Item m_program_path
provide functions to retrieve resources pointed by environment variables
virtual void defineOptions()=0