#include <R3BNeulandApp.h>
Definition at line 32 of file R3BNeulandApp.h.
◆ CLIApplication() [1/3]
R3B::Neuland::CLIApplication::CLIApplication |
( |
std::string_view | name, |
|
|
std::unique_ptr< FairRun > | run, |
|
|
std::reference_wrapper< Options > | option ) |
|
explicit |
◆ CLIApplication() [2/3]
R3B::Neuland::CLIApplication::CLIApplication |
( |
const CLIApplication & | | ) |
|
|
delete |
◆ CLIApplication() [3/3]
◆ ~CLIApplication()
R3B::Neuland::CLIApplication::~CLIApplication |
( |
| ) |
|
|
override |
◆ add_inout_files()
void R3B::Neuland::CLIApplication::add_inout_files |
( |
| ) |
|
|
private |
◆ add_inout_pars()
void R3B::Neuland::CLIApplication::add_inout_pars |
( |
| ) |
|
|
private |
◆ add_input_filename()
void R3B::Neuland::CLIApplication::add_input_filename |
( |
R3BFileSource2 * | filesource | ) |
|
|
private |
◆ dump_json_options() [1/2]
template<typename OptionType>
void R3B::Neuland::CLIApplication::dump_json_options |
( |
const OptionType & | options, |
|
|
const std::string & | filename ) |
◆ dump_json_options() [2/2]
virtual void R3B::Neuland::CLIApplication::dump_json_options |
( |
const std::string & | filename | ) |
|
|
inlineprivatevirtual |
◆ dump_options()
void R3B::Neuland::CLIApplication::dump_options |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ extract_input_files()
void R3B::Neuland::CLIApplication::extract_input_files |
( |
| ) |
|
|
private |
◆ get_run()
auto R3B::Neuland::CLIApplication::get_run |
( |
| ) |
-> FairRun* |
|
inline |
◆ has_dump()
auto R3B::Neuland::CLIApplication::has_dump |
( |
| ) |
const -> bool |
|
inlinenodiscardoverrideprivatevirtual |
◆ has_mpi()
auto R3B::Neuland::CLIApplication::has_mpi |
( |
| ) |
-> bool |
|
inline |
◆ has_print_default_options()
auto R3B::Neuland::CLIApplication::has_print_default_options |
( |
| ) |
const -> bool |
|
inlinenodiscardoverrideprivatevirtual |
◆ init()
void R3B::Neuland::CLIApplication::init |
( |
| ) |
|
|
overrideprivatevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ParseApplicationOption()
virtual void R3B::Neuland::CLIApplication::ParseApplicationOption |
( |
const std::vector< std::string > & | filename_or_option | ) |
|
|
privatepure virtual |
◆ ParseApplicationOptionImp()
template<typename OptionType>
void R3B::Neuland::CLIApplication::ParseApplicationOptionImp |
( |
const std::vector< std::string > & | filename, |
|
|
OptionType & | options ) |
|
protected |
◆ patch_files_or_strings()
void R3B::Neuland::CLIApplication::patch_files_or_strings |
( |
nlohmann::ordered_json & | json_obj, |
|
|
const std::vector< std::string > & | filenames_or_options ) |
|
staticprivate |
◆ post_init()
virtual void R3B::Neuland::CLIApplication::post_init |
( |
FairRun * | run | ) |
|
|
inlineprivatevirtual |
◆ post_parse()
void R3B::Neuland::CLIApplication::post_parse |
( |
| ) |
|
|
overrideprivatevirtual |
◆ pre_init()
virtual void R3B::Neuland::CLIApplication::pre_init |
( |
FairRun * | run | ) |
|
|
privatepure virtual |
◆ print_json_options() [1/2]
virtual void R3B::Neuland::CLIApplication::print_json_options |
( |
| ) |
|
|
inlineprivatevirtual |
◆ print_json_options() [2/2]
template<typename OptionType>
void R3B::Neuland::CLIApplication::print_json_options |
( |
const OptionType & | options | ) |
|
◆ print_options()
void R3B::Neuland::CLIApplication::print_options |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ run()
void R3B::Neuland::CLIApplication::run |
( |
| ) |
|
|
overrideprivatevirtual |
◆ run_action()
void R3B::Neuland::CLIApplication::run_action |
( |
FairRun * | run, |
|
|
int | num_of_events ) |
|
privatevirtual |
◆ set_event_num()
void R3B::Neuland::CLIApplication::set_event_num |
( |
int | val | ) |
|
|
inline |
◆ set_input_filename()
void R3B::Neuland::CLIApplication::set_input_filename |
( |
const std::vector< std::string > & | input_filename | ) |
|
|
inline |
◆ set_inputpar_filename()
void R3B::Neuland::CLIApplication::set_inputpar_filename |
( |
std::string_view | inputpar_filename | ) |
|
|
inline |
◆ set_log_level()
void R3B::Neuland::CLIApplication::set_log_level |
( |
std::string_view | log_level | ) |
|
|
inline |
◆ set_num_of_procs()
void R3B::Neuland::CLIApplication::set_num_of_procs |
( |
int | val | ) |
|
|
inlineoverrideprivatevirtual |
◆ set_output_filename()
void R3B::Neuland::CLIApplication::set_output_filename |
( |
std::string_view | output_filename | ) |
|
|
inline |
◆ set_outputpar_filename()
void R3B::Neuland::CLIApplication::set_outputpar_filename |
( |
std::string_view | outputpar_filename | ) |
|
|
inline |
◆ set_rank_num()
void R3B::Neuland::CLIApplication::set_rank_num |
( |
int | val | ) |
|
|
inlineoverrideprivatevirtual |
◆ set_run_id()
void R3B::Neuland::CLIApplication::set_run_id |
( |
int | run_id | ) |
|
|
inline |
◆ set_second_inputpar_filename()
void R3B::Neuland::CLIApplication::set_second_inputpar_filename |
( |
std::string_view | inputpar_filename | ) |
|
|
inline |
◆ set_tree_input_filename()
void R3B::Neuland::CLIApplication::set_tree_input_filename |
( |
const std::vector< std::string > & | input_filename | ) |
|
|
inline |
◆ setup_application_options()
virtual void R3B::Neuland::CLIApplication::setup_application_options |
( |
CLI::App & | program_options | ) |
|
|
inlineprivatevirtual |
◆ setup_common_options() [1/2]
void R3B::Neuland::CLIApplication::setup_common_options |
( |
CLI::App & | program_options | ) |
|
|
private |
◆ setup_common_options() [2/2]
template<typename CLIAPP, typename OptionType>
void R3B::Neuland::CLIApplication::setup_common_options |
( |
CLIAPP & | program_options, |
|
|
OptionType & | options ) |
◆ setup_logger()
void R3B::Neuland::CLIApplication::setup_logger |
( |
| ) |
|
|
staticprivate |
◆ setup_options()
void R3B::Neuland::CLIApplication::setup_options |
( |
CLI::App & | program_options | ) |
|
|
overrideprivatevirtual |
◆ app_name_
std::string R3B::Neuland::CLIApplication::app_name_ |
|
private |
◆ dump_json_filename_
std::string R3B::Neuland::CLIApplication::dump_json_filename_ |
|
private |
◆ has_print_default_options_
bool R3B::Neuland::CLIApplication::has_print_default_options_ = false |
|
private |
◆ input_files_
std::vector<std::pair<std::string, bool> > R3B::Neuland::CLIApplication::input_files_ |
|
private |
◆ is_already_parsed_
bool R3B::Neuland::CLIApplication::is_already_parsed_ = false |
|
private |
◆ is_dump_
bool R3B::Neuland::CLIApplication::is_dump_ = false |
|
private |
◆ num_of_procs_
int R3B::Neuland::CLIApplication::num_of_procs_ = 0 |
|
private |
◆ option_
std::reference_wrapper<Options> R3B::Neuland::CLIApplication::option_ |
|
private |
◆ rank_num_
int R3B::Neuland::CLIApplication::rank_num_ = 0 |
|
private |
◆ run_
std::unique_ptr<FairRun> R3B::Neuland::CLIApplication::run_ |
|
private |
◆ timer_
TStopwatch R3B::Neuland::CLIApplication::timer_ |
|
private |
The documentation for this class was generated from the following files: