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