Elements 6.3.3
A C++ base framework for the Euclid Software.
|
#include <SimpleProgram.h>
Public Types | |
using | ExitCode = Elements::ExitCode |
using | Logging = Elements::Logging |
Public Member Functions | |
ExitCode | run (int argc, char **argv) noexcept |
const Path::Item & | getProgramPath () const |
const Path::Item & | getProgramName () const |
Protected Member Functions | |
SimpleProgram ()=default | |
virtual | ~SimpleProgram () |
virtual ExitCode | main ()=0 |
virtual void | defineOptions ()=0 |
Private Member Functions | |
void | setup (int argc, char **argv) |
Private Attributes | |
Path::Item | m_program_name |
Path::Item | m_program_path |
Definition at line 41 of file SimpleProgram.h.
Definition at line 44 of file SimpleProgram.h.
Definition at line 45 of file SimpleProgram.h.
|
protecteddefault |
References SimpleProgram().
Referenced by SimpleProgram().
|
protectedvirtual |
Definition at line 33 of file SimpleProgram.cpp.
|
protectedpure virtual |
const Path::Item & Elements::SimpleProgram::getProgramName | ( | ) | const |
Definition at line 71 of file SimpleProgram.cpp.
References m_program_name.
const Path::Item & Elements::SimpleProgram::getProgramPath | ( | ) | const |
Definition at line 67 of file SimpleProgram.cpp.
References m_program_path.
|
noexcept |
Definition at line 35 of file SimpleProgram.cpp.
References endl(), std::endl(), main(), Elements::NOT_OK, and setup().
|
private |
Definition at line 57 of file SimpleProgram.cpp.
References defineOptions(), ELEMENTS_UNUSED, m_program_name, and m_program_path.
Referenced by defineOptions(), and run().
|
private |
Definition at line 62 of file SimpleProgram.h.
Referenced by getProgramName(), and setup().
|
private |
Definition at line 63 of file SimpleProgram.h.
Referenced by getProgramPath(), and setup().