6 #ifndef COMMAND_LINE_OPTIONS_HPP_ 7 #define COMMAND_LINE_OPTIONS_HPP_ 10 #include "boost/program_options/options_description.hpp" 11 #include "boost/program_options/variables_map.hpp" 12 #include "boost/property_tree/ptree.hpp" 21 BOOST_STATIC_CONSTANT(std::size_t, unset = static_cast<std::size_t>(-1));
25 static std::ostream& print_version(std::ostream& os);
26 static std::ostream& print_info(std::ostream& os);
27 static std::ostream& print_usage(std::ostream& os);
32 max_file_reads_(unset),
41 bool is_help()
const {
return help_.size();}
42 std::string
const&
help_opt()
const {
return help_;}
45 std::ostream& print_help(std::ostream& os)
const;
49 std::vector<std::string>
const&
config_files()
const {
return config_fn_;}
52 config_fn_.push_back(config_fn);
59 boost::program_options::options_description
od_;
bool args_provided_
Definition: command_line_options.hpp:69
Definition: command_line_options.hpp:23
void add_config_file(std::string const &config_fn)
Definition: command_line_options.hpp:51
Command_line_options()
Definition: command_line_options.hpp:29
std::vector< std::string > const & config_files() const
Definition: command_line_options.hpp:49
Definition: command_line_options.hpp:20
std::size_t max_reads_
Definition: command_line_options.hpp:65
std::size_t max_file_reads() const
Definition: command_line_options.hpp:47
bool args_provided() const
Definition: command_line_options.hpp:44
bool no_stamp_
Definition: command_line_options.hpp:68
std::string help_
Definition: command_line_options.hpp:64
Main namespace of vdj_pipe library.
Definition: keywords_variable.hpp:11
#define VDJ_PIPE_DECL
Definition: config.hpp:23
bool is_help() const
Definition: command_line_options.hpp:41
boost::program_options::options_description od_
Definition: command_line_options.hpp:59
Definition: exception.hpp:23
std::size_t max_reads() const
Definition: command_line_options.hpp:46
std::size_t max_file_reads_
Definition: command_line_options.hpp:66
std::string const & help_opt() const
Definition: command_line_options.hpp:42
std::vector< std::string > config_fn_
Definition: command_line_options.hpp:62
bool version_
Definition: command_line_options.hpp:67
std::string in_path_
Definition: command_line_options.hpp:61
void set_path_output(std::string const &out_path)
Definition: command_line_options.hpp:56
std::string out_path_
Definition: command_line_options.hpp:60
std::vector< std::string > input_csv_
Definition: command_line_options.hpp:63
void set_path_input(std::string const &in_path)
Definition: command_line_options.hpp:55
bpt::ptree ptree
Definition: processing_step_utils.hpp:19
bool version() const
Definition: command_line_options.hpp:43