Elements
6.2
A C++ base framework for the Euclid Software.
|
Public Member Functions | |
ExitCode | mainMethod (map< string, VariableValue > &) override |
This is the "main" method of all Elements programs. More... | |
Public Member Functions inherited from Elements::Examples::Program | |
OptionsDescription | defineSpecificProgramOptions () override |
Allows to define the (command line and configuration file) options specific to this program. More... | |
ExitCode | mainMethod (map< string, VariableValue > &args) override |
The "main" method. More... | |
Public Member Functions inherited from Elements::Program | |
Program ()=default | |
Constructor. More... | |
virtual | ~Program () |
Destructor. More... | |
virtual std::pair< OptionsDescription, PositionalOptionsDescription > | defineProgramArguments () |
This methods must be used to the program arguments. More... | |
Static Private Member Functions | |
static size_t | mandelbrotCalculate (const complex c, const size_t maxiter) |
Additional Inherited Members | |
Public Types inherited from Elements::Program | |
using | options_description = boost::program_options::options_description |
using | positional_options_description = boost::program_options::positional_options_description |
using | variable_value = boost::program_options::variable_value |
using | variables_map = boost::program_options::variables_map |
using | OptionsDescription = options_description |
using | PositionalOptionsDescription = positional_options_description |
using | VariableValue = variable_value |
using | VariablesMap = variables_map |
using | ExitCode = Elements::ExitCode |
using | Logging = Elements::Logging |
Definition at line 40 of file OpenMP.cpp.
|
inlineoverridevirtual |
This is the "main" method of all Elements programs.
This is the second method that must be implemented by all Elements programs. It represents the entry point.
args | A map containing the values given by the user for the program options defined by the defineSpecificProgramOptions() method |
Implements Elements::Program.
Definition at line 43 of file OpenMP.cpp.
References Elements::Examples::CHARSET, Elements::Logging::getLogger(), std::complex::imag(), Elements::Examples::log, mandelbrotCalculate(), Elements::OK, std::putchar(), std::puts(), and std::complex::real().
|
inlinestaticprivate |
Definition at line 88 of file OpenMP.cpp.
Referenced by mainMethod().