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