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