vdj_pipe
pipeline for processing DNA sequence data
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
vdj_pipe::Command_line_options Class Reference

#include <command_line_options.hpp>

Collaboration diagram for vdj_pipe::Command_line_options:
Collaboration graph
[legend]

Classes

struct  Err
 

Public Member Functions

 Command_line_options ()
 
 Command_line_options (int argc, char *argv[])
 
bool is_help () const
 
std::string const & help_opt () const
 
bool version () const
 
bool args_provided () const
 
std::ostream & print_help (std::ostream &os) const
 
std::size_t max_reads () const
 
std::size_t max_file_reads () const
 
boost::property_tree::ptree tree () const
 
std::vector< std::string > const & config_files () const
 
void add_config_file (std::string const &config_fn)
 
void set_path_input (std::string const &in_path)
 
void set_path_output (std::string const &out_path)
 

Static Public Member Functions

static std::ostream & print_version (std::ostream &os)
 
static std::ostream & print_info (std::ostream &os)
 
static std::ostream & print_usage (std::ostream &os)
 

Private Member Functions

 BOOST_STATIC_CONSTANT (std::size_t, unset=static_cast< std::size_t >(-1))
 
void init_options ()
 
boost::property_tree::ptree options_to_tree () const
 

Private Attributes

boost::program_options::options_description od_
 
std::string out_path_
 
std::string in_path_
 
std::vector< std::string > config_fn_
 
std::vector< std::string > input_csv_
 
std::string help_
 
std::size_t max_reads_
 
std::size_t max_file_reads_
 
bool version_
 
bool no_stamp_
 
bool args_provided_
 

Constructor & Destructor Documentation

vdj_pipe::Command_line_options::Command_line_options ( )
inline
vdj_pipe::Command_line_options::Command_line_options ( int  argc,
char *  argv[] 
)

Member Function Documentation

void vdj_pipe::Command_line_options::add_config_file ( std::string const &  config_fn)
inline
bool vdj_pipe::Command_line_options::args_provided ( ) const
inline
vdj_pipe::Command_line_options::BOOST_STATIC_CONSTANT ( std::size_t  ,
unset  = static_cast< std::size_t >(-1) 
)
private
std::vector<std::string> const& vdj_pipe::Command_line_options::config_files ( ) const
inline
std::string const& vdj_pipe::Command_line_options::help_opt ( ) const
inline
void vdj_pipe::Command_line_options::init_options ( )
private
bool vdj_pipe::Command_line_options::is_help ( ) const
inline
std::size_t vdj_pipe::Command_line_options::max_file_reads ( ) const
inline
std::size_t vdj_pipe::Command_line_options::max_reads ( ) const
inline
bpt::ptree vdj_pipe::Command_line_options::options_to_tree ( ) const
private
std::ostream & vdj_pipe::Command_line_options::print_help ( std::ostream &  os) const
std::ostream & vdj_pipe::Command_line_options::print_info ( std::ostream &  os)
static
std::ostream & vdj_pipe::Command_line_options::print_usage ( std::ostream &  os)
static
std::ostream & vdj_pipe::Command_line_options::print_version ( std::ostream &  os)
static
void vdj_pipe::Command_line_options::set_path_input ( std::string const &  in_path)
inline
void vdj_pipe::Command_line_options::set_path_output ( std::string const &  out_path)
inline
bpt::ptree vdj_pipe::Command_line_options::tree ( ) const
bool vdj_pipe::Command_line_options::version ( ) const
inline

Member Data Documentation

bool vdj_pipe::Command_line_options::args_provided_
private
std::vector<std::string> vdj_pipe::Command_line_options::config_fn_
private
std::string vdj_pipe::Command_line_options::help_
private
std::string vdj_pipe::Command_line_options::in_path_
private
std::vector<std::string> vdj_pipe::Command_line_options::input_csv_
private
std::size_t vdj_pipe::Command_line_options::max_file_reads_
private
std::size_t vdj_pipe::Command_line_options::max_reads_
private
bool vdj_pipe::Command_line_options::no_stamp_
private
boost::program_options::options_description vdj_pipe::Command_line_options::od_
private
std::string vdj_pipe::Command_line_options::out_path_
private
bool vdj_pipe::Command_line_options::version_
private

The documentation for this class was generated from the following files: