27 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_PROGRAM_H_
28 #define ELEMENTSKERNEL_ELEMENTSKERNEL_PROGRAM_H_
35 #include <boost/program_options.hpp>
define a list of standard exit codes for executables
defines the macros to be used for explicit export of the symbols
Logging API of the Elements framework.
Abstract class for all Elements programs.
options_description OptionsDescription
boost::program_options::options_description options_description
boost::program_options::positional_options_description positional_options_description
boost::program_options::variables_map variables_map
variable_value VariableValue
positional_options_description PositionalOptionsDescription
virtual ExitCode mainMethod(std::map< std::string, VariableValue > &args)=0
This is the "main" method of all Elements programs.
Program()=default
Constructor.
virtual ~Program()
Destructor.
variables_map VariablesMap
boost::program_options::variable_value variable_value
ExitCode
Strongly typed exit numbers.
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.