Elements
6.2
A C++ base framework for the Euclid Software.
ElementsKernel
src
Lib
Program.cpp
Go to the documentation of this file.
1
22
#include "
ElementsKernel/Program.h
"
23
24
#include <utility>
// for pair
25
26
namespace
Elements
{
27
28
using
OptionsDescription
=
Program::OptionsDescription
;
29
using
PositionalOptionsDescription
=
Program::PositionalOptionsDescription
;
30
31
OptionsDescription
Program::defineSpecificProgramOptions
() {
32
OptionsDescription
config_desc(
""
);
33
return
config_desc;
34
}
35
36
std::pair<OptionsDescription, PositionalOptionsDescription>
Program::defineProgramArguments
() {
37
OptionsDescription
desc(
""
);
38
PositionalOptionsDescription
pos_desc;
39
40
return
std::make_pair
(desc, pos_desc);
41
}
42
43
Program::~Program
() =
default
;
44
45
}
// namespace Elements
Elements::PositionalOptionsDescription
Program::PositionalOptionsDescription PositionalOptionsDescription
Definition:
Program.cpp:29
std::pair
Elements::Program::OptionsDescription
options_description OptionsDescription
Definition:
Program.h:62
Elements::Program::PositionalOptionsDescription
positional_options_description PositionalOptionsDescription
Definition:
Program.h:63
Elements::Program::~Program
virtual ~Program()
Destructor.
Elements::OptionsDescription
Program::OptionsDescription OptionsDescription
Definition:
Program.cpp:28
std::make_pair
T make_pair(T... args)
Elements::Program::defineSpecificProgramOptions
virtual OptionsDescription defineSpecificProgramOptions()
This methods must be used to define specific program options.
Definition:
Program.cpp:31
Program.h
define an abstract class for all Elements program
Elements::Program::defineProgramArguments
virtual std::pair< OptionsDescription, PositionalOptionsDescription > defineProgramArguments()
This methods must be used to the program arguments.
Definition:
Program.cpp:36
Elements
Definition:
callBackExample.h:35
Generated by
1.8.17